Bolt Hole Pattern Calculator: How to Measure
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A bolt hole pattern calculator works out the coordinates or angular spacing of bolt holes around a circle, typically for flanges, wheels, or mounting plates. You enter the number of holes, the bolt circle diameter (BCD), and the starting angle, and it returns the X/Y positions or the angle between each hole. This page explains the math behind the pattern and shows you how to use the calculator correctly.
Formula
The bolt hole pattern is defined by equally spaced points on a circle. For a circle with diameter D and N holes, the angular step between holes is:
θ = 360° / N
For the i-th hole (starting at i = 0), the coordinates are:
Xi = (D/2) × cos(α + i × θ)
Yi = (D/2) × sin(α + i × θ)
Where:
- D = bolt circle diameter (mm, inches, or any unit)
- N = number of holes
- α = starting angle in degrees (0° = positive X-axis, angles increase counterclockwise)
- θ = angular step in degrees
- Xi, Yi = coordinates of the i-th hole center, relative to the circle center
The coordinates are relative to the center of the bolt circle. If you need absolute positions, add the center coordinates of your part to each X and Y.
Worked Example
Using the default values from the calculator: 5 holes, bolt circle diameter 100 mm, starting angle 0°.
- Angular step: θ = 360° / 5 = 72°
- Radius = 100 / 2 = 50 mm
- Hole 1 (i=0): X = 50 × cos(0°) = 50.00, Y = 50 × sin(0°) = 0.00
- Hole 2 (i=1): X = 50 × cos(72°) ≈ 15.45, Y = 50 × sin(72°) ≈ 47.55
- Hole 3 (i=2): X = 50 × cos(144°) ≈ -40.45, Y = 50 × sin(144°) ≈ 29.39
- Hole 4 (i=3): X = 50 × cos(216°) ≈ -40.45, Y = 50 × sin(216°) ≈ -29.39
- Hole 5 (i=4): X = 50 × cos(288°) ≈ 15.45, Y = 50 × sin(288°) ≈ -47.55
The calculator shows the first two holes as 50.00, 0.00 and 15.45, 47.55, matching the manual calculation. The pattern is symmetric; holes 3, 4, and 5 are just rotations of the first two.
When to Use a Bolt Hole Pattern Calculator
You need this calculator whenever you drill or machine a set of holes that must be evenly spaced around a circle. Common applications include:
- Flanges for pipes or shafts
- Wheel lug patterns (e.g., 5×114.3 mm)
- Mounting plates for motors or gearboxes
- Optics and camera adapters
- Bolt circles for pressure vessels or covers
The calculator is especially useful when you are using a CNC mill or a digital readout (DRO) that needs X/Y coordinates, rather than manual layout with dividers. It also helps verify a pattern before cutting expensive material.
How to Choose the Right Inputs
The most critical input is the bolt circle diameter (BCD). This is the diameter of the circle that passes through the centers of all holes, not the diameter of the part itself. For flanges, the BCD is usually given in the standard or drawing. For wheel lug patterns, the BCD is measured differently depending on the number of lugs:
- 4 or 6 lugs: measure center-to-center of opposite holes.
- 5 lugs: measure from the center of one hole to the outer edge of the hole opposite it (a common method), then multiply by 1.7012 to get the BCD. Alternatively, measure from the center of one hole to the center of a non-adjacent hole and use a reference table.
Also decide on the starting angle. Usually 0° is fine, but if you need a hole at a specific position (like top-dead-center), set the starting angle accordingly. The calculator uses counterclockwise positive angles, which is standard in mathematics. If your machine uses clockwise angles, you can negate the angle or reverse the Y coordinate.
Common Mistakes and How to Avoid Them
Even with a calculator, errors happen. The most frequent mistakes are:
- Using the part diameter instead of the BCD. The BCD is smaller than the part diameter unless the holes are at the very edge.
- Mixing units. If you enter the BCD in inches and the calculator expects millimeters, the coordinates will be off by a factor of 25.4. Always stick to one unit.
- Forgetting the starting angle. If you set 0° but your part has a datum at 90°, all holes will be rotated. Double-check the orientation before drilling.
- Rounding too early. If you round the angular step to 72.0° and then compute coordinates, you may get slight errors. Use full precision in intermediate steps.
- Confusing X and Y. On some machines, the coordinate system is rotated. Verify which axis is which.
To avoid these, always do a dry run on scrap material or mark the first hole and verify its position with a caliper before drilling the rest.
Limitations of the Calculator
This calculator assumes a perfect circle and perfectly spaced holes. In reality, your drilling machine may have runout, the material may shift, or the drill bit may wander. The calculator gives ideal coordinates; it does not account for:
- Hole diameter tolerance (the hole center is what matters, not the hole edge)
- Material warping or clamping distortion
- Machine backlash or thermal expansion
- Non-standard patterns (e.g., two different radii on the same flange)
For high-precision work, always verify the first hole after machining and adjust if necessary. The calculator is a planning tool, not a substitute for good machining practice.
Alternatives to a Coordinate Calculator
If you don’t have access to this calculator, you can still lay out a bolt circle using manual methods:
- Dividers and a center punch: Set the dividers to the radius and step around the circle. This works well for 3, 4, or 6 holes, but is error-prone for 5 or 7 holes.
- Sine bar or angle gauge: Use a rotary table on a mill, or a protractor and a straightedge, to index each angle.
- CAD software: Draw the circle and use the “polar array” or “circular pattern” tool to place the holes, then export coordinates.
- Online PCD templates: Print a paper template for common patterns (e.g., 5×114.3) and tape it to the part. This is fine for low-precision work.
For one-off parts, the calculator is faster and more accurate than manual layout. For production, a CNC machine with a fixture is best.
Frequently Asked Questions
How do I measure the bolt circle diameter on a 5-lug wheel?
For a 5-lug wheel, the standard method is to measure from the center of one lug hole to the outer edge of the hole directly opposite it. Multiply that distance by 1.7012 to get the BCD. For example, if you measure 67.3 mm, the BCD is 67.3 × 1.7012 ≈ 114.5 mm, which is close to the common 114.3 mm pattern.
What is the difference between PCD and BCD?
PCD stands for Pitch Circle Diameter, and BCD stands for Bolt Circle Diameter. They are the same thing: the diameter of the circle that passes through the centers of the bolt holes. The term PCD is more common in automotive and European engineering, while BCD is used in general machining.
Can I use this calculator for a flange with a gasket?
Yes, but the bolt circle is defined by the holes, not the gasket. The gasket may have a different bolt circle, so always use the flange’s BCD from the drawing or standard. If the gasket is not standard, measure the hole centers on the flange directly.
What if I need holes at different radii?
This calculator only handles a single bolt circle. If you have holes on two different radii (e.g., a flange with an inner and outer bolt circle), you need to calculate each circle separately. You can run the calculator twice with different diameters and then combine the coordinates.
Does the starting angle matter if the pattern is symmetric?
Yes, it matters for orientation. Even if the pattern is symmetric, a 5-hole pattern rotated by 36° will look different relative to a keyway or a mounting feature. Always set the starting angle to match your part’s datum.
Can I use inches instead of millimeters?
Yes, the calculator works with any unit as long as you are consistent. The coordinates will be in the same unit you entered. Just be careful not to mix units.
Related
Formula used
in n | Number of holes | - | 5 | 3 in d | Bolt circle diameter | mm | 100 | 10 in a | Starting angle | deg | 0 | 0 out angle_step | Angle between holes | deg | 360 / n | 2 out x1 | First hole X | mm | (d/2) * cosd(a) | 2 out y1 | First hole Y | mm | (d/2) * sind(a) | 2 out x2 | Second hole X | mm | (d/2) * cosd(a + 360/n) | 2 out y2 | Second hole Y | mm | (d/2) * sind(a + 360/n) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.