🤖 ⭐ 14-Day Free Trial
Install Extension Free →
AI Assistant for Engineers
🧮 Tools 🧮 Calc 📐 Sections 🔄 Convert 🤖 AI Chat 📊 RFQ 🖱️ Right-Click Tools — Any Webpage
Free · 🎁 Free 14-Day Trial — No Premium License Key Required. Just add your own API key for AI features.
Premium: $5/mo | 📘 Guide | 🔒 Privacy | ⬇️ Available on Chrome · Edge · Firefox

Bolt Circle Calculator | BCD / PCD Hole Pattern X,Y Coordinates Tool

Bolt Circle Calculator - Calculate exact X/Y coordinates for bolt hole patterns. Supports BCD, PCD, metric/imperial, CNC export, SVG visualization.
Find Me: Google Knowledge Panel
Common Questions about SteelSolver.com: More
We independently provide precision steel tools, calculators, and expert resources for steel, metalworking, construction, and industrial projects. Learn More.
Published -
Updated -
Estimated read time

Designing flanges, wheels, or any circular bolt pattern? Getting hole coordinates right is critical—but manual trigonometry invites errors. This Bolt Circle Calculator eliminates guesswork: enter your Bolt Circle Diameter (BCD or PCD), number of holes, start angle, and center offset to instantly receive precise X/Y coordinates for every hole.

Unlike simple tables, this tool offers real-time SVG visualization, so you can preview the pattern before drilling. Toggle between metric (mm) and imperial (inch) units on the fly, and verify adjacent hole spacing with automatic chord length calculations. Need to reverse-engineer an existing part? Use the reverse calculator to derive the BCD from a measured chord distance.

Export results as CSV, copy data to your clipboard, or generate G-code for CNC machining. Whether you're a machinist, mechanical engineer, or hobbyist, this free calculator saves time and prevents costly layout mistakes. No downloads—just accurate coordinates in seconds.

⚙ Bolt Circle Calculator

Calculate precise X/Y coordinates for any bolt hole pattern. Supports BCD & PCD, metric/imperial, CNC export, live SVG visualization, and reverse calculation.

Free Metric & Imperial SVG Diagram CNC Ready Chord Length Reverse Calc
⚠ Common Mistakes This Tool Prevents
  • Diameter vs. Radius confusion — formulas require radius; dividing BCD by 2 is done automatically here.
  • Trigonometric mode errors — all angle math is handled internally in degrees.
  • Equal spacing for odd hole counts — 3, 5, or 7 holes are just as easy as 4, 6, or 8.
  • Unit mix-ups — toggle mm / inches at any time; all outputs convert instantly.
  • No visual check before drilling — live SVG diagram updates with every input.

🔧 Input Parameters

Units
Diameter of the imaginary circle through all hole centers.
Please enter a valid positive diameter.
Enter a whole number between 2 and 100.
90° places first hole at 12 o'clock (recommended for flanges).
X
Y
Used for scale in SVG diagram only.

📈 Live Diagram

Enter values to calculate
Accuracy Note: All coordinates use IEEE 754 double-precision floating-point arithmetic (15-17 significant digits). For CNC use, verify on scrap material first.

📊 Results

Fill in inputs above and click Calculate to see results.
Radius (R)
Angle Spacing
Chord Length
Circumference
Hole # Angle (°) X Y Chord to Next
✓ Copied to clipboard!

Have an existing part? Enter the center-to-center distance between two adjacent holes and the hole count to find the Bolt Circle Diameter.

Formula: \( BCD = \dfrac{C}{\sin(180^{\circ}/n)} \)

1. Radius

$$R = \frac{BCD}{2}$$
The radius is half the Bolt Circle Diameter. All X/Y calculations use the radius, not the diameter.

2. Angle Increment Between Holes

$$\Delta\theta = \frac{360^{\circ}}{n}$$
Where \(n\) is the total number of holes. Holes are equally spaced around the full 360°.

3. Angle of Each Hole

$$\theta_i = \theta_{start} + (i - 1) \times \Delta\theta \quad (i = 1, 2, \ldots, n)$$
For clockwise direction, the sign of \(\Delta\theta\) is negated.

4. Cartesian Coordinates (X, Y)

$$x_i = R \cdot \cos\!\left(\theta_i \cdot \frac{\pi}{180}\right) + X_{offset}$$ $$y_i = R \cdot \sin\!\left(\theta_i \cdot \frac{\pi}{180}\right) + Y_{offset}$$
Converts polar angle \(\theta_i\) to Cartesian coordinates. \(X_{offset}\) and \(Y_{offset}\) shift the entire pattern.

5. Chord Length (Adjacent Holes)

$$C = BCD \cdot \sin\!\left(\frac{180^{\circ}}{n}\right)$$
The straight-line distance between two neighboring hole centers. Use a caliper to verify this dimension on the actual workpiece.

6. Reverse: Find BCD from Chord

$$BCD = \frac{C}{\sin\!\left(\dfrac{180^{\circ}}{n}\right)}$$
If you know the center-to-center distance between two adjacent holes (\(C\)) and the number of holes (\(n\)), you can recover the full Bolt Circle Diameter.

7. Bolt Circle Circumference

$$\text{Circumference} = \pi \times BCD$$

More Engineering Calculators

Explore our full suite of precision machining, geometry, and fabrication tools.

⚙ Bolt Circle Calculator
Complete User Guide

Step-by-step instructions, all calculation formulas, input validation tips, common mistakes, and FAQ for the free online Bolt Circle Calculator — your essential BCD/PCD hole pattern tool for machining, CNC, and flange design.

BCD Calculator PCD Calculator Bolt Pattern Tool Flange Hole Layout CNC Coordinates Metric & Imperial Chord Length Polar Coordinates

What Is a Bolt Circle Calculator?

A bolt circle calculator — also called a bolt hole circle calculator, PCD calculator (Pitch Circle Diameter), or BCD calculator (Bolt Circle Diameter) — is a specialized geometry and machining tool used by engineers, machinists, CNC programmers, and fabricators to determine the precise X/Y Cartesian coordinates of holes arranged in a circular pattern.

Whether you are designing a pipe flange, a custom wheel hub, a motor mounting plate, or any mechanical assembly that requires evenly spaced holes around a center point, this bolt pattern calculator eliminates the need for manual trigonometry. It converts the polar coordinates of each hole (radius + angle) into Cartesian coordinates (X, Y) ready for drilling, milling, or CNC programming.

What Does “Bolt Circle Diameter” Mean?

The Bolt Circle Diameter (BCD), also called the Pitch Circle Diameter (PCD), is the diameter of the imaginary circle that passes through the exact center of every bolt hole in the pattern. On a car wheel with 5 lug nuts, for example, the bolt circle diameter is the diameter of the circle you could draw through all five lug hole centers. Knowing this diameter — combined with the number of holes — is all you need to calculate every drilling coordinate.

Key User Pain Points & How This Calculator Solves Them

Before exploring the step-by-step guide, it helps to understand the common challenges in bolt hole layout that this free online bolt pattern calculator is specifically designed to eliminate.

Manual Trigonometry Errors

Calculating sine and cosine for 6 or 8 holes by hand leads to "stacking errors" that ruin expensive workpieces. One wrong sign or a calculator left in radian mode cascades into all subsequent holes.

Solved: Instant Accurate X/Y Coordinates

All trigonometry is handled internally. Enter BCD and hole count; receive a complete coordinate table accurate to up to 5 decimal places. No manual sine or cosine calculations required.

Diameter vs. Radius Confusion

Engineering drawings specify BCD as a diameter, but trigonometric formulas require the radius. Forgetting to divide by 2 doubles every coordinate, producing an entirely wrong pattern.

Solved: Automatic Radius Conversion

Enter the full diameter. The calculator divides by 2 internally for all coordinate calculations. No manual conversion needed — the most common single source of bolt pattern error is eliminated.

Odd Hole Counts Are Confusing

Laying out 3, 5, or 7 holes is counter-intuitive because no two holes are directly opposite each other. Traditional methods like using a compass and protractor are imprecise.

Solved: Any Hole Count From 2 to 100

The angular spacing formula \(\Delta\theta = 360^{\circ}/n\) applies equally to 3, 5, or 7 holes as it does to 4, 6, or 8. All odd and even counts produce precise, equal spacing.

Unit Mix-ups: mm vs. Inches

Switching between metric (mm) and imperial (inches) mid-project without converting all measurements is a common cause of incorrectly drilled holes, especially in flange fabrication.

Solved: Live mm / Inch Toggle

Switch between millimeters and inches at any time using the unit toggle. All outputs — coordinates, chord length, radius, circumference — update instantly with the correct unit label.

No Visual Check Before Drilling

Setting up a bolt circle on a manual mill or CNC machine without first verifying the pattern visually increases the risk of drilling in the wrong position or wrong orientation.

Solved: Live SVG Diagram with Hole Labels

An interactive SVG bolt circle diagram updates in real time as you change inputs. It shows labeled hole numbers, the bolt circle ring, center crosshair, and diameter callout before you drill a single hole.

Can’t Measure BCD on Existing Parts

When a hub or shaft blocks the center, it is physically difficult to measure the bolt circle diameter directly. Measuring chord length between adjacent holes is often the only option.

Solved: Built-in Reverse Calculator

Enter the center-to-center chord distance between two adjacent holes and the hole count. The reverse BCD calculator instantly derives the full Bolt Circle Diameter using \(BCD = C / \sin(180^{\circ}/n)\).

📈 Visual Diagram: Understanding Bolt Circle Geometry

The diagram below illustrates the key geometric elements of a 6-hole bolt circle pattern. Understanding these terms — BCD, radius, start angle, chord length, and X/Y coordinates — will help you use the calculator accurately for any drilling layout, flange design, or CNC machining task.

Bolt Circle Geometry Diagram A 6-hole bolt circle showing: the bolt circle diameter (BCD) as a dashed ring, radius from center to hole, start angle measured from positive X-axis, chord length between adjacent holes, and X/Y coordinate system with labeled holes. X Y BCD / PCD (Ø) R = BCD/2 Start θ 1 2 3 4 5 6 Chord (C) Hole 1 X=0, Y=+R Δθ = 60° (0, 0) Legend Bolt circle (BCD) Radius (R) Chord (C) Hole center Origin (0, 0) 6-Hole Bolt Circle | BCD = 330 | Start Angle = 90° | Δθ = 60° per hole
Diagram is for illustration. In the calculator, enter your actual BCD value and hole count. The SVG diagram in the tool updates live as you type.

Coordinate System at a Glance

Hole PositionAngle (°)X CoordinateY CoordinateNotes
12 o'clock (top)90°0+RCommon start angle for flanges
3 o'clock (right)+R0Default mathematical convention
6 o'clock (bottom)270°0−ROpposite of 12 o'clock
9 o'clock (left)180°−R0Opposite of 3 o'clock

🔧 Input Parameters & Units Explained

The bolt circle layout calculator accepts the following inputs. Required fields are marked; optional fields improve diagram accuracy or shift the pattern.

ParameterUnitsRequired?Description & Common Mistakes
Bolt Circle Diameter (BCD / PCD) mm or inch Required The diameter of the imaginary circle through all hole centers. Do not enter the radius here — the calculator divides by 2 automatically. Must be a positive number greater than zero.
Number of Holes Whole number Required Total holes in the circular pattern. Accepts 2–100. Common values: 3, 4, 5, 6, 8, 12. Use the bolt pattern calculator for 4/5/6/8 holes presets for automotive and flange patterns.
Start Angle Degrees (°) Optional Angle of the first hole from the positive X-axis. Default is 90° (12 o'clock, top of circle). Use 0° for 3 o'clock start. Adjust to orient the pattern to match your part reference.
Rotation Direction Optional Counter-clockwise (CCW) is the standard mathematical convention. Clockwise (CW) reverses the sign of the angle increment — use this when your machine or DRO uses a CW coordinate system.
Center Offset (X, Y) mm or inch Optional Shifts the entire bolt circle pattern so its center is not at the origin (0, 0). Use this when your workpiece zero-point is not at the pattern center. Default is X=0, Y=0.
Hole Diameter mm or inch Optional Physical diameter of each hole (drill bit size). Used only for visual scale in the SVG diagram. Does not affect coordinate calculations. Helps verify hole-to-hole clearance visually.
Decimal Precision 2–5 places Optional Number of decimal places in output coordinates. Use 3–4 for CNC work. Use 2 for manual layout. More decimal places = higher precision but longer numbers in G-code.
Units (mm / inch) Optional Toggle between metric (mm) and imperial (inches). All outputs update instantly. Ensure your BCD input matches the selected unit — entering 100 while in “inch” mode gives a 100-inch circle.
Common mistake: Entering the radius instead of the diameter for BCD. If your coordinates look twice as large as expected, check that you entered the full diameter, not the radius.
Common mistake: Leaving the unit toggle on “inch” when your drawing specifies millimeters. Always verify the unit matches your engineering drawing before calculating.

📖 Step-by-Step User Guide

Follow these steps to calculate bolt hole positions accurately using this online bolt pattern calculator free tool. Each step takes less than a minute; the entire process from input to drilled holes typically takes under five minutes.

  1. 1
    Select Your Unit System (mm or Inch)

    Before entering any values, click the mm or Inch button at the top of the input panel. This ensures all inputs and outputs use the same unit. For a metric bolt circle calculator, select mm. For inch-based imperial work, select Inch.

    All outputs — X/Y coordinates, chord length, radius, and circumference — display with the correct unit label next to each value. Always verify this label matches your engineering drawing.
  2. 2
    Use a Quick Preset (Optional Time-Saver)

    Click one of the five preset buttons to instantly fill in common bolt circle patterns:

    • 4 × 100mm — 4-hole, 100mm BCD (common compact car wheel bolt pattern)
    • 5 × 114.3mm — 5-hole, 114.3mm PCD (popular passenger car lug pattern)
    • 6 × 139.7mm — 6-hole, 139.7mm BCD (light truck and SUV stud pattern)
    • 8 Hole Flange — 8 holes on a 200mm flange bolt pattern
    • 3 Hole Custom — 3-hole layout, 80mm BCD

    Selecting a preset also triggers an automatic calculation and updates the SVG diagram immediately.

  3. 3
    Enter the Bolt Circle Diameter (BCD)

    Type the full pitch circle diameter into the BCD field. This is the diameter — not the radius — of the circle passing through all hole centers. Examples:

    • Pipe flange: look up the PCD in your ANSI/DIN standard table
    • Wheel hub: the BCD is usually printed on the wheel or listed in the vehicle spec
    • Custom plate: measure center-to-center across opposite holes (for even counts) or use the reverse calculator (for odd counts)
    Validation: BCD must be a positive number greater than zero. A red border and error message will appear if the field is empty or contains a negative value.
  4. 4
    Enter the Number of Holes

    Type the total number of holes in the bolt circle. The field accepts whole numbers from 2 to 100. The most common configurations are 3, 4, 5, 6, 8, and 12 holes. For automotive wheel bolt patterns, use the correct lug count (4-lug, 5-lug, 6-lug, 8-lug).

    Common mistake: Entering a decimal number (e.g., 6.0) instead of an integer. Always use whole numbers for hole count.
  5. 5
    Set the Start Angle

    The start angle defines the angular position of hole #1 relative to the positive X-axis (3 o'clock position). The default is 90°, which places hole #1 at the top (12 o'clock). Common start angles:

    • 90° — Hole 1 at top (12 o'clock). Recommended for flanges and symmetric layouts.
    • — Hole 1 at right (3 o'clock). Standard mathematical convention.
    • 45° — Used for 4-bolt patterns where holes sit on 45°/135°/225°/315° angles.
    • 22.5° — Used for 8-hole flanges with holes at 22.5° intervals from the top.
  6. 6
    Configure Advanced Options (if needed)

    For most standard bolt circle calculations, steps 1–5 are sufficient. For advanced or off-center patterns:

    • Rotation Direction: Change from CCW to CW only if your machine coordinate system uses clockwise convention.
    • Center Offset X/Y: Enter non-zero values if the bolt circle center is not at your workpiece zero point.
    • Hole Diameter: Enter the actual drill size to scale hole circles in the SVG diagram.
    • Decimal Precision: Increase to 4 or 5 for high-precision CNC work; 2 or 3 for manual drilling layout.
  7. 7
    Click “Calculate”

    Press the orange Calculate button (or press Enter in any input field). The calculator will:

    • Validate all inputs and highlight any errors with red borders and error messages
    • Compute X/Y coordinates, angles, and chord lengths for all holes
    • Update the summary stats (radius, angle spacing, chord length, circumference)
    • Populate the coordinate table with all hole positions
    • Re-render the live SVG bolt circle diagram
  8. 8
    Verify the SVG Diagram

    Review the live SVG diagram before drilling or programming. Check that:

    • The correct number of holes appears evenly spaced around the ring
    • Hole 1 is positioned at the expected angle (e.g., top of circle for 90° start)
    • The labeled hole numbers match your workpiece or engineering drawing reference
    • The diameter callout below the diagram matches your entered BCD
    The SVG diagram is not to scale with your workpiece — it is a proportional schematic. Use the coordinate table values for actual positioning.
  9. 9
    Use or Export Your Results

    Choose the output format that suits your workflow:

    • Copy All Data — Copies the full formatted coordinate table plus summary stats to your clipboard for pasting into a DRO, notes, or email.
    • Export CSV — Downloads a .csv file compatible with Excel, Google Sheets, or any CAD/CAM software that accepts coordinate imports.
    • G-Code — Downloads a .nc file containing an absolute-mode G81 drilling cycle for all holes. Adjust Z depth and feed rate before use on your CNC machine.
    • Print — Opens the browser print dialog. The print CSS hides the header and buttons; only the coordinate table and diagram are printed, creating a clean shop floor reference sheet.
  10. 10
    Reset and Recalculate (if needed)

    Click the Reset button to clear all fields back to defaults (6 holes, 90° start angle, CCW direction, origin at 0,0). Use this when starting a new job with different parameters. All validation errors, preset selections, and result displays are also cleared.

ƒ All Formulas Used in Calculations

This section documents every mathematical formula used by the bolt circle calculator to produce its results. Understanding these formulas builds confidence in the output and helps you verify results independently. All calculations use standard trigonometry for bolt patterns based on the conversion of polar coordinates to Cartesian X/Y coordinates.

Formula 1: Radius from Bolt Circle Diameter

Radius Calculation
$$R = \frac{BCD}{2}$$
Where: \(R\) = Radius of the bolt circle, \(BCD\) = Bolt Circle Diameter (the value you enter).
Why it matters: All X/Y coordinate formulas use the radius, not the diameter. The calculator performs this division automatically every time you enter a BCD value. Forgetting to divide by 2 is the single most common manual calculation error in bolt circle layout.

Formula 2: Angle Between Adjacent Holes (Angular Spacing)

Hole Spacing Angle / Angular Separation
$$\Delta\theta = \frac{360^{\circ}}{n}$$
Where: \(\Delta\theta\) = angle increment between holes (degrees), \(n\) = number of holes.
Examples: 4 holes = 90° spacing; 5 holes = 72°; 6 holes = 60°; 8 holes = 45°; 12 holes = 30°.
For clockwise direction: The sign is negated, so \(\Delta\theta = -360^{\circ}/n\), causing angles to decrease rather than increase for successive holes.

Formula 3: Angle of Each Individual Hole

Polar Angle for Hole i
$$\theta_i = \theta_{start} + (i - 1) \times \Delta\theta \quad \text{for } i = 1, 2, 3, \ldots, n$$
Where: \(\theta_i\) = angle of hole \(i\) in degrees, \(\theta_{start}\) = start angle you set (default 90°), \(i\) = hole number (starting at 1).
Example (6 holes, start 90°, CCW): Hole 1 = 90°, Hole 2 = 150°, Hole 3 = 210°, Hole 4 = 270°, Hole 5 = 330°, Hole 6 = 30° (= 390° − 360°).

Formula 4: X and Y Coordinates for Each Hole

Cartesian Coordinates (Polar to Cartesian Conversion)
$$x_i = R \cdot \cos\!\left(\theta_i \cdot \frac{\pi}{180}\right) + X_{offset}$$ $$y_i = R \cdot \sin\!\left(\theta_i \cdot \frac{\pi}{180}\right) + Y_{offset}$$
Where: \(x_i, y_i\) = Cartesian coordinates of hole \(i\); \(R\) = radius (BCD/2); \(\theta_i\) = angle in degrees (converted to radians by multiplying by \(\pi/180\)); \(X_{offset}, Y_{offset}\) = center offset values you enter (default 0, 0).
Important: JavaScript and all programming languages compute \(\cos\) and \(\sin\) in radians, not degrees. The \(\times \pi/180\) conversion is critical — this is what a "calculator set to the wrong mode" error means in manual work.

Formula 5: Chord Length Between Adjacent Holes

Adjacent Chord Length (for Caliper Verification)
$$C = BCD \cdot \sin\!\left(\frac{180^{\circ}}{n}\right)$$
Where: \(C\) = straight-line distance between two neighboring hole centers; \(BCD\) = bolt circle diameter; \(n\) = number of holes.
Practical use: This is the single most useful verification measurement. Set your caliper to \(C\) and check the center-to-center distance between any two adjacent holes on your finished part. If it matches, the entire bolt circle is correct. This is far easier than measuring X/Y coordinates with a caliper.

Formula 6: Reverse Calculation — Find BCD from Chord Length

Reverse BCD Calculator Formula
$$BCD = \frac{C}{\sin\!\left(\dfrac{180^{\circ}}{n}\right)}$$
Where: \(C\) = measured center-to-center distance between two adjacent holes; \(n\) = number of holes; \(BCD\) = bolt circle diameter to be found.
Use case: You have an existing part (an old wheel hub, a pipe flange, a motor plate) where the bolt circle is blocked by a shaft or hub. Measure the distance between two neighboring holes with a caliper, count the holes, and the reverse calculator derives the full BCD instantly. This is the standard method for identifying unknown lug patterns and stud patterns.

Formula 7: Bolt Circle Circumference

Circumference of Bolt Circle
$$\text{Circumference} = \pi \times BCD$$
Use case: Useful for calculating arc length between holes (\(\text{Arc length} = \text{Circumference} / n\)) and for material estimation in circular flange fabrication. The arc length gives the distance along the bolt circle ring between centers, as opposed to the straight-line chord length.

Formula 8: Distance Between Any Two Holes

Euclidean Distance (General)
$$d_{ij} = \sqrt{(x_j - x_i)^2 + (y_j - y_i)^2}$$
Where: \((x_i, y_i)\) and \((x_j, y_j)\) are the coordinates of any two holes. Used internally by the calculator to fill the “Chord to Next” column in the results table. You can also apply this formula between any non-adjacent holes to find their direct distance.

Quick-Reference Formula Summary Table

#What It CalculatesFormulaKey Variable
1Radius\(R = BCD / 2\)R — radius
2Angle between holes\(\Delta\theta = 360^{\circ} / n\)n — hole count
3Angle of hole i\(\theta_i = \theta_{start} + (i-1)\Delta\theta\)\(\theta_{start}\) — start angle
4aX coordinate\(x_i = R\cos(\theta_i \cdot \pi/180) + X_{off}\)R, \(\theta_i\)
4bY coordinate\(y_i = R\sin(\theta_i \cdot \pi/180) + Y_{off}\)R, \(\theta_i\)
5Adjacent chord length\(C = BCD \cdot \sin(180^{\circ}/n)\)n — hole count
6Reverse: BCD from chord\(BCD = C / \sin(180^{\circ}/n)\)C — chord distance
7Circumference\(\text{Circ} = \pi \times BCD\)BCD
8Distance between any two holes\(d = \sqrt{(x_j-x_i)^2+(y_j-y_i)^2}\)Any two X/Y pairs

📊 Understanding Your Results & Outputs

After clicking Calculate, the results section displays four summary statistics and a full coordinate table. Here is what each output means and how to use it.

OutputWhere DisplayedHow to Use It
Radius (R) Summary stat box Half of BCD. Use this value to set your trammel, compass, or DRO radius for checking the pattern on the workpiece.
Angle Spacing (Δθ) Summary stat box Degrees between each adjacent hole. Use this to index a rotary table or check angular spacing with a protractor or angle gauge.
Chord Length (C) Summary stat box Straight-line distance between two adjacent hole centers. The best single verification measurement — set your caliper to this value and check any pair of neighboring holes.
Circumference Summary stat box \(\pi \times BCD\). Useful for arc length calculations and estimating material length for circular components.
Hole # (in table) Coordinate table Sequential hole number starting at 1. Matches the numbered labels in the SVG diagram. Program your DRO or CNC in this order unless your machine requires a different sequence.
Angle (°) Coordinate table The polar angle of each hole from the positive X-axis. Useful for rotary table setups where you index by angle rather than X/Y coordinates.
X Coordinate Coordinate table The horizontal position of each hole center, including any center offset. Enter directly into your CNC controller, DRO, or CAD software.
Y Coordinate Coordinate table The vertical position of each hole center. Paired with X to define the exact drilling position for each hole.
Chord to Next Coordinate table (last column) The Euclidean distance from each hole to the next hole in sequence. Use this with a caliper for quick per-hole verification during drilling.
All coordinates are in absolute mode from the center point (or from your specified X/Y offset origin). For incremental DRO or CNC use, subtract each coordinate from the previous one.

Advanced Features: Reverse Calculator, G-Code & CSV Export

Reverse Bolt Circle Calculator

The reverse BCD calculator is essential when working with existing parts. It uses the formula \(BCD = C / \sin(180^{\circ}/n)\) to find the full bolt circle diameter from two inputs you can measure with a caliper:

  • Chord Distance (C) — center-to-center distance between two adjacent holes
  • Number of Holes (n) — count the holes in the pattern

After clicking Find BCD, the result automatically fills the main BCD input field so you can immediately calculate all coordinates for the identified pattern.

Use the reverse calculator to identify unknown wheel lug patterns, reverse-engineer old pipe flange bolt patterns, or match replacement parts to existing bolt circles on machinery.

G-Code Export for CNC Machining

Clicking G-Code downloads a .nc file containing an absolute-mode G81 drilling cycle for all holes in the pattern. The exported file includes:

  • Header comments with BCD, hole count, and unit
  • G90 G21 absolute metric mode (change to G20 for inch)
  • G0 rapid moves to each hole X/Y position
  • G81 Z-10 drilling cycle with R2 retract height and F100 feed rate
  • G80 canned cycle cancel and M30 program end
Before use on a CNC machine: Adjust the Z depth (Z-10 is a placeholder), retract height (R2), and feed rate (F100) to match your material, tool, and machine requirements. Always dry-run above the workpiece first.

CSV Export for Excel and CAD

The Export CSV button downloads a comma-separated values file with columns for Hole number, Angle, X coordinate, Y coordinate, and Chord-to-next. This file can be:

  • Opened in Microsoft Excel or Google Sheets for documentation and review
  • Imported into CAD software as a point list for drawing reference
  • Saved as a project record alongside your engineering drawing
  • Shared with colleagues or clients as a coordinate specification document

Print for Shop Floor Use

The Print button opens the browser print dialog with a print-optimized layout. The printed output includes only the coordinate table and summary statistics — the header, buttons, and diagram are hidden for a clean, minimal shop floor reference sheet. Print to PDF to create a digital archive.

Quick Presets for Common Bolt Patterns

The five preset buttons fill in the most frequently used bolt pattern configurations. They are especially useful for:

  • Automotive lug patterns: 4×100, 5×114.3, and 6×139.7 cover the majority of passenger cars, crossovers, and light trucks
  • Flange bolt patterns: 8-hole flanges are standard in industrial piping and pressure vessel applications
  • Custom 3-hole layouts: Motor mounts, gearbox covers, and small machinery bases often use 3-hole patterns

Accuracy Note & Validation Tips

🔒 About Calculation Accuracy

This bolt circle calculator uses IEEE 754 double-precision floating-point arithmetic, which provides 15–17 significant digits of precision — far beyond what any physical measurement or machining process requires. The displayed precision is controlled by your chosen decimal places setting (2–5 places).

  • For manual drilling on a mill: 2–3 decimal places are sufficient and match typical DRO resolution.
  • For CNC machining and inspection: 3–4 decimal places are recommended for compliance with engineering tolerances.
  • For ultra-precision work: Use 5 decimal places. Note that most machine tools cannot achieve better than 0.001mm positioning accuracy, so additional decimal places beyond 4 are rarely needed in practice.
  • Always verify your first article: Use the chord length output with a calibrated caliper to verify center-to-center distance between two adjacent holes on the actual workpiece before drilling the full pattern.
  • The G-code output is provided as a starting point and must be reviewed and adjusted by a qualified CNC machinist before production use.

Input Validation Tips

If You See ThisLikely CauseHow to Fix It
Red border on BCD fieldEmpty, zero, or negative BCD valueEnter a positive number greater than zero matching your unit selection
Red border on Holes fieldNon-integer, less than 2, or greater than 100Enter a whole number between 2 and 100
Coordinates are twice too largeRadius entered instead of diameterRe-enter the full diameter (double the radius); BCD = 2 × R
Pattern is oriented incorrectlyWrong start angleAdjust start angle: 90° for top, 0° for right, 45° for 4-bolt diagonal
Holes mirror-image of drawingWrong rotation directionToggle between CCW and CW rotation direction
Pattern offset from expected positionNon-zero center offset enteredReset X and Y offsets to 0 if the pattern should be centered at the origin
Chord length doesn’t match physical measurementUnit mismatch (mm vs. inch)Verify the unit toggle matches the unit used for BCD input and your caliper

🔧 Use Cases: Flanges, Wheels, CNC, CAD & Fabrication

This bolt hole circle calculator is used across a wide range of industries and applications. Below are the most common use cases with specific guidance for each.

🔧 Pipe Flange Design

Look up the BCD from your ANSI B16.5, DIN, or ISO flange standard table. Enter the BCD and bolt count (typically 4, 8, 12, or 16 bolts). Use the G-code export for machining the flange face on a CNC mill. The chord length verifies bolt hole spacing on the finished flange.

🚗 Automotive Wheel Bolt Patterns

Use presets for 4×100, 5×114.3, or 6×139.7 patterns. For identifying unknown lug patterns on a vehicle, measure the center-to-center distance between adjacent wheel studs and use the reverse calculator to find the BCD.

🤖 CNC Machining Layout

Enter your workpiece zero as the center offset (X, Y). Export the G-code file and load it into your CNC controller. Each hole uses a G81 absolute drilling cycle. Adjust Z depth to match your material thickness plus clearance. Use 4–5 decimal places for tight tolerances.

💪 Manual Mill with DRO

Set your DRO to absolute mode and zero at the bolt circle center. Enter each X/Y coordinate pair from the coordinate table in sequence. Use the “Chord to Next” column to verify each move after drilling. The chord length is measurable with a caliper at each step.

📄 CAD Bolt Pattern Design

Export the CSV file and import the X/Y coordinate list into your CAD software as a point array. Use these points as circle centers for hole features. This is faster than manually placing each hole in Fusion 360, SolidWorks, or AutoCAD, especially for 8, 12, or 16-hole patterns.

Motor & Gearbox Mounting Plates

Motor mounting bolt patterns are often 3- or 4-hole circles specified by the motor frame size (IEC or NEMA standard). Enter the frame-size BCD and hole count. Use center offset to position the pattern relative to the plate edge for correct clearance.

💣 Fabrication Layout & Drilling Jigs

Print the coordinate table for use as a drilling layout sheet. Or export to CSV and use the chord length to set dividers or a trammel for manual center-punch layout. The SVG diagram can be scaled and printed as a drilling template for small production runs.

🎓 Educational Use & Training

The formulas section with full LaTeX math notation and the step-by-step explanation make this tool useful for teaching circular geometry and polar coordinate concepts in machining and engineering courses. Students can verify hand calculations against the tool output.

Frequently Asked Questions (FAQ)

Answers to the most common questions about bolt circle calculation, PCD/BCD measurement, and use of this free online tool.

  • BCD (Bolt Circle Diameter) and PCD (Pitch Circle Diameter) refer to the same measurement: the diameter of the imaginary circle that passes through the center of all bolt holes in a pattern. The term BCD is more common in automotive and wheel contexts, while PCD is used in mechanical engineering, flange design, and gear manufacturing. Both terms describe the same geometric circle and are interchangeable in this calculator.
  • Use the reverse calculator section (click to expand it). Enter the chord distance C (measured center-to-center between two adjacent holes) and set the hole count to 5. The formula used is: \[BCD = \frac{C}{\sin(180^{\circ}/5)} = \frac{C}{\sin(36^{\circ})} = \frac{C}{0.5878}\] For example, if C = 67.09mm on a 5-hole pattern, then BCD = 67.09 / 0.5878 ≈ 114.1mm, which is close to the standard 5×114.3 lug pattern.
  • For standard pipe flanges, 90° is the most common start angle because it places the first hole at the 12 o'clock position (top of the flange), which aligns with how flanges are typically oriented during installation. ANSI B16.5 flanges with an even number of bolts are straddled about the centerline, meaning no bolt falls exactly at the 0°, 90°, 180°, or 270° positions. For a straddled 4-bolt pattern, use a 45° start angle; for a straddled 8-bolt pattern, use 22.5°. Consult your specific flange standard for the exact orientation requirement.
  • The method depends on whether the hole count is even or odd:
    • Even holes (4, 6, 8, etc.): Measure center-to-center across any two directly opposite holes. That measurement IS the BCD.
    • Odd holes (3, 5, 7, etc.): No two holes are directly opposite. Instead, measure the center-to-center chord distance between two adjacent holes, count the holes, and use the reverse calculator: \(BCD = C / \sin(180^{\circ}/n)\).
    In both cases, measure from the center of one hole to the center of the adjacent hole using a caliper. Adding half the hole diameter at each end is not necessary if you measure from edge to edge and subtract one hole diameter.
  • Yes. Click the G-Code button after calculating. The exported .nc file uses G90 absolute mode, G81 drilling cycles for each hole position, and standard preparatory and miscellaneous function codes. You must edit the Z depth value (placeholder is Z-10) and the feed rate (placeholder is F100) to match your specific application. Always verify G-code on a dry-run above the workpiece before cutting. The calculator uses G21 (metric) by default; change to G20 for inch-mode machines.
  • The chord length is the straight-line distance between the centers of two adjacent holes in the bolt circle. It is calculated by the formula \(C = BCD \times \sin(180^{\circ}/n)\). It is the single most practical verification measurement you can make with a caliper. After drilling your bolt circle, check the center-to-center distance between any two neighboring holes — if it matches the calculator’s chord length, the entire pattern is correctly spaced. This is far easier than measuring X/Y coordinates from the workpiece origin, especially on a manual machine.
  • Yes, this is a free online bolt pattern calculator. It requires an internet connection to load the page (including MathJax for formula rendering and Google Fonts). Once the page is loaded, all calculations run entirely in your browser using JavaScript — no data is sent to any server. The tool works on desktop, tablet, and mobile browsers. For offline use, save the HTML file to your device from the download link at the top of the page.
  • Use the Center Offset fields (X and Y). Enter the coordinates of the bolt circle center relative to your workpiece zero point. For example, if your bolt circle center is 50mm to the right and 30mm above the workpiece origin, enter X = 50 and Y = 30. All output X/Y coordinates will then be offset by these values, giving you absolute machine coordinates that account for the pattern’s true position on the part.
  • The chord length is the straight-line distance between two adjacent hole centers — what a caliper measures. The arc length is the curved distance along the bolt circle ring between the same two points, equal to Circumference / n. In most machining and fabrication contexts, you use chord length for verification because it is directly measurable. Arc length is used in layout calculations for thin-ring components and is approximately equal to chord length for small angular separations (under about 30°).
  • All bolt circle calculators that correctly implement the polar-to-Cartesian conversion formulas produce identical results. This calculator uses the same mathematical formulas as professional tools including those from Little Machine Shop, Machinery’s Handbook, and commercial CAM software. The precision is limited only by the number of decimal places displayed — the underlying calculation uses double-precision floating-point arithmetic (15 significant digits). Any differences between tools are cosmetic (decimal places, rounding) rather than mathematical.

More Free Machining & Geometry Calculators

Explore the full suite of precision engineering tools — from flange design and hole spacing to CNC layout and PCD lookup.

📧 Never Miss a Great Calculator

Get weekly picks, new releases, and updates straight to your inbox. No spam, ever.

About Me – Muhiuddin Alam

Hello, I am Muhiuddin Alam, Founder and Chief Editor of SteelSolver.com.

With over two decades of experience in engineering, metalworking, and technical content creation, I build precision tools and calculators that help professionals optimize their projects.

What I Do: Structural design calculators, material optimization guides, and practical engineering resources — all free to use.

I consistently contribute to:

Explore our suite of calculators and tools to optimize construction, fabrication, architecture, and industrial projects for engineers, architects, fabricators, and metalworking professionals.

💌 Follow Me: LinkedIn | Google Knowledge Panel

Ready to Optimize Your Projects?

Start using our precision calculators today and experience the difference in accuracy, efficiency, and cost savings.

About – SteelSolver.com

300+ Calculators
100+ Guides
Free To Use

Precision Engineering Tools • Calculators • Expert Guidance

I am Muhiuddin Alam, Founder and Chief Editor of SteelSolver.com. My mission is to provide precision engineering tools, calculators, and expert resources that simplify metalworking, structural design, and industrial applications.

I've built a course-style learning ecosystem — a step-by-step roadmap from steel fundamentals to advanced applications. Each topic builds on the last, covering theory, practical calculations, tool-specific guides, real-world optimization, common mistakes, and cost management.

Every guide and calculator is part of a progressive learning series, taking you from awareness to mastery. With SteelSolver.com, you can save time, reduce waste, optimize materials, and ensure safety, making each project cost-effective, high-quality, and precise.

⚡ Trusted by Engineers Worldwide