CNC Machining Bolt Circle Calculator
Created by: Ethan Brooks
Last updated:
Calculate ordered X and Y coordinates for evenly spaced holes from a center point, pitch-circle diameter, start angle and direction.
CNC Machining Bolt Circle Calculator
CNC MachiningGenerate ordered Cartesian coordinates for evenly spaced holes around a defined pitch circle.
What is a CNC machining bolt circle calculator?
A CNC machining bolt circle calculator generates nominal X and Y coordinates for equally spaced hole centers on a pitch circle. The user defines circle center, pitch-circle diameter, whole hole count, first-hole angle and ordering direction. The result lists each hole in order with its normalized angle and Cartesian coordinates.
The coordinate convention is explicit: zero degrees points along positive X at three o’clock, 90 degrees points along positive Y, and counterclockwise angles are positive. Clockwise ordering subtracts the equal angular step. This matches the cited Haas bolt-circle convention while keeping the output controller-neutral.
The page does not emit G-code. Coordinates alone do not identify units mode, work offset, absolute or incremental programming, drilling cycle, safe Z, tool, fixture or control syntax. Keeping geometry separate makes the table useful for checking CAM or a drawing without pretending it is a reviewed machine program.
How bolt circle coordinates are calculated
Pitch-circle diameter is divided by two to obtain radius. Angular spacing equals 360 degrees divided by the whole hole count. Starting with index zero, the calculator adds spacing for counterclockwise order or subtracts it for clockwise order.
Each hole angle is converted from degrees to radians for the trigonometric functions. Radius times cosine is the X offset and radius times sine is the Y offset. Adding the entered center coordinates translates the pattern without changing its size, spacing or orientation.
Angles are normalized to a readable 0-to-360-degree range and coordinates are rounded only for output. The input model permits any finite center and start angle, requires positive PCD and restricts the whole hole count to 1–360 to keep the displayed table practical.
Worked examples
Four holes on 20 mm PCD: At center X10 Y20 and start angle 0 degrees, radius is 10 mm and spacing is 90 degrees. Counterclockwise coordinates are (20,20), (10,30), (0,20) and (10,10).
Six holes on 100 mm PCD: Radius is 50 mm and spacing is 60 degrees. With a 30-degree start, the first offset is approximately X43.3013 Y25. Subsequent counterclockwise points advance by 60 degrees around the same center.
Clockwise ordering: For four holes centered at zero with a zero-degree start, the second clockwise hole lies at negative Y rather than positive Y. The physical set of four points is identical; only their listed order changes.
Practical applications
- Create a nominal coordinate table for a drawing review.
- Cross-check a CAM pattern center, diameter and start angle.
- Compare clockwise and counterclockwise hole ordering.
- Translate a pattern to a nonzero work-coordinate center.
- Verify angular spacing for any whole hole count.
- Document controller-neutral geometry before programming.
Measurement and verification tips
Confirm whether the drawing specifies pitch-circle diameter, bolt-circle diameter or radius, and ensure it passes through hole centers. Identify the start-angle reference and viewing direction. A mirrored setup can reverse apparent rotation, so relate +X and +Y to the actual work coordinate system.
Round only after comparing required coordinate precision with drawing tolerance and control resolution. Check fixture orientation, work offsets, units and absolute/incremental state in the real program. Simulate the pattern and verify the first hole and center before running the full cycle.
Keep the calculator record with the drawing revision, units, input source and rounding rule. Recheck the result after any change to the tool, stock, setup, work offset, CAM strategy or inspection method. A correct equation can still be applied to the wrong reference feature, so identify the physical planes, axes and dimensions before transferring a number to a setup sheet.
Before machining, review workholding, rigidity, holder projection, runout, tool condition, coolant or lubrication, chip evacuation, machine travel and control behavior where they affect the operation. Prove out through the shop’s approved process and inspect the resulting feature. The calculator documents nominal arithmetic; it cannot observe the machine, material, tool or part.
Frequently asked questions
Where is zero degrees on the bolt circle?
Zero degrees lies on the positive X axis at three o’clock, matching the Haas workbook convention cited for its bolt-hole circle command. Ninety degrees lies on positive Y. The selected direction controls only the ordering and sign of angle increments from the first hole.
Does PCD mean radius or diameter?
PCD means pitch-circle diameter: the diameter of the circle passing through all hole centers. The calculator divides it by two to obtain radius. Entering a radius in that field would double the intended coordinate offsets.
How is angular spacing calculated?
A full 360 degrees is divided by the whole hole count. Hole index zero uses the start angle; each following hole adds the spacing counterclockwise or subtracts it clockwise. Display angles are normalized into the range from zero up to, but not including, 360 degrees.
Can the coordinates be pasted directly into G-code?
No. The output is a geometry table rather than machine-ready code. It contains no work-offset selection, absolute/incremental mode, units command, drilling cycle, safe plane, tool, compensation or machine checks. Transfer values through the shop’s reviewed programming and simulation process.
What if the circle center is not X0 Y0?
Enter the actual center coordinates in the same coordinate system intended for the table. The calculated cosine and sine offsets are added to those values. Confirm that the drawing datum and CNC work offset describe the same origin and axis direction.
Why are tiny values sometimes displayed as zero?
Cosine and sine at cardinal angles can produce tiny floating-point remnants. The model rounds coordinate output to nine decimal places, so values that are mathematically zero display as zero. Choose final program precision according to the drawing, control and shop standard.
Does the calculator account for hole position tolerance?
No. It provides nominal basic coordinates only. Position tolerance, datum references, feature size, pattern-location controls and inspection strategy remain on the drawing and in the applicable specification. Nominal coordinates do not determine acceptance boundaries.
Sources and references
- Haas Automation: Mill Programming Workbook. G70 bolt hole circle, page 99. Defines bolt-circle center, radius, first-hole angle from three o’clock, counterclockwise positive angles and whole hole count. Accessed 2026-09-21.
- NIST: NIST Guide to the SI, Appendix B.9. Length conversion factors. Defines the exact international inch conversion used to keep metric and US calculations equivalent. Accessed 2026-09-21.