Bolt Circle Calculator — X/Y Hole Coordinates for Circular Patterns
DRO-Ready Output, Multiple Patterns, SVG Visual Diagram, and G-Code Generation for Mill and CNC
Free bolt circle calculator for machinists, CNC programmers, and fabricators. Enter the bolt circle diameter (BCD), number of holes, and starting angle to generate precise X/Y coordinates for each hole in the pattern. Output is DRO-ready with absolute and incremental positions. Supports multiple patterns on the same workpiece, an interactive SVG diagram showing the hole layout, and G-code generation for drilling cycles. Handles both even and odd hole counts, angular offsets, and partial arcs.
Look up drill sizes and tap drills for your bolt hole pattern
Drill & Tap Calculator →Calculate speeds and feeds for the drilling operation
Speeds & Feeds Calculator →Read the bolt circle layout guide
Bolt Circle Layout Guide →Calculate bolt torque for the fasteners in your pattern
Bolt Torque Calculator →How It Works
-
Enter Bolt Circle Diameter
Input the bolt circle diameter (BCD) — the diameter of the imaginary circle that passes through the center of each hole. BCD is measured center-to-center, not edge-to-edge. Enter in inches or millimeters.
-
Set Number of Holes
Enter the number of equally spaced holes in the pattern. Common patterns include 3, 4, 5, 6, 8, 10, and 12 holes. The calculator spaces holes at exactly 360/N degrees apart.
-
Set Starting Angle and Center
Define the starting angle for the first hole (0 degrees = 3 o'clock position, 90 degrees = 12 o'clock). Set the center point coordinates if the bolt circle center is not at the workpiece origin. Angular offset rotates the entire pattern.
-
Add Multiple Patterns (Optional)
Add additional bolt circle patterns on the same workpiece with different diameters, hole counts, or offsets. All patterns are shown together on the SVG diagram and combined in the coordinate output. Useful for flanges with multiple concentric bolt patterns.
-
Review Coordinates and Export
See the X/Y coordinates for each hole in absolute and incremental format. The SVG diagram shows the hole layout to scale with labeled positions. Copy coordinates for DRO use, or generate G-code drilling cycles (G81/G83) for direct CNC upload.
Built For
- Manual machinists using a DRO to locate bolt holes on a milling machine by entering X/Y coordinates from the calculator
- CNC programmers generating G-code drilling cycles for bolt circle patterns on flanges, adapter plates, and mounting brackets
- Fabricators laying out hole patterns on steel plate using coordinates transferred to a center punch layout
- Automotive machinists creating custom wheel adapter plates with specific bolt patterns (e.g., 5x114.3 to 5x120)
- Millwrights drilling mounting bolt patterns for motor bases, pump adapters, and coupling guards in the field
- Students and apprentices learning the trigonometry behind bolt circle coordinate calculation
Features & Capabilities
DRO-Ready Coordinates
Output X/Y coordinates in absolute (from origin) and incremental (from previous hole) formats, matching exactly what you enter into a digital readout on a manual milling machine. Coordinates are shown to 4 decimal places for precision work.
SVG Visual Diagram
An interactive vector diagram shows the bolt circle pattern to scale with numbered hole positions, the center point, and the bolt circle diameter. Zoom and pan to inspect individual holes. The diagram updates in real time as you change parameters.
G-Code Generation
Generate CNC drilling cycle code (G81 for standard drilling, G83 for peck drilling) with the calculated coordinates. Output includes tool change, rapid positioning, drilling cycle call, and return to clearance plane. Ready to paste into your CNC program.
Multiple Concurrent Patterns
Add multiple bolt circles on the same workpiece with independent diameters, hole counts, and angular offsets. All patterns are combined in the coordinate list and shown on the same SVG diagram. Common for flanges with inner and outer bolt patterns.
Partial Arc Support
Create partial bolt patterns by specifying a start angle and end angle. Useful for patterns that don't complete a full 360 degrees, such as semicircular mounting brackets or segmented bolt flanges.
Chord Length Verification
Displays the chord distance between adjacent holes for quick caliper verification of the pattern. Also shows the angular spacing in degrees and the arc length between holes for layout reference.
Assumptions
- Bolt circle diameter (BCD) measured center-to-center of bolt holes, not edge-to-edge
- Hole positions calculated using standard trigonometric functions with angles measured counterclockwise from 3 o'clock (0 degrees)
- Coordinates referenced from the center of the bolt circle pattern as the datum origin (0,0)
- G-code output assumes Fanuc/Haas-compatible syntax with G81 or G83 drilling cycles in G90 absolute mode
- Partial arc patterns use the same BCD with start and end angles limiting the hole placement range
- Chord distances between adjacent holes calculated as BCD times sine(180 divided by number of holes)
Limitations
- G-code output must be verified against your specific CNC controller; Siemens, Mazak, and Okuma use different cycle syntax
- Does not account for positional tolerance or true position per ASME Y14.5 GD&T callouts
- Machine tool positioning accuracy and repeatability affect actual hole locations versus calculated coordinates
- Does not calculate required hole diameter tolerances for bolted joint design (through-holes, close-fit, interference)
- Multiple pattern overlay does not check for hole-to-hole interference between patterns on the same workpiece
- Incremental coordinate output assumes the machine DRO is zeroed at the pattern center before use
References
- Machinery's Handbook, 31st Edition - Bolt Circle Calculations and Hole Pattern Layouts
- ASME Y14.5-2018 - Dimensioning and Tolerancing (positional tolerance for bolt patterns)
- ASME B18.2.8 - Clearance Holes for Bolts, Screws, and Studs (through-hole sizing)
- Fanuc CNC Custom Macro Programming Reference - G81/G83 Drilling Cycle Syntax
- ASME B4.1 - Preferred Limits and Fits for Cylindrical Parts (hole/bolt interference fits)
- SME Fundamentals of Tool Design, 6th Edition - Hole Pattern Layout and Fixture Design
Frequently Asked Questions
Learn More
Bolt Circle Layout: How to Calculate Hole Pattern Coordinates for Mill Work and DROs
How to lay out bolt circle hole patterns with X/Y coordinates for milling machines and DROs. Covers the math, multiple patterns, incremental moves, and G-code generation.
CNC G-Code Basics: What Every Machinist Should Know
Foundational CNC G-code and M-code knowledge for machine shop operators. Code structure, modal groups, program flow, and common codes for mills and lathes.
Related Tools
Chip Load Calculator
Calculate chip load per tooth for milling, drilling, and turning. Forward and reverse modes with material-specific recommendations, chip thinning factor, and MRR. Metal and wood modes.
Thread Pitch Identifier
Identify unknown threads from caliper measurements. Cross-references UNC, UNF, Metric ISO, NPT, BSP, and ACME thread standards with tolerance matching and confidence scoring.
Tolerance & Fit Calculator
ISO 286 tolerance zone calculator for shaft/hole fits. Calculates clearance, transition, and interference fits with visual tolerance zone diagram and common fit presets (H7/g6, H7/h6, H7/p6, etc.).