Bolt hole circle coordinates by hand
Holes on a pitch circle diameter (PCD) are on almost every flange. With a calculator and two formulas you can work out every hole position, and check a CAM program or a macro.
The formulas
step = 360 ÷ number of holes angle = start angle + n × step X = cx + R × cos(angle) Y = cy + R × sin(angle) R = PCD ÷ 2, (cx, cy) = centre
Angles are measured counter-clockwise from the +X axis. If the drawing measures them from another axis or clockwise, convert first.

Example: 8 holes on Ø100, centre at X0 Y0, first hole at 0°
| Hole | Angle | X | Y |
|---|---|---|---|
| 1 | 0° | 50.000 | 0.000 |
| 2 | 45° | 35.355 | 35.355 |
| 3 | 90° | 0.000 | 50.000 |
| 4 | 135° | −35.355 | 35.355 |
| 5 | 180° | −50.000 | 0.000 |
| 6 | 225° | −35.355 | −35.355 |
| 7 | 270° | 0.000 | −50.000 |
| 8 | 315° | 35.355 | −35.355 |
Half-angle start
Many drawings have the holes "straddling" the axis: the first hole at half a step, for example 22.5° for 8 holes. Then hole 1 is X = 50 × cos 22.5° = 46.194, Y = 50 × sin 22.5° = 19.134.
Checking your numbers
- Every hole must be exactly R from the centre: √(X² + Y²) = R.
- The distance between neighbouring holes is the same: chord = 2 × R × sin(step ÷ 2) = 38.268 for 8 holes on Ø100.
- The table is symmetric: the same numbers appear with different signs.
Program it once
If you drill bolt circles often, a macro saves the work every time: see Macro B bolt hole circle. Many controls also have a bolt hole pattern in their conversational or canned cycles.
Common mistakes
- Calculator in radians.
- Using the PCD instead of the radius.
- Forgetting to add the centre position when the circle is not at X0 Y0.
- Rounding to two decimals: 35.36 instead of 35.355.
Check position tolerances with the method in position tolerance basics.
Calculators, process sheet to program, simulation, codes and lessons. Free to start, no sign-in, on phone and laptop.
Open the app

