How to calculate bolt hole coordinates on a PCD
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
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
θ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.
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°.
| Hole | Angle θ | X = 50·cos θ | Y = 50·sin θ |
|---|---|---|---|
| 1 | 45° | +35.355 | +35.355 |
| 2 | 135° | −35.355 | +35.355 |
| 3 | 225° | −35.355 | −35.355 |
| 4 | 315° | +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).
| Hole | Angle θ | X = 60·cos θ | Y = 60·sin θ |
|---|---|---|---|
| 1 | 90° | 0 | +60 |
| 2 | 150° | −51.962 | +30 |
| 3 | 210° | −51.962 | −30 |
| 4 | 270° | 0 | −60 |
| 5 | 330° | +51.962 | −30 |
| 6 | 30° | +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 OnlineExample 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°.
| Hole | Angle θ | X = 80·cos θ | Y = 80·sin θ |
|---|---|---|---|
| 1 | 0° | +80 | 0 |
| 2 | 45° | +56.569 | +56.569 |
| 3 | 90° | 0 | +80 |
| 4 | 135° | −56.569 | +56.569 |
| 5 | 180° | −80 | 0 |
| 6 | 225° | −56.569 | −56.569 |
| 7 | 270° | 0 | −80 |
| 8 | 315° | +56.569 | −56.569 |
Drawing it in DXCAD2D
- 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))). - Draw the PCD circle for reference: press C, centre at
0,0, radius R. - Draw each hole: press C, type the hole-centre coordinate such as
35.355,35.355, then the hole radius (half the hole diameter). - If the pattern is symmetric, use a circular array to repeat the first hole around the centre instead of typing every one.
- 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).