🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Manufacturing & Marine › CNC Machining › G-Code Programming for CNC Mills and Lathes › Lesson 4
MFG-CNC14-04 · Lesson 4 · 12 clock hours · theory

Speeds, Feeds, and Cutting-Parameter Blocks

Objective. Students calculate correct spindle speed (RPM) and feed rate (IPM) from given cutting-speed and chip-load data, then write properly formatted S-word and F-word blocks for steel, aluminum, and nylon workpiece materials.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by a licensed engineer or certified journey-level tradesperson or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

Why Speeds and Feeds Matter

Setting the wrong spindle speed or feed rate is one of the fastest ways to break a tool, scrap a part, or create a dangerous situation at the machine. Chips that are too thick can snap an end mill or stall a spindle; speeds that are too high generate excess heat that work-hardens steel, melts aluminum onto the flute, or ignites nylon dust. Before you write a single S-word or F-word into a program, you must understand where those numbers come from and how to verify they are safe.

The Two Core Formulas

Spindle Speed (RPM)

The machine does not cut at RPM — it cuts at surface feet per minute (SFM), also called cutting speed (CS). SFM is a property of the workpiece material and tool material combination. The formula converts SFM to the RPM your spindle must turn for a given tool diameter:

```

RPM = (CS × 12) / (π × D)

```

Simplified, this is often written as RPM = (CS × 3.82) / D, because 12 ÷ π ≈ 3.82.

Feed Rate (IPM)

Once you know RPM, calculate how fast the table (or tool) moves in inches per minute:

```

IPM = RPM × chip-load × number of flutes

```

Chip-load is the thickness of the chip each cutting edge removes per revolution. Too thin a chip causes rubbing and heat; too thick a chip overloads the cutting edge.

Reading a Feeds-and-Speeds Chart

Reference charts from Kennametal, Sandvik, and similar manufacturers list recommended SFM and chip-load by:

1. Workpiece material group (e.g., carbon steel, 6061 aluminum, nylon/plastics)

2. Tool material and coating (uncoated HSS, TiAlN-coated carbide, etc.)

3. Tool diameter and operation type (roughing vs. finishing)

Always match all three columns before pulling a number. Finishing operations typically use higher SFM and lower chip-load than roughing. When in doubt, start conservatively — you can increase feed rate after the first test cut.

Typical SFM and Chip-Load Ranges (Carbide Tooling)

| Material | Typical SFM Range | Chip-Load (per tooth, ½" end mill) |

|---|---|---|

| Mild carbon steel | 250–400 SFM | 0.002–0.004 in |

| 6061 Aluminum | 600–1000 SFM | 0.004–0.006 in |

| Nylon / plastics | 400–700 SFM | 0.004–0.008 in |

These are representative ranges only. Always confirm with the specific chart for the exact tool and grade you are using.

Writing S-Word and F-Word Blocks

In standard G-code (EIA/ISO format as used on Haas and most Fanuc-based controllers):

A properly formatted speed-and-feed block looks like:

```

S1200 M03

G00 Z0.1

G01 Z-0.25 F15.0

```

You may also combine them on one line if the controller accepts it:

```

G01 X3.0 F15.0 S1200 M03

```

However, best practice is to establish spindle speed before commanding motion, so the spindle reaches speed before the tool engages the workpiece.

Safety Rules — Non-Negotiable

Rounding and Practical Application

Calculated RPM and IPM values rarely come out to whole numbers. Round RPM to the nearest 10 RPM and IPM to one decimal place. Many shops program to round numbers slightly below the calculated value as a conservative first pass. After a successful test cut, you may increase by small increments.

Common Errors in S and F Words

Key terms8

Cutting Speed (CS / SFM)The speed at which the cutting edge moves across the workpiece surface, measured in surface feet per minute (SFM). It is a property of the material pair (tool and workpiece) and is looked up from a reference chart.
Spindle Speed (RPM)The rotational speed of the machine spindle in revolutions per minute. Calculated from cutting speed and tool diameter using RPM = (CS × 12) / (π × D).
Feed Rate (IPM)The linear velocity of the tool relative to the workpiece in inches per minute. Calculated as IPM = RPM × chip-load × number of flutes.
Chip-Load (IPT)The thickness of the chip removed by each cutting edge per revolution, measured in inches per tooth (IPT). Looked up from a manufacturer feeds-and-speeds chart for the specific tool and material.
S-WordThe G-code address letter S followed by a number that sets spindle speed in RPM. Must be paired with M03 or M04 to actually start the spindle.
F-WordThe G-code address letter F followed by a number that sets the programmed feed rate, typically in inches per minute (IPM) when G94 modal mode is active.
G94 / G95Modal G-codes that set how the F-word is interpreted. G94 = feed per minute (IPM); G95 = feed per revolution (IPR). Most milling programs run in G94.
Roughing vs. Finishing ParametersRoughing operations use higher chip-loads and lower SFM to remove material quickly; finishing operations use lower chip-loads and higher SFM to achieve better surface finish with less tool deflection.

Worked examples4

1. Calculate RPM and IPM for a 4-flute, ½-inch diameter carbide end mill slotting mild carbon steel. Use CS = 300 SFM and chip-load = 0.003 IPT.
  1. Write the RPM formula: RPM = (CS × 12) / (π × D)
  2. Substitute values: RPM = (300 × 12) / (3.1416 × 0.5)
  3. Numerator: 300 × 12 = 3600
  4. Denominator: 3.1416 × 0.5 = 1.5708
  5. RPM = 3600 / 1.5708 = 2292.3 — round to 2290 RPM
  6. Write the IPM formula: IPM = RPM × chip-load × flutes
  7. Substitute values: IPM = 2290 × 0.003 × 4
  8. IPM = 2290 × 0.012 = 27.48 — round to 27.5 IPM
Answer: S2290 M03 ... G01 F27.5 — Spindle speed 2290 RPM, feed rate 27.5 IPM
2. Calculate RPM and IPM for a 2-flute, ¼-inch diameter carbide end mill finishing a pocket in 6061 aluminum. Use CS = 800 SFM and chip-load = 0.004 IPT.
  1. Write the RPM formula: RPM = (CS × 12) / (π × D)
  2. Substitute values: RPM = (800 × 12) / (3.1416 × 0.25)
  3. Numerator: 800 × 12 = 9600
  4. Denominator: 3.1416 × 0.25 = 0.7854
  5. RPM = 9600 / 0.7854 = 12,222.5 — round to 12,220 RPM (verify this does not exceed machine max RPM)
  6. Write the IPM formula: IPM = RPM × chip-load × flutes
  7. Substitute values: IPM = 12220 × 0.004 × 2
  8. IPM = 12220 × 0.008 = 97.76 — round to 97.8 IPM
Answer: S12220 M03 ... G01 F97.8 — Spindle speed 12,220 RPM, feed rate 97.8 IPM
3. Calculate RPM and IPM for a 3-flute, ¾-inch diameter carbide end mill roughing nylon. Use CS = 500 SFM and chip-load = 0.006 IPT.
  1. Write the RPM formula: RPM = (CS × 12) / (π × D)
  2. Substitute values: RPM = (500 × 12) / (3.1416 × 0.75)
  3. Numerator: 500 × 12 = 6000
  4. Denominator: 3.1416 × 0.75 = 2.3562
  5. RPM = 6000 / 2.3562 = 2546.5 — round to 2550 RPM
  6. Write the IPM formula: IPM = RPM × chip-load × flutes
  7. Substitute values: IPM = 2550 × 0.006 × 3
  8. IPM = 2550 × 0.018 = 45.9 IPM
Answer: S2550 M03 ... G01 F45.9 — Spindle speed 2550 RPM, feed rate 45.9 IPM
4. A student writes S350 F0.003 in a milling program intended to cut aluminum at 350 SFM with a ½-inch, 4-flute end mill. Identify both errors and state the correct block.
  1. Error 1 — S-word: The student entered 350 SFM directly as the RPM value. RPM must be calculated: RPM = (350 × 12) / (3.1416 × 0.5) = 4200 / 1.5708 = 2673.0, round to 2670 RPM. The correct S-word is S2670.
  2. Error 2 — F-word: F0.003 is 0.003 IPM, which is essentially no movement — this would cause the tool to rub and burn. The student likely meant a chip-load of 0.003 IPT, which must be converted to IPM: IPM = 2670 × 0.003 × 4 = 32.04, round to 32.0 IPM. The correct F-word is F32.0.
  3. Check modal mode: Confirm G94 (feed per minute) is active so F32.0 is interpreted as 32.0 IPM.
  4. Write the corrected block: S2670 M03 followed by G01 F32.0
Answer: Corrected block: S2670 M03 / G01 F32.0 — the original S-word was SFM mistakenly used as RPM, and the original F-word was chip-load IPT mistakenly used as IPM.

The math in this lesson2

Learners correct S and F words that confuse SFM with RPM and IPT with IPM.
N-Q.1A-CED.4
Brush up in the math halls at newSchoolWorks.com:
In class: Solve 15 speed-and-feed problems using standard formulas (RPM = CS × 12 / π × D; IPM = RPM × chip-load × flutes) for three materials and four tool diameters, referencing a Kennametal or Sandvik feeds-and-speeds chart. · Write G-code blocks for three different roughing and finishing operations—face mill, end mill slot, drill—incorporating the calculated S and F values, then enter them into CNCSimulator Pro to confirm syntax acceptance. · Analyze two provided 'crash scenario' programs where S and F values are dangerously wrong; identify the error, explain the likely machine or workpiece outcome, and write the corrected blocks.
Materials: Kennametal or Sandvik cutting-data reference chart; speed-and-feed formula sheet; CNCSimulator Pro; 15-problem worksheet; two crash-scenario program printouts
Check: Speed-and-feed worksheet: ≥13/15 correct (87%); all three simulator programs accepted with no syntax errors confirmed by instructor.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

NIMS Machining L1 — Process Planning and Cutting Parameters
1. Which formula correctly calculates spindle speed in RPM from cutting speed (CS in SFM) and tool diameter (D in inches)?
NIMS Machining L1 — Process Planning and Cutting Parameters
2. A machinist uses a 2-flute, ½-inch carbide end mill on aluminum with CS = 800 SFM and chip-load = 0.005 IPT. What is the correct feed rate in IPM (rounded to one decimal place)?
Haas Certification — CNC Programming Fundamentals
3. In G-code, which pair of words is required together to cause the spindle to rotate clockwise at 1500 RPM?
NIMS Machining L2 — CNC Programming
4. A program block reads 'G01 X3.0 F0.005' while G95 (feed per revolution) is the active modal mode. On a spindle running at 1000 RPM, what is the actual table feed rate in IPM?
NIMS Machining L1 — Cutting Tool Technology
5. A student programs S450 F18.0 for a ¾-inch, 4-flute carbide end mill cutting mild steel. The chart recommends CS = 300 SFM. The correct RPM calculates to approximately 1528. What is the most likely consequence of running at S450 instead of S1528?
NIMS Machining L1 — Safety
6. When machining nylon or plastic on a CNC mill without coolant, which safety measure is most important in addition to standard eye protection?
Mastercam Associate — Toolpath and Parameter Optimization
7. A machinist wants to increase material removal rate on an aluminum roughing pass that is currently running S5000 F40.0 with a 4-flute, ½-inch end mill. Which change is most likely to increase feed rate safely?
NIMS Machining L1 — Safety
8. Before reaching into the CNC machine enclosure to remove chips by hand after a program finishes, what procedure must the operator follow?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.