Hole Circle Calculator (Bolt Circle/PCD)

X/Y coordinates, preview, CSV and G81/G83 G-code from the PCD, number of holes and start angle. Ideal for flanges and circular patterns without CAM.

Calcula el patrón circular (PCD/BCD): coordenadas absolutas e incrementales, vista previa, CSV y G-code (Fanuc G81/G83, Siemens CYCLE81/83 o Heidenhain CYCL 200). 0° = eje +X (las 3); 90° = primer agujero arriba.

Patrón

Angular pitch

60.0000°

Adjacent chord

50mm

Radius

50mm

PCD desde cuerda

Measure center to center between two neighbouring holes and enter the total count.

85.065 mm

G-code CNC

(CIRCULO DE AGUJEROS / PCD - 6 agujeros)
G21 G90 G17
M3 S1800
G0 Z5.000
G0 X50.000 Y0.000
G81 Z-10.000 R2.000 F120.000
X25.000 Y43.301
X-25.000 Y43.301
X-50.000 Y0.000
X-25.000 Y-43.301
X25.000 Y-43.301
G80
G0 Z5.000
M5
M30

Indicative Fanuc/ISO. Validate depths, plane and origin on your control. G/M codes

How to calculate a bolt circle without CAM

Obtén coordenadas X/Y exactas, vista previa, CSV y G-code (Fanuc G81/G83, Siemens CYCLE81/83 o Heidenhain CYCL 200) a partir del diámetro de paso, el número de agujeros y el ángulo inicial. Pensada para programar bridas, tapas y patrones circulares sin CAM.

bolt circle formula

θᵢ = θ₀ ± i·(360°/n); Xᵢ = Xc + (PCD/2)·cos(θᵢ); Yᵢ = Yc + (PCD/2)·sin(θᵢ). 0° = +X axis (3 o'clock). Use 90° if the drawing shows the first hole at the top.

From chord to PCD

If you measure the distance between neighbouring holes: PCD = C / sin(180°/n). Ideal for 5×… wheel rims or odd-count flanges where diametral caliper measurement is impossible.

From coordinates to machine

Copia la tabla, exporta CSV o genera el ciclo de tu control. Abre el programa en el Viewer para revisar trayectoria y TC antes de taladrar.

Frequently asked questions

What is the PCD or BCD in a circle of holes?

PCD (Pitch Circle Diameter) and BCD (Bolt Circle Diameter) are the diameter of the imaginary circle passing through the center of all the holes. It is measured center to center, not edge to edge of the hole nor the flange's outer diameter.

How are the X/Y coordinates of each hole calculated?

With radius R = PCD/2 and angle θᵢ = θ₀ ± i·(360°/n): X = Xc + R·cos(θ), Y = Yc + R·sin(θ). The 0° angle is on the +X axis (3 o'clock); 90° places the first hole at the top (12 o'clock).

How do I get the PCD if I only measure the distance between two neighboring holes?

Measure the chord C (center to center) between two adjacent holes and use PCD = C / sin(180°/n), where n is the total number of holes. It is the usual method for 5- or 7-hole patterns where you cannot measure diametrally.

What direction of rotation should I use in CNC?

The meaning only changes the numbering order. In plane G17 seen from above, many programmers use counterclockwise (mathematical). Choose the one that matches the plan or the drilling order you want on the machine.

Can I generate G81 or G83 directly?

Sí. Elige control y ciclo: Fanuc/Haas/ISO (G81/G83 o G0/G1), Siemens (MCALL CYCLE81/CYCLE83) o Heidenhain (CYCL DEF 200 + L … M99). Revisa siempre profundidades y plano de seguridad en tu máquina; puedes abrir el programa en el GetGCode Viewer.

mm or inches?

You can work in mm (G21) or inches (G20). All fields (PCD, center, Z, R, F) use the same unit. Do not mix units in the same calculation.

What are the dX and dY columns for?

They are increments from the previous hole (the first one with respect to the center). Useful in DRO or in G91 incremental programming if your control or workshop habit requires it.

Related tools