Skip to content
Create account

CNC cycle time calculator

Calculate the cycle time of a CNC lathe or mill program: cutting, rapids, canned cycles and tool changes, time per tool, slowest blocks and parts per hour.

+X+YTool centre with G41/G42 compensationHomeHome
0:00 / 1:24
%
O2001 (CYCLE TIME - 80 X 50 PLATE WITH TWO TOOLS)
G21 G17 G40 G49 G80 G90
T1 M06 (END MILL D10)
G54 G00 X-8. Y-8. S3200 M03
G43 H1 Z50. M08
Z2.
G01 Z-3. F300
G41 D1 X0. Y0. F600
Y50.
X80.
Y0.
X0.
G40 X-8. Y-8.
G00 Z50.
T2 M06 (DRILL D8)
G00 X15. Y15. S1800 M03
G43 H2 Z50.
G81 G98 Z-15. R2. F180
X40.
X65.
Y35.
X40.
X15.
G80
G00 Z100. M09 M05
M30
%

Cycle time

1 min 24 s

1 tool change

Per pieceno load and unload
1 min 24 s
Standard timerealistic · TC × 1.05
1 min 28 s
Parts / hourfrom the time per part
42.8
Cutting and cycles
1 min 3 s75%
Rapids
16 s19%
Tool changes
2 s2%
Dwells, G28 and spindle
3 s4%

What affects it

Fast
10000 mm/min
Feed override
100 %
Rapid override
100 %
Change time
2 s
Look-ahead
On
By tool
  • T141 % of cycle time
    34 s
    Cut 29 sRapids 3 sOther 1 s
  • T259 % of cycle time
    50 s
    Cut 34 sRapids 12 sOther 4 s
Slowest blocks

Where to save time

G98 in 6 cycle block(s): 5.0 s returning to the initial plane. With G99 (return to the R plane) you would save it when there are no obstacles between holes.

Guide

CNC cycle time calculator from G-code

Paste the program and the cycle time appears at once, from the same engine that plays the toolpath in 2D and 3D: how long each tool takes, which blocks eat the most time and how many parts per hour you get. It all runs in your browser; the program is not uploaded anywhere.

Example: where the plate's time goes

The split the simulator works out for this page's program, with the default machine values.

Program

T1 M06 (END MILL D10)
G54 G00 X-8. Y-8. S3200 M03
G43 H1 Z50. M08
Z2.
G01 Z-3. F300
G41 D1 X0. Y0. F600
Y50.
X80.
Y0.
X0.
G40 X-8. Y-8.
G00 Z50.
T2 M06 (DRILL D8)
G00 X15. Y15. S1800 M03
…

Cycle time

  • Total: 1 min 24 s
  • Cutting and cycles: 1 min 3 s (75%)
  • Rapids: 16 s (19%)
  • Dwells, G28 and spindle: 3 s (4%)
  • Tool changes: 2 s (2%)
1

How the cycle time is calculated

Cutting is each move's length divided by the real feed: mm/min, or mm/rev with the rpm (in G96, capped by G50 or LIMS). Rapids use the machine's acceleration; canned cycles are counted pass by pass (lathe G71/G72, G81–G89 drilling, G76 and G92 threading); and G04 dwells, G28 returns and tool changes with their move to the change position are added.

2

Set up your machine in Setup

Rapid rate, tool change time (on a lathe, the turret index), feed and rapid overrides, look-ahead and tool change position. Empty fields use typical shop values. You can save a profile per machine and pick it for the next program.

3

Per tool and slowest blocks

The Times tab splits the total into cutting, rapids, changes and dwells, shows each tool's share and lists the slowest blocks: one click takes you to that line in the editor. It is the quick way to see where the cycle goes before touching feeds.

4

Time per part and parts per hour

In Setup → Production enter the load and unload seconds per part. Times adds them to the cycle and works out parts per hour: 60 divided by the time per part in minutes (2 minutes per part is 30 parts per hour). It also gives the standard time, the CT with the estimation mode factor.

5

Fanuc, Haas, Siemens, Heidenhain and Fagor

It detects the control and understands its cycles: Sinumerik CYCLE95 and patterns, Heidenhain Klartext cycles and Q parameters, the Fagor 8055 language and Fanuc macros. If the program uses something the simulator does not reproduce (5-axis, for example), it says so: that section may not add up correctly.

6

Cutting the time with AI

With «Optimize CT with AI» (Pro), the advisor looks at feeds and speeds for the material, unnecessary rapids and retracts, operation order and tool changes, and proposes changes on specific lines. Each proposal is timed with the same engine before you apply it, and you can add the drawing so it accounts for tolerances and finishes.

7

From time to quote

The machining quote works out the program time with this same engine and adds material, machine rates and batch size to give you the price per part: upload the same file there.

Frequently asked questions

CNC cycle time FAQ

How is cycle time calculated from G-code?

By adding cutting (length over feed), rapids with the machine's acceleration, canned cycles pass by pass, dwells, G28 returns and tool changes. This calculator does it block by block with your machine profile.

What machine data do I need?

At least the rapid rate (mm/min) and the tool change time. The overrides you run, look-ahead and the change position improve the result. Without them, typical values are used.

Is it exact compared with the machine clock?

It is an estimate: it does not know the PLC or each control's internal timings. It is good for comparing programs, planning and quoting; to fine-tune it, time a real cycle and adjust the machine profile.

How do I calculate parts per hour?

Parts per hour = 60 ÷ time per part in minutes, including load and unload. Enter those seconds in Setup → Production and the Times tab gives you parts per hour.

Does it work for lathes and mills?

Yes. It detects whether the program is for a lathe or a mill and applies what each needs: diameter and capped G96 on the lathe, drilling cycles and pockets on the mill.

Can the AI tell me what to change to cut the time?

Yes, with «Optimize CT with AI» (Pro): it proposes changes on specific lines and measures each one with the simulator before you apply it. Raising feeds or speeds needs shop-floor judgement, so check tool, workholding and material before accepting.

Can I use it for quoting?

This calculates the time. For the price per part, send the program to the machining quote, which adds material, rates and batch size.

Keep going

Related apps