Free tool
CNC speeds and feeds calculator
Spindle speed is RPM = cutting speed × 1000 ÷ (π × D) (metric) or RPM = SFM × 12 ÷ (π × D) (inch). Feed rate is F = RPM × flutes × chip load. Enter your cutter and the maker's cutting data below to get the S and F words for your program.
The worked example, step by step
A 10 mm, 3-flute end mill with a maker's cutting speed of 120 m/min and a chip load of 0.04 mm per tooth:
- Spindle speed: 120 × 1000 ÷ (π × 10) = 3,820 RPM. In the program:
S3820 M03. - Feed rate: 3,820 × 3 × 0.04 = 458 mm/min. In the program:
G01 … F458.with G94 (feed per minute) active.
The same cutter in inch: 0.394 in at 394 SFM gives 394 × 12 ÷ (π × 0.394) ≈ 3,820 RPM; the shop shortcut is 3.82 × SFM ÷ diameter.
Things the formula does not know
- Your tool and material. Cutting speed and chip load come from the cutter maker's data for that tool in that material. This calculator does the arithmetic; it does not pick the numbers.
- Small diameters hit the RPM limit. A 3 mm cutter at 200 m/min wants 21,221 RPM. On a 12,000 RPM spindle the real cutting speed is 113 m/min; enter the limit and the feed is calculated from the speed you actually get.
- Lathes in G96. With G96 constant surface speed the control does this calculation all the time from the current diameter, which is why a G50 RPM limit is set first: near the centre the RPM would otherwise climb without a cap.
- Feed per revolution. In G95 (mill) or G99 (lathe), F is per revolution: use flutes × chip load (mill) or the feed per revolution directly, not the per-minute figure.
The S and F words are the easy part of a program; reading the rest at a glance takes practice. Drill the core codes or paste a program into the G-code explainer.
More practice hubs
Frequently asked questions
- How do you calculate spindle RPM?
- RPM = cutting speed × 1000 ÷ (π × diameter) in metric, with cutting speed in m/min and diameter in mm. In inch: RPM = SFM × 12 ÷ (π × diameter), often written as RPM ≈ 3.82 × SFM ÷ diameter. A 10 mm cutter at 120 m/min turns at about 3,820 RPM.
- How do you calculate the feed rate for a CNC mill?
- Feed = RPM × number of flutes × chip load per tooth. At 3,820 RPM with 3 flutes and 0.04 mm per tooth, the feed is about 458 mm/min, written F458. in a G01 line.
- Where do the cutting speed and chip load come from?
- From the cutter maker's data for your tool and material: catalogues and websites list a cutting speed range and a chip load per tooth for each diameter. Start in the middle of the range and adjust from the sound, the chips and the finish.
- What happens if the calculated RPM is above the machine's maximum?
- The spindle cannot go faster than its limit, so the real cutting speed is lower than planned. Enter the limit in the calculator: it caps the RPM, shows the cutting speed you actually get, and calculates the feed from the capped RPM so the chip load stays right.
G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.