Need the X and Y coordinates of the holes in a bolt circle? Enter the bolt circle diameter, the number of holes, the angle of the first hole, and the center of the circle. This free bolt circle calculator gives you the coordinates of every hole, a scaled drawing to check against your print, the spacing between holes, and G-code to drill them:
Bolt Circle Calculator
| Hole | X | Y |
|---|---|---|
| 1 | 2.0000 | 0.0000 |
Hole-to-hole spacing: 2.0000
Angles are measured from the +X axis. Use the same units (inch or mm) for every field. X = center X + radius × cos(angle); Y = center Y + radius × sin(angle), with the holes spaced 360 ÷ holes degrees apart.
You can figure this all out with pencil, paper, and trig, but why bother when a calculator can do the work for you?
But wait, I'd be remiss if I didn't fill you in on some other useful tips for bolt circles:
Finding the Bolt Circle Diameter
Doing a little reverse engineering and wondering how to find the diameter of an existing bolt circle? You can figure it out by using Chord Math:
BoltCircleDiameter = HoleCenterDistance / sin( 180 / NumberOfHoles )
The distance between the centers of two neighboring holes is a chord of the bolt circle. For example, if you measure 2" between neighboring hole centers on an 8 hole bolt circle, the diameter is 2 / sin(180 / 8) = 2 / sin(22.5) = 5.2263", a radius of 2.6131". The calculator above works it the other way: its "hole-to-hole spacing" is the chord for the diameter you entered.
Even Easier Diameter, But Only With An Even Number of Bolts
With an even number of bolts, pick any two holes opposite each other and the distance between their centers is always the diameter of the bolt circle, no bolt circle calculator needed. This only works for an even number of holes.
Generating Bolt Circle G-code
Making holes is probably the most common operation there is in CNC. The calculator above writes a G81 drilling cycle that visits every hole: set the Z depth, R plane, and feed rate for your job, or change G81 to G83 for peck drilling. Some controls also have a built-in bolt hole circle cycle, and G15/G16 polar coordinates are another way to program a bolt circle. To check the program before you run it, open it in CutViewer.
Be the first to know about updates at CNC Cookbook
Join our newsletter to get updates on what's next at CNC Cookbook.