CNC cycle time calculator

Paste your turning or milling G-code to estimate cycle time and parts per hour. Check the breakdown and adjust your machine timings. Free, no sign-up required.

G-code program

%
O2001 (EJEMPLO TC - TALADRO)
G21 G40 G49 G80 G90
T1 M6
G54
G0 X40. Y30.
G43 Z80. H1 M3 S1800
G0 Z5.
G81 Z-15. R2. F180.
X60.
X80. Y50.
G80
G0 Z100. M5
M30
%

Result

Time per part

26 s

Machining 26 s · TNP 0 s

Standard time

27 s

Mode realistic · TC × 1,05

Parts / hour

139.4

Based on cycle time per part

Tool changes

0

1 tool

ConfidenceMedium

Estimated time: check it against your machine's actual cycle.

Cycle time breakdown

1 tool

Where the time goes

  • L10X60.G98: vuelve al plano inicial (+0.22 s de rápido; con G99 se evita si no hay obstáculos).6.9 s27% · ciclo
  • L11X80. Y50.G98: vuelve al plano inicial (+0.22 s de rápido; con G99 se evita si no hay obstáculos).6.9 s27% · ciclo
  • L9G81 Z-15. R2. F180.G98: vuelve al plano inicial (+0.11 s de rápido; con G99 se evita si no hay obstáculos).6.4 s25% · ciclo
  • L7G43 Z80. H1 M3 S1800Spindle ramp-up.2.4 s9% · aux
  • L6G0 X40. Y30.1.2 s5% · rapido
  • L13G0 Z100. M51.0 s4% · rapido
  • L8G0 Z5.0.9 s4% · rapido

Savings hints

  • G98 in 3 cycle block(s): 0.5 s returning to the initial plane. With G99 (return to the R plane) you would save it when there are no obstacles between holes.
  • A single block (L10) takes 27% of the cycle time: X60..

This calculator only estimates times. For material, rates and €/part, send the program and the cycle time to the machining quote.

Cutting parameters

CNC cycle time calculator from G-code

Estimate the cycle time of a Fanuc/ISO program (lathe or mill) in the browser: cutting, rapids, cycles, dwells and tool changes. The calculation runs in the browser, without opening CAM. For a part cost, send the result to the machining quote.

01

Load your CNC program

Paste or import your turning or milling G-code. The calculator estimates cutting, rapids, canned cycles, dwells and tool changes. Check the detections: movements without a valid feed rate may be excluded from the calculation.

02

Adjust your machine timings

Set rapid speed, tool change time and loading/unloading time if you want to include it. For turning, stock diameter helps with G71 and G96. Check that the values match your machine before using the result.

03

Check cycle time and production capacity

Parts/hour = 60 ÷ cycle time in minutes. A 2-minute cycle gives a theoretical 30 parts/hour. Review machining and non-productive time; actual production also depends on downtime and loading/unloading.

Frequently asked questions

How is cycle time (TC) calculated from a G-code?

We add cutting times (length ÷ effective feed), G00 rapids, canned cycles (G71/G72/G81/G83/G76…), G04 dwells, G28, spindle ramps and tool changes. The result is an indicative cycle time per part based on your machine profile.

What machine data should I indicate?

At minimum the rapid rate (mm/min) and the tool change time. Optionally overhead per G00, acceleration, spindle ramp, G28 and approach after change. If you leave a field empty, typical shop values are used.

Why order the gross/stock?

On a lathe, the Ø (and optionally the length) improves the estimate of G71/G72 roughing and G96. On a mill, X×Y×Z helps put pocketing in context; if you don't have it, you can still estimate from the program alone.

Is it 100% reliable against the machine clock?

No. It is a deterministic estimate: it does not model full look-ahead, PLC or live overrides. Use it to compare programs and plan the machine; validate the real cycle time on the machine or control simulator.

How is it different from GetGCode Viewer?

This tool is focused only on the TC: paste/import, machine profile, breakdown and parts/hour. The Viewer adds editing, 2D/3D toolpath, warnings and AI. You can open the same program in the Viewer with one click.

Can I use it to quote?

No: this tool only estimates time. For a part cost (material, machine, tools, margins and batch) send this program and the cycle time to the GetGCode machining quote.

Related tools