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
Result
26 s
Machining 26 s · TNP 0 s
27 s
Mode realistic · TC × 1,05
139.4
Based on cycle time per part
0
1 tool
Estimated time: check it against your machine's actual cycle.
Cycle time breakdown
1 tool
Where the time goes
- L10
X60.G98: vuelve al plano inicial (+0.22 s de rápido; con G99 se evita si no hay obstáculos).6.9 s27% · ciclo - L11
X80. 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 - L9
G81 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 - L7
G43 Z80. H1 M3 S1800Spindle ramp-up.2.4 s9% · aux - L6
G0 X40. Y30.1.2 s5% · rapido - L13
G0 Z100. M51.0 s4% · rapido - L8
G0 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.
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.
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.
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.
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
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
Cutting parameters calculator
Cutting speed (Vc), rpm, feed and theoretical surface finish for turning, milling, drilling and threading by material and tool. A starting point.
Machining quote
Instant machining quote: material, machine time, setup per batch, secondary operations and margin. Free, no sign-up.