Master CNC
Blog · 5 min read · 26 Oct 2026

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.

8 holes on a 100 mm pitch circle: X = R cos, Y = R sin, 45 degree steps
Two formulas give every hole.

Example: 8 holes on Ø100, centre at X0 Y0, first hole at 0°

HoleAngleXY
10°50.0000.000
245°35.35535.355
390°0.00050.000
4135°−35.35535.355
5180°−50.0000.000
6225°−35.355−35.355
7270°0.000−50.000
8315°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

  1. Calculator in radians.
  2. Using the PCD instead of the radius.
  3. Forgetting to add the centre position when the circle is not at X0 Y0.
  4. Rounding to two decimals: 35.36 instead of 35.355.

Check position tolerances with the method in position tolerance basics.

Try it in Master CNC

Calculators, process sheet to program, simulation, codes and lessons. Free to start, no sign-in, on phone and laptop.

Open the app