FabDigit

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

1Circle and holes
Bolt circle ⌀
2First hole
from +X

Flanges put the holes on either side of the centerlines, never on them.

3Center

Where the circle's center is from the part zero. Leave 0, 0 for coordinates from the center.

Hole to hole

40.000mm

Angle between holes

60°
60°123456

Hole 1 in blue; X to the right, Y up

Radius
40.000 mm
Widest pair
80.000 mm
First hole
90°
Numbered
Counterclockwise
Coordinates (mm)
HoleAngleXY
190°0.00040.000
2150°-34.64120.000
3210°-34.641-20.000
4270°0.000-40.000
5330°34.641-20.000
630°34.64120.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.

60°12345640.000Ø80

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.

45°12345678Ø7.5

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°.

Equally spaced holes, Machinery's Handbook type A and type B; type B shown on an ASME B16.5 Class 150 NPS 4 flange, 8 holes on a 7.5 in bolt circle.

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.

Angle and spacing for common hole counts, per unit of circle diameter
HolesAngle between holesHole to hole ÷ DWidest pair ÷ D
3120°0.8660250.866025
490°0.7071071.000000
572°0.5877850.951057
660°0.5000001.000000
751.429°0.4338840.974928
845°0.3826831.000000
940°0.3420200.984808
1036°0.3090171.000000
1230°0.2588191.000000
1622.5°0.1950901.000000
2018°0.1564341.000000
2415°0.1305261.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.

Class 150 flange bolting (in)
NPSBolt circleBoltsBoltBolt holeHole to hole
1/22 3/8 (2.375)41/25/81.679
3/42 3/4 (2.750)41/25/81.945
13 1/8 (3.125)41/25/82.210
1-1/43 1/2 (3.500)41/25/82.475
1-1/23 7/8 (3.875)41/25/82.740
24 3/4 (4.750)45/83/43.359
2-1/25 1/2 (5.500)45/83/43.889
36 (6.000)45/83/44.243
3-1/27 (7.000)85/83/42.679
47 1/2 (7.500)85/83/42.870
58 1/2 (8.500)83/47/83.253
69 1/2 (9.500)83/47/83.635
811 3/4 (11.750)83/47/84.497
1014 1/4 (14.250)127/813.688
1217 (17.000)127/814.400
1418 3/4 (18.750)1211-1/84.853
1621 1/4 (21.250)1611-1/84.146
1822 3/4 (22.750)161-1/81-1/44.438
2025 (25.000)201-1/81-1/43.911
2429 1/2 (29.500)201-1/41-3/84.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

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.