# CNC milling cycle time: formula, worked example and batch setup

Calculate CNC milling time from toolpath length and feed. Follow a worked batch example that separates cutting, tool changes, rapids and setup.

Canonical: https://4g3n7.com/blog/cnc-milling-cycle-time-formula/

Published: 2026-12-01. Reviewed: 2026-12-01.

## Short answer
Ideal milling cutting time in minutes = total cutting travel in mm ÷ table feed in mm/min. Add non-cutting time for each part; batch time = setup once + quantity × cycle time. A 3-minute cut plus 1.5 minutes of other time, repeated 20 times with 25 minutes setup, takes an estimated 115 minutes.

A spindle speed is not a production-time estimate. This guide connects the feed calculation to a complete batch allowance, with an original operation breakdown and quantity comparison. The examples are arithmetic illustrations, not cutting recommendations for a material or tool.

## Start with actual cutter travel and matching feed units
Use the tool-centre path length for the operation, including every cutting pass. Do not substitute the perimeter of the finished part for a pocketing, ramping or multi-depth toolpath. If the total length already includes repeated passes, do not multiply by passes again.

Sandvik defines machining time as machining length divided by table feed. With constant inputs, table feed = feed per effective tooth × RPM × effective teeth. This duration estimate uses an entered, appropriate feed; it cannot select a safe one. If operations use different feeds, divide each length by its own feed and add the times.


## Worked example: a three-minute cut is a 4.5-minute cycle
For this invented example, 0.025 mm/tooth × 6,000 RPM × 4 effective teeth gives 600 mm/min. A total cutting path of 1,800 mm then needs 1,800 ÷ 600 = 3 minutes at steady feed. Tool diameter and cutting speed still need a separate manufacturer-data check.

Assume 0.75 minute of rapid travel and two tool changes taking 0.375 minute each. These are explicit example allowances, not universal machine timings. In the machining-time calculator enter length 1,800, feed 600, rapid time 0.75, two changes, 0.375 minute per change, setup 25 and quantity 20.


Original milling estimate: minutes, not seconds

| Time component | Calculation | Minutes |
| --- | --- | --- |
| Cutting per part | 1,800 ÷ 600 | 3 |
| Rapid travel per part | Entered allowance | 0.75 |
| Tool changes per part | 2 × 0.375 | 0.75 |
| Cycle per part | 3 + 0.75 + 0.75 | 4.5 |
| Batch of 20 | 25 + 20 × 4.5 | 115 |
| Allocated per part | 115 ÷ 20 | 5.75 |

## Quantity changes setup allocation, not cutting speed
Hold the same 4.5-minute cycle and 25-minute batch setup. The comparison below changes quantity only. Allocated minutes per part = cycle + setup ÷ quantity. That allocation is useful for quoting; it does not mean the machine physically cuts each piece at a different speed.


One setup per batch: original quantity comparison

| Quantity | Batch minutes | Allocated minutes per part |
| --- | --- | --- |
| 1 | 29.5 | 29.5 |
| 5 | 47.5 | 9.5 |
| 20 | 115 | 5.75 |
| 100 | 475 | 4.75 |

## Why a CAM estimate and a stopwatch can disagree
Length divided by feed assumes steady motion. Short segments, corners, acceleration limits, spindle ramping and feed overrides can change elapsed time. Probing, deburring, inspection and loading may also occupy the machine or operator without appearing as cutting length.

Keep an operation log with planned time, measured time and the missing component. The current calculator has explicit rapid and tool-change allowances; it does not have a dedicated loading or inspection field. Add those separately to your quote rather than pretending they were automatically modelled. Do not add a CAM total that already includes rapids and tool changes to those components again.


## Turn minutes into a quote without double counting
At an illustrative machine rate of 60 currency units/hour, 115 allocated machine minutes cost 115 units in this example. Add material, separately charged labour and other excluded costs as appropriate. If the hourly rate already includes an operator or overhead, do not charge the same component twice.

Keep setup, cycle, billable machine time and operator attendance distinct in your own records. Compare estimates with safely completed jobs before committing to a price. This guide is not CAM verification, a collision check or a guarantee of production time.


## Sources
- [Sandvik Coromant: milling feed, units and machining-time definitions](https://www.sandvik.coromant.com/en-gb/knowledge/machining-formulas-definitions/milling-formulas-definitions)

Review trigger: 4g3n7 editorial: recheck if the linked manufacturer formulas or live calculator model change; review recorded versus estimated time before using a quotation.

## Related tools
- [CNC Machining Time Calculator](https://4g3n7.com/cnc-machining-time/): Estimate machining cycle and total batch time from cutting length, feed, rapids, tool changes and setup.
- [CNC Speeds and Feeds Calculator](https://4g3n7.com/cnc-speeds-feeds-calculator/): Calculate spindle speed, table feed, feed per revolution and cutting time from metric tool data.
- [Margin & Markup Calculator](https://4g3n7.com/markup-margin-calculator/): Convert between cost, selling price, profit, gross margin and markup without confusing the two percentages.

## Related guides
- [Drilling time formula: holes, feed rate and peck-cycle limits](https://4g3n7.com/blog/cnc-drilling-time-formula/): Estimate drilling time from feed per revolution, RPM, axial travel and hole count. Follow a batch example and see what peck-cycle estimates must add.
- [CNC turning cycle time formula: free Excel-compatible worksheet](https://4g3n7.com/blog/cnc-turning-cycle-time-formula-excel/): Calculate turning time from length, mm/rev and RPM. Download a free Excel-compatible CSV with formulas for passes, handling, setup and batch quantity.
- [Convert mm/rev to mm/min: feed per tooth, RPM and worked examples](https://4g3n7.com/blog/feed-per-revolution-to-mm-min/): Convert feed per revolution to mm/min using RPM, distinguish mm/tooth from mm/rev, and check worked milling and turning examples before estimating time.
