Machinist Bolt Circle Calculator: PCD Hole Coordinates & CNC G-Code
To calculate Cartesian X and Y coordinates for any bolt hole circle (Pitch Circle Diameter or BCD), multiply the bolt circle radius (R = BCD / 2) by the cosine and sine of each hole's polar angle: X = X_0 + R cos(θ) and Y = Y_0 + R sin(θ), while verifying adjacent hole spacing via the chord equation C = BCD × sin(180° / N).
🎯 Interactive Machinist Bolt Circle Coordinate & CNC G81/G83 G-Code Calculator
Compute exact X/Y DRO hole coordinates, adjacent hole chord distances for caliper verification, and copyable Fanuc/Haas canned drilling cycles for any Bolt Circle Diameter (BCD).
How Do Machinists Calculate X and Y DRO Coordinates for a Bolt Hole Circle?
Whether you are stepping around a Bridgeport knee mill using a 2-axis digital readout (DRO) or programming a Fanuc vertical machining center, polar bolt hole patterns must be resolved into precise rectangular X and Y offsets referenced from the bore center datum (X0, Y0). Under ASME B1.1 Unified Inch Screw Threads, ASME Y14.5 positional tolerancing, and Machinery's Handbook (Industrial Press), the angular step between N equally spaced holes is Δθ = 360° / N. By setting 0° along the positive X-axis (3 o'clock position), our calculator computes 4-decimal coordinates alongside ready-to-run G81 spot-drilling and G83 peck-drilling cycles that pair directly with our Master Tap Drill Chart and Clearance Hole Chart.
Before unclamping a machined flange from the rotary table or trunnion, quality inspectors verify hole-to-hole indexing accuracy using the adjacent chord length formula C = BCD × sin(180° / N) traceable to NIST (National Institute of Standards and Technology) and ISO 68-1 International Thread Standard geometric metrology. By inserting snug-fitting Class Z cylindrical pin gages into two neighboring holes and measuring across the pins with a calibrated Mitutoyo vernier caliper (subtracting one pin diameter), you can immediately confirm whether the programmed pitch circle diameter and angular division are within ±0.001" (±0.025 mm) before moving to G84 Rigid Tapping or Socket Head Counterboring.
| Holes (N) | Angular Step (Δθ) | Chord Factor sin(180°/N) | Chord for 4.000" BCD | Chord for 100.0 mm BCD | Hole #2 X (R=1.0) | Hole #2 Y (R=1.0) | Action |
|---|---|---|---|---|---|---|---|
| 3 Holes | 120.000° | 0.866025 | 3.4641" | 86.603 mm | -0.5000 | +0.8660 | |
| 4 Holes | 90.000° | 0.707107 | 2.8284" | 70.711 mm | 0.0000 | +1.0000 | |
| 5 Holes | 72.000° | 0.587785 | 2.3511" | 58.779 mm | +0.3090 | +0.9511 | |
| 6 Holes | 60.000° | 0.500000 | 2.0000" | 50.000 mm | +0.5000 | +0.8660 | |
| 8 Holes | 45.000° | 0.382683 | 1.5307" | 38.268 mm | +0.7071 | +0.7071 | |
| 10 Holes | 36.000° | 0.309017 | 1.2361" | 30.902 mm | +0.8090 | +0.5878 | |
| 12 Holes | 30.000° | 0.258819 | 1.0353" | 25.882 mm | +0.8660 | +0.5000 | |
| 16 Holes | 22.500° | 0.195090 | 0.7804" | 19.509 mm | +0.9239 | +0.3827 |
What Is the Difference Between On-Center and Straddle Bolt Circle Flange Patterns?
In industrial piping and pressure vessel engineering governed by ASME B16.5 and NASA Fastener Design Manual (NASA RP-1228) structural joint standards, flange bolt hole patterns are almost never oriented with a hole sitting at 0° or 90° on the principal vertical and horizontal centerlines. Instead, pipe flanges use a "straddle centerline" orientation where the top two bolt holes straddle the 12 o'clock vertical axis symmetrically at θ_start = 90° - (180° / N). For an 8-hole Class 150 flange (Δθ = 45°), the first hole is positioned at 22.5° (or 67.5°), ensuring valve actuators and manifold piping have unobstructed wrench clearance during torque assembly per our Master Bolt Torque Chart.
| Nominal Pipe Size | Flange OD (in) | Bolt Circle BCD (in) | Bolt Circle BCD (mm) | Number of Holes | Straddle Start Angle | Hole Drill Dia (in) | Stud Bolt Diameter |
|---|---|---|---|---|---|---|---|
| 1" NPS Class 150 | 4.25" | 3.125" | 79.38 mm | 4 | 45.0° | 5/8" (0.625") | 1/2"-13 UNC |
| 2" NPS Class 150 | 6.00" | 4.750" | 120.65 mm | 4 | 45.0° | 3/4" (0.750") | 5/8"-11 UNC |
| 3" NPS Class 150 | 7.50" | 6.000" | 152.40 mm | 4 | 45.0° | 3/4" (0.750") | 5/8"-11 UNC |
| 4" NPS Class 150 | 9.00" | 7.500" | 190.50 mm | 8 | 67.5° | 3/4" (0.750") | 5/8"-11 UNC |
| 6" NPS Class 150 | 11.00" | 9.500" | 241.30 mm | 8 | 67.5° | 7/8" (0.875") | 3/4"-10 UNC |
| 8" NPS Class 150 | 13.50" | 11.750" | 298.45 mm | 8 | 67.5° | 7/8" (0.875") | 3/4"-10 UNC |
| 10" NPS Class 150 | 16.00" | 14.250" | 361.95 mm | 12 | 75.0° | 1.000" (1") | 7/8"-9 UNC |
When drilling bolt circles on a manual knee milling machine equipped with a linear glass-scale digital readout (DRO), machinists should always eliminate table leadscrew backlash by approaching every X and Y coordinate from the same positive direction, locking both the X and Y gib locks gently before plunging the quill, and spot-drilling all N holes first with a rigid 90° or 120° carbide spotting drill to prevent twist drill wander on rough or curved flange surfaces.
Frequently Asked Questions About Bolt Circle Coordinate Calculations
How do you measure a bolt circle diameter (BCD) on an odd-numbered 5-hole flange?
Because a 5-hole pattern has no two holes directly opposite one another across the center, measure the center-to-center chord distance (C) between two adjacent holes with a caliper and divide by sin(36°): BCD = C / 0.587785, or multiply the adjacent distance by 1.701302.
Does CNC G-code use clockwise or counter-clockwise angles for bolt circles?
Standard Cartesian trigonometry and CAD/CAM systems define positive angles counter-clockwise (CCW) starting from 0° at the 3 o'clock (+X) axis, whereas manual rotary tables often index clockwise; our calculator supports both conventions and links directly to our 4-Way Drill Bit Size Converter.