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.
We use first-party cookies and technical storage to make the site work, Google reCAPTCHA security technology and, only if you accept, Vercel analytics (no cookies, no cross-site tracking). You can accept or reject analytics; both options are equivalent and you can change your choice at any time. More info: Cookie policy, Privacy policy, Legal notice and Terms and conditions.
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.
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
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.
θᵢ = θ₀ ± 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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
Workshop trigonometry: right triangle, C chamfer, Z countersink, sine bar, taper and polar→X/Y for CNC operators.
List of G and M Codes for CNC Programming. Search and filter ISO commands by control, machine or function.
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.