Bolt circle calculator
X and Y coordinates for holes equally spaced on a circle, with the hole-to-hole distance, a drawing of the pattern and the ASME B16.5 Class 150 flange bolt circles.
Hole coordinates on a bolt circle
Six holes on an 80 mm bolt circle with hole 1 at the top sit at (0, 40), (-34.641, 20), (-34.641, −20), (0, −40) and the mirror images on the right. Neighboring holes are 80 × sin 30° = 40.000 mm apart: with six holes the spacing equals the radius.
Holes on a bolt circle
Hole to hole
Angle between holes
Hole 1 in blue; X to the right, Y up
- Radius
- 40.000 mm
- Widest pair
- 80.000 mm
- First hole
- 90°
- Numbered
- Counterclockwise
| Hole | Angle | X | Y |
|---|---|---|---|
| 1 | 90° | 0.000 | 40.000 |
| 2 | 150° | -34.641 | 20.000 |
| 3 | 210° | -34.641 | -20.000 |
| 4 | 270° | 0.000 | -40.000 |
| 5 | 330° | 34.641 | -20.000 |
| 6 | 30° | 34.641 | 20.000 |
Each hole is X = center X + D/2 × cos θ, Y = center Y + D/2 × sin θ, with θ the first hole angle plus 360° ÷ holes for each step. Positions are computed one by one from the center, so rounding does not add up around the circle.
Bolt circle formula
For hole i of n on a circle of diameter D centered at (Xc, Yc), with the first hole at angle θ₀ from the +X axis: θ = θ₀ + (i − 1) × 360° ÷ n, X = Xc + D/2 × cos θ, Y = Yc + D/2 × sin θ. Angles count counterclockwise; for clockwise numbering subtract the step instead of adding it.
Type A: hole 1 on the centerline
6 holes on an 80 mm bolt circle, 60° apart, hole 1 at 90°. Neighboring holes are 40.000 mm apart, the radius of the circle.
Type B: holes straddle the centerline
NPS 4 Class 150 flange: 8 holes on a 7.5 in bolt circle, 45° apart, hole 1 at 112.5°.
The straight distance between two neighboring holes is D × sin(180° ÷ n), and between holes k steps apart D × sin(k × 180° ÷ n). That is the chord a caliper measures over two pins. Five holes on a 100 mm circle are 58.779 mm apart. With an odd count no hole sits opposite another, so the widest pair, 95.106 mm here, is less than the circle diameter.
Machinery's Handbook calls a pattern with hole 1 on the vertical centerline type A, and the same pattern turned half a step so the holes straddle the centerline type B. Compute each position from the center as above. Stepping from one hole to the next by the chord lets the rounding of every step add up around the circle.
| Holes | Angle between holes | Hole to hole ÷ D | Widest pair ÷ D |
|---|---|---|---|
| 3 | 120° | 0.866025 | 0.866025 |
| 4 | 90° | 0.707107 | 1.000000 |
| 5 | 72° | 0.587785 | 0.951057 |
| 6 | 60° | 0.500000 | 1.000000 |
| 7 | 51.429° | 0.433884 | 0.974928 |
| 8 | 45° | 0.382683 | 1.000000 |
| 9 | 40° | 0.342020 | 0.984808 |
| 10 | 36° | 0.309017 | 1.000000 |
| 12 | 30° | 0.258819 | 1.000000 |
| 16 | 22.5° | 0.195090 | 1.000000 |
| 20 | 18° | 0.156434 | 1.000000 |
| 24 | 15° | 0.130526 | 1.000000 |
Multiply by the circle diameter in any unit. 7 holes on a 6.5 mm circle: 6.5 × 0.433884 = 2.8202 mm.
ASME B16.5 Class 150 flange bolt circles
The pipe size and pressure class fix a flange's bolt circle, bolt count and bolt size, so any two Class 150 flanges of one size line up. The holes straddle the centerlines: on an NPS 4 flange, 8 holes on a 7.5 in circle, hole 1 sits at 112.5°, (-1.4351, 3.4645) in from the center.
| NPS | Bolt circle | Bolts | Bolt | Bolt hole | Hole to hole |
|---|---|---|---|---|---|
| 1/2 | 2 3/8 (2.375) | 4 | 1/2 | 5/8 | 1.679 |
| 3/4 | 2 3/4 (2.750) | 4 | 1/2 | 5/8 | 1.945 |
| 1 | 3 1/8 (3.125) | 4 | 1/2 | 5/8 | 2.210 |
| 1-1/4 | 3 1/2 (3.500) | 4 | 1/2 | 5/8 | 2.475 |
| 1-1/2 | 3 7/8 (3.875) | 4 | 1/2 | 5/8 | 2.740 |
| 2 | 4 3/4 (4.750) | 4 | 5/8 | 3/4 | 3.359 |
| 2-1/2 | 5 1/2 (5.500) | 4 | 5/8 | 3/4 | 3.889 |
| 3 | 6 (6.000) | 4 | 5/8 | 3/4 | 4.243 |
| 3-1/2 | 7 (7.000) | 8 | 5/8 | 3/4 | 2.679 |
| 4 | 7 1/2 (7.500) | 8 | 5/8 | 3/4 | 2.870 |
| 5 | 8 1/2 (8.500) | 8 | 3/4 | 7/8 | 3.253 |
| 6 | 9 1/2 (9.500) | 8 | 3/4 | 7/8 | 3.635 |
| 8 | 11 3/4 (11.750) | 8 | 3/4 | 7/8 | 4.497 |
| 10 | 14 1/4 (14.250) | 12 | 7/8 | 1 | 3.688 |
| 12 | 17 (17.000) | 12 | 7/8 | 1 | 4.400 |
| 14 | 18 3/4 (18.750) | 12 | 1 | 1-1/8 | 4.853 |
| 16 | 21 1/4 (21.250) | 16 | 1 | 1-1/8 | 4.146 |
| 18 | 22 3/4 (22.750) | 16 | 1-1/8 | 1-1/4 | 4.438 |
| 20 | 25 (25.000) | 20 | 1-1/8 | 1-1/4 | 3.911 |
| 24 | 29 1/2 (29.500) | 20 | 1-1/4 | 1-3/8 | 4.615 |
The bolt hole is 1/8 in larger than the bolt. Class 300 and higher use larger circles, and a Class 150 flange does not bolt to a Class 300 flange of the same size.
Putting a bolt circle on a drawing and a machine
A drawing gives the count, the hole and the circle in one note, for example 6X ⌀6.6 EQUALLY SPACED ON ⌀80. When the holes carry a position tolerance, the circle diameter is a basic dimension in a box and the equal angles are implied basic, so all of the location tolerance sits in the feature control frame.
On a CNC mill the holes go in as a list of absolute X and Y positions, or through the control's bolt-hole-circle cycle where it has one. Give the center from a datum the part can be measured from, and say which hole is number 1 when the pattern has to clock to another feature. The hole sizes themselves are in the clearance hole chart.
Bolt circle questions
How do you calculate bolt circle coordinates?
For hole i of n on a circle of diameter D: θ = first angle + (i − 1) × 360° ÷ n, X = center X + D/2 × cos θ, Y = center Y + D/2 × sin θ. Compute every hole from the center so rounding does not build up.
How do you find the distance between holes on a bolt circle?
The straight distance between neighbors is D × sin(180° ÷ n). Six holes on an 80 mm circle are 80 × sin 30° = 40.000 mm apart; eight holes on a 7.5 in circle are 2.870 in apart.
What is the difference between bolt circle and pitch circle diameter?
None: bolt circle (BC, BCD) and pitch circle diameter (PCD) both mean the diameter of the circle through the hole centers.
How do you measure a bolt circle with an odd number of holes?
No hole sits opposite another, so measure between two neighboring holes and divide by sin(180° ÷ n), or measure the widest pair and divide by sin(k × 180° ÷ n) with k = (n − 1) ÷ 2. Five holes 58.779 mm apart sit on a 100 mm circle.
How do you measure a 4-hole bolt circle?
Measure between two opposite holes, center to center: that is the bolt circle. Between neighbors the distance is D × sin 45°, 0.7071 × D.
What is the bolt circle of a 4 inch Class 150 flange?
7.5 in, with 8 bolts of 5/8 in through 3/4 in holes, under ASME B16.5. The holes straddle the centerlines.
Where should the first hole be?
Wherever the drawing puts it. Machinery’s Handbook calls hole 1 on the vertical centerline type A and the pattern turned half a step type B; flanges use type B so the holes sit either side of the centerlines.
What is the angle between holes on a bolt circle?
360° divided by the number of holes: 90° for 4 holes, 60° for 6, 45° for 8 and 30° for 12. Hole i sits at the first hole's angle plus (i − 1) times that step.
What size are the bolt holes in a Class 150 flange?
The bolt hole is 1/8 in larger than the bolt: 5/8 in holes for 1/2 in bolts on NPS 1/2 to 1-1/2, 3/4 in holes for 5/8 in bolts on NPS 2 to 4, and up to 1-3/8 in holes for 1-1/4 in bolts on NPS 24.
Will a Class 150 flange bolt to a Class 300 flange?
No. Class 300 and higher flanges use larger bolt circles, so a Class 150 flange does not line up with a Class 300 flange of the same pipe size.
How do you dimension a bolt circle on a drawing?
Specify the hole count, hole diameter and bolt circle diameter in one note, for example 6X ⌀6.6 EQUALLY SPACED ON ⌀80. When the holes carry a position tolerance, the circle diameter is a basic dimension in a box and the equal angles are implied basic dimensions.
How do you program a bolt circle on a CNC mill?
Enter the holes as a list of absolute X and Y positions, or use the control’s bolt-hole-circle cycle if it has one. Locate the center from a measurable datum and identify hole number 1 when the pattern has to clock to another feature.
Sources and further reading
- Machinery’s Handbook, 31st edition — coordinates for hole circlesType A and type B hole circles, the coordinate equations and the chord table (pp. 708–711).
- Engineering ToolBox — ASME B16.5 flanges and bolt dimensionsClass 150 flange diameter, bolt count, bolt and hole size, bolt circle.
- Northwest Fastener — ASME B16.5 Class 150 bolting patternBolt circle, holes and bolts, NPS 1/2 to 24.
- Saola — engineering drawing symbolsEqually spaced holes on a pitch circle, basic circle diameter and implied basic angles.
Updated
Quote the part with its hole pattern from the 3D model
Upload the model and the drawing. We machine the holes where the model puts them.
