Home / Articles / How to calculate bolt hole coordinates on a PCD
How to calculate · 2D drafting

How to calculate bolt hole coordinates on a PCD

7 min read · updated 8 Nov 2026

Bolt holes on a flange, wheel or cover plate are usually spaced evenly around a bolt circle (PCD — Pitch Circle Diameter). To draw them, or to feed a CNC, you need the X,Y coordinate of each hole, and that comes from simple trigonometry: X = R·cos θ, Y = R·sin θ. This guide explains how to find each hole's angle, works through 4, 6 and 8-hole flange examples, and shows how to key the coordinates into DXCAD2D exactly.

The idea: radius and the angle of each hole

A bolt circle has diameter PCD, so its radius is R = PCD ÷ 2. Put the circle centre at (0,0); a hole at angle θ (measured anticlockwise from the X axis) sits at

Core formula: X = R · cos θ  ·  Y = R · sin θ   where R = PCD ÷ 2 and θ is that hole's angle.

With N holes equally spaced, the angle between neighbours is 360° ÷ N. The angle of the i-th hole (counting from i = 1) is therefore

Angle of hole i: θi = θstart + (i − 1) × (360° ÷ N)
θstart is the first hole's angle — e.g. 0° (3 o'clock), 90° (top), or a half-step so the holes straddle the centreline.
θ R PCD = 2R Hole at angle θ: X = R·cos θ Y = R·sin θ
Every hole sits on the bolt circle of radius R = PCD ÷ 2 · a hole at angle θ is at X = R·cos θ, Y = R·sin θ.

Example 1: a 4-hole flange straddling the centreline

Four-hole flanges usually straddle the centreline (no hole lands exactly on an axis), so the first hole starts at 45°. Take PCD = 100 mm → R = 50 mm, N = 4, step = 360 ÷ 4 = 90°.

HoleAngle θX = 50·cos θY = 50·sin θ
145°+35.355+35.355
2135°−35.355+35.355
3225°−35.355−35.355
4315°+35.355−35.355

All four holes share the same magnitude (35.355) because cos 45° = sin 45° = 0.7071 and 50 × 0.7071 = 35.355 — only the +/− signs change with the quadrant.

Example 2: a 6-hole flange starting at the top

PCD = 120 mm → R = 60 mm, N = 6, step = 360 ÷ 6 = 60°, first hole at 90° (top).

HoleAngle θX = 60·cos θY = 60·sin θ
190°0+60
2150°−51.962+30
3210°−51.962−30
4270°0−60
5330°+51.962−30
630°+51.962+30

51.962 is 60 × cos 30° = 60 × 0.86603, and 30 is 60 × sin 30° = 60 × 0.5. Hole 6 wraps to 390°, which is the same as 30° (390 − 360).

Try it right now — a free 2D CAD in your browser. Nothing to install, no sign-up.

Open DXCAD2D Online

Example 3: an 8-hole flange starting at 3 o'clock

PCD = 160 mm → R = 80 mm, N = 8, step = 360 ÷ 8 = 45°, first hole at 0°.

HoleAngle θX = 80·cos θY = 80·sin θ
10°+800
245°+56.569+56.569
390°0+80
4135°−56.569+56.569
5180°−800
6225°−56.569−56.569
7270°0−80
8315°+56.569−56.569
If the flange centre is not at (0,0): add the centre coordinates, so X = Xcentre + R·cos θ and Y = Ycentre + R·sin θ. For a centre at (200,150), add 200 to every X and 150 to every Y.

Drawing it in DXCAD2D

  1. Work out every hole coordinate from the formula above (or build a table in a spreadsheet: an angle column, then =R*COS(RADIANS(angle)) and =R*SIN(RADIANS(angle))).
  2. Draw the PCD circle for reference: press C, centre at 0,0, radius R.
  3. Draw each hole: press C, type the hole-centre coordinate such as 35.355,35.355, then the hole radius (half the hole diameter).
  4. If the pattern is symmetric, use a circular array to repeat the first hole around the centre instead of typing every one.
  5. Check with M: measure the distance between two neighbouring holes (the chord) against chord = PCD · sin(180° ÷ N).

For 6 holes on PCD 120: chord = 120 × sin 30° = 120 × 0.5 = 60 mm exactly. If your measurement matches, the coordinates are right.

Frequently asked questions

What is a PCD

PCD (Pitch Circle Diameter) is the diameter of the imaginary circle that passes through the centre of every bolt hole. Its radius, R = PCD ÷ 2, is what the coordinate formula uses.

How do I calculate bolt hole coordinates on a circle

Use X = R·cos θ and Y = R·sin θ, with R = PCD ÷ 2 and θ the hole angle. For N equally spaced holes the angle between holes is 360° ÷ N.

What are the coordinates of a 4-hole PCD 100 flange

Starting at 45° (straddling the centreline) the four holes are at (±35.355, ±35.355), because 50 × cos 45° = 35.355 mm.

Where should the first bolt hole start

It depends on the drawing. Straddle patterns (a half-step start, e.g. 45° for four holes) are common on pipe flanges, while on-axis patterns (0° or 90°) are used when a hole must line up with a reference direction. Follow the source drawing.

How do I check the spacing between adjacent holes

Use chord = PCD · sin(180° ÷ N), e.g. 6 holes on PCD 120 → 120 × sin 30° = 60 mm. It confirms the holes are placed correctly.

Summary

Hole positions on a bolt circle come from one pair of formulas: X = R·cos θ, Y = R·sin θ with R = PCD ÷ 2. For N equally spaced holes the step is 360° ÷ N, and hole i sits at θstart + (i−1)×(360°÷N). If the centre is not at (0,0), add the centre coordinates. Key the results into DXCAD2D one hole at a time or with a circular array, then verify with the chord formula PCD · sin(180°÷N).