Thread milling looks like a canned cycle until you have to write it by hand. Then three numbers decide whether the gauge passes: the path radius, the Z rise per revolution, and the feed at the cutting edge rather than at the tool centre.
This guide gives you the geometry, the six numbers to calculate, a complete M10 × 1.5 program you can adapt, and the mistakes that produce an oversize thread or a broken cutter. For choosing between tapping and milling in the first place, see our thread milling vs tapping guide.
The short version. Path radius = (major diameter − cutter diameter) ÷ 2. Z rises by exactly one thread pitch per 360° of orbit. A right-hand internal thread is cut with G03 while Z rises. Program the tool-centre feed, but calculate it from the cutting-edge feed — the correction is (major − cutter) ÷ major. Get those four right and the thread gauges.
The geometry in one picture
A thread mill is smaller than the hole. The cutter does not plunge to the thread depth and stop; it orbits the hole once per pitch while rising, and the thread form is generated by the combination of the tool profile, the orbit radius and the Z movement.
Swipe the diagram sideways →
The useful mental model is the unrolled view. Flatten the thread’s circumference into a strip: one full orbit is the width of the strip, and the height gained is one pitch. Everything else — direction, number of turns, where to start — is bookkeeping on that ramp.
The orbit radius is why one cutter covers a range of thread sizes. A 6 mm single-profile cutter can cut anything from about M8 to M14, because the thread size is set by the path, not by the tool diameter. The limit is the minor diameter: the cutter must pass through the hole with clearance.
The six numbers you need before you write a line
Fill this table in before opening the editor. It takes two minutes and prevents most of the failures in the section on mistakes.
| Number | How to get it | Example (M10 × 1.5) |
|---|---|---|
| Major diameter | Nominal thread size on the drawing | 10.0 mm |
| Pitch | From the thread callout (coarse unless stated) | 1.5 mm |
| Cutter diameter | Tool supplier data; must clear the minor diameter | 6.0 mm |
| Path radius | (major − cutter) ÷ 2 | 2.0 mm |
| Z rise per revolution | Equal to the pitch | 1.5 mm |
| Feed at the centre | Edge feed × (major − cutter) ÷ major | ≈ 380 mm/min |
Two checks before you cut. First, the cutter must be smaller than the minor diameter with about 0.2 mm to spare — for M10 × 1.5 the minor diameter is about 8.5 mm, so a 6 mm cutter has room. Second, the orbit plus the cutter radius must reach the major diameter exactly; a path that is 0.1 mm off shows up as a gauge failure, not as a visible defect.
A complete M10 × 1.5 program
The part is a 15 mm plate, through hole, M10 × 1.5. The tool starts 1.5 mm below the part so the first revolution is fully engaged, and cuts upward — the standard climb-milling direction for a right-hand internal thread.
( M10 x 1.5 internal, through hole, 6 mm 3-flute thread mill )
( path radius = (10 - 6) / 2 = 2.0 mm )
( 11 revolutions x 1.5 mm = 16.5 mm of travel )
G21 G90 G54
G0 X0 Y0
G0 Z5.
S6400 M03
G0 Z-16.5 ( start 1.5 mm below the part )
G1 X2.0 Y0 F380 ( move out to the path radius, at feed )
G3 X2.0 Y0 Z-15.0 I-2.0 J0.
G3 X2.0 Y0 Z-13.5 I-2.0 J0.
G3 X2.0 Y0 Z-12.0 I-2.0 J0.
G3 X2.0 Y0 Z-10.5 I-2.0 J0.
G3 X2.0 Y0 Z-9.0 I-2.0 J0.
G3 X2.0 Y0 Z-7.5 I-2.0 J0.
G3 X2.0 Y0 Z-6.0 I-2.0 J0.
G3 X2.0 Y0 Z-4.5 I-2.0 J0.
G3 X2.0 Y0 Z-3.0 I-2.0 J0.
G3 X2.0 Y0 Z-1.5 I-2.0 J0.
G3 X2.0 Y0 Z0.0 I-2.0 J0.
G1 X0 Y0 ( back to centre )
G0 Z5.
M05
M30Fanuc-style. I and J are the centre of the arc relative to the start point, so I-2.0 means the arc centre is 2 mm in −X. Confirm your post-processor’s I/J mode (incremental vs absolute) before running.
Line by line, the blocks that matter:
| Block | Purpose | If it is wrong |
|---|---|---|
G0 Z-16.5 | Start below the thread so the first orbit is complete | Partial thread at the top or bottom |
G1 X2.0 Y0 F380 | Move from centre to path radius at cutting feed | Rapid into the wall; broken cutter |
G3 … I-2.0 J0. | One full orbit, counter-clockwise, rising 1.5 mm | Wrong hand thread or wrong pitch |
Z values | 1.5 mm per revolution, exactly | Thread pitch wrong; gauge will not enter |
G1 X0 Y0 | Return to centre before retracting | Cutter drags on the last thread |
Orbit direction and thread hand
Two things must match: the hand of the thread and the milling mode. Get one wrong and you cut a thread that looks right and gauges wrong, or a mirror-image thread that will not accept the mating part.
Swipe the diagram sideways →
The rule that survives contact with the shop floor: for a right-hand internal thread, cut upward with G03. If the thread is left-hand, swap the orbit to G02 (or keep G03 and cut downward). If you are conventional milling instead of climb milling, the orbit reverses and the finish suffers — use it only when the setup forces it.
| Thread | Mode | Orbit | Z | Note |
|---|---|---|---|---|
| Right-hand | Climb | G03 | Rising | Standard; best finish |
| Right-hand | Conventional | G02 | Rising | Only if required |
| Left-hand | Climb | G02 | Rising | Mirror of the standard case |
| Left-hand | Conventional | G03 | Falling | Chips can pack in a blind hole |
Feed correction: the number most programs get wrong
The tool centre travels a smaller circle than the cutting edge. If you program the cutting-edge feed directly into the G-code, the edge moves slower than intended — the chip load drops, the cutter rubs, and in stainless or titanium it work-hardens.
Swipe the diagram sideways →
For M10 × 1.5 with a 6 mm cutter: 955 × (10 − 6) ÷ 10 ≈ 382 mm/min.
Calculate the edge feed as you would for any milling cutter — RPM from surface speed, feed per tooth from the material — then apply the ratio. The correction is larger than most people expect on small threads: a 6 mm cutter in M10 needs the centre feed cut to about 40% of the edge feed.
| Thread | Path radius | RPM | Edge feed | Programmed feed |
|---|---|---|---|---|
| M6 × 1.0 | 2.0 mm (4 mm cutter) | 7,000 | 560 | ≈ 190 |
| M8 × 1.25 | 1.5 mm (5 mm cutter) | 6,800 | 680 | ≈ 255 |
| M10 × 1.5 | 2.0 mm | 6,400 | 955 | ≈ 380 |
| M16 × 2.0 | 4.5 mm (7 mm cutter) | 5,500 | 1,150 | ≈ 650 |
| 1/4-20 UNC | 2.4 mm (5 mm cutter) | 6,800 | 680 | ≈ 400 |
Starting values for aluminium on a rigid machine; halve the surface speed for stainless and use about a third for titanium. Tool supplier data overrides these.

Blind holes and depth
A blind hole changes the start point, not the geometry. You cannot start below the part, so start at the bottom of the thread, cut upward, and leave clearance below the thread for the chips and the tool’s entry.
| Case | Start Z | End Z | Watch |
|---|---|---|---|
| Through hole | 1–2 mm below the part | 0 to +1 mm above | Burr at the exit; deburr after |
| Blind hole | Bottom of the thread | Top of the thread | Clearance below the thread; chips |
| Blind, deep | Bottom, with a relief groove | Top | Cutter deflection at depth |
For a blind hole, leave 2–3 pitches of clearance below the thread and at least one pitch above it for the cutter to exit cleanly. The depth stack-up — thread depth, clearance, tap lead, drill point — is covered in the design rules of the threading guide.
If the hole is deep relative to the cutter diameter, expect deflection. A 6 mm cutter at 30 mm depth will cut an oversize thread at the bottom unless you reduce the radial engagement or use a larger cutter with a reduced path.
Ten mistakes that fail the gauge
| # | Symptom | Likely cause | Fix |
|---|---|---|---|
| 1 | Thread is tight; go gauge will not enter | Path radius too small | Recompute (major − cutter) ÷ 2 |
| 2 | Thread is loose; no-go enters | Path radius too large, or cutter wear | Check radius and tool offset |
| 3 | Pitch is wrong over several turns | Z rise per revolution ≠ pitch | One pitch per 360°, not per line |
| 4 | Thread is left-hand | G02 used for an RH thread | G03 with Z rising |
| 5 | Rough flanks, chatter | Feed too high or cutter too long | Apply feed correction; shorten the tool |
| 6 | Cutter breaks on entry | Rapid move to the path radius | G1 at cutting feed |
| 7 | Partial thread at the top | Start point too high | Start below the thread |
| 8 | Burr ring at the exit | No exit clearance | Cut past the end; deburr |
| 9 | Gauge passes at the top, fails at the bottom | Cutter deflection | Reduce depth per pass or radial load |
| 10 | Works on one machine, not another | I/J incremental vs absolute | Match the control’s arc mode |
Fanuc, Siemens and Heidenhain
The geometry is universal; the syntax is not. The biggest differences are arc definition and whether the control offers a thread-milling cycle.
| Control | Arc form | Notes |
|---|---|---|
| Fanuc / Haas | G02/G03 with I, J, K or R | I/J are usually incremental from the start point; check parameter |
| Siemens 840D | G02/G03 with I, J or CR= | Also has a thread-milling cycle with pitch and direction parameters |
| Heidenhain | CC/C with polar coordinates | Cycle 262/263 for thread milling; Q parameters for the helix |
| Mach3 / LinuxCNC | G02/G03 with I, J | Incremental I/J; verify with a dry run |
If the control has a thread-milling cycle, use it: it handles the entry arc, the helix and the exit. Write the longhand program when you need control over the entry point, or when the cycle is not available on an older machine.
Proving the first part
Cut one part and gauge it before running the batch. A thread mill program that is 0.1 mm off in radius produces a thread that looks perfect and fails the gauge.
- Go/no-go plug gauge. The go gauge must enter the full thread by hand; the no-go must not enter more than 2.5 turns.
- Pitch check. Screw in a known-good bolt or use a pitch gauge; a wrong Z rise is not always visible.
- Depth check. Measure the usable thread depth, not the drill depth.
- First-article record. Note the tool, the offsets, the program revision and the gauge result.

If the first part fails, change one variable at a time. Radius first, then feed, then tool. Changing all three at once turns a gauge failure into a guess.
FAQ
What is the formula for thread mill path radius?
For an internal thread, path radius = (major diameter − cutter diameter) ÷ 2. For an external thread, it is (major diameter + cutter diameter) ÷ 2.
How much Z movement per revolution?
Exactly one thread pitch per 360° of orbit. For M10 × 1.5 that is 1.5 mm per revolution. A multi-start thread rises by the lead, which is the pitch multiplied by the number of starts.
G02 or G03 for a right-hand thread?
With an M03 right-hand cutter and climb milling, a right-hand internal thread is cut with G03 while Z rises. Left-hand threads use G02 with Z rising, or G03 with Z falling.
Why is my thread oversize?
Usually the path radius is too large, the cutter is worn, or the tool is deflecting in a deep hole. Check the radius against (major − cutter) ÷ 2 first, then the tool offset and the depth.
Do I need a tool radius offset?
No. The program is written to the tool centre; a radius offset would double-count the cutter. Use the path radius in the code and keep the offset at zero.
How do I correct the feed for thread milling?
Multiply the cutting-edge feed by (major diameter − cutter diameter) ÷ major diameter. The result is the tool-centre feed you program.
Can I thread mill a blind hole?
Yes. Start at the bottom of the thread and cut upward, with 2–3 pitches of clearance below the thread and at least one pitch of exit clearance above.
How many passes for a large thread?
One pass is common for small threads in aluminium. For large threads, hard materials or deep holes, use two passes: a roughing pass at a smaller radius and a finishing pass at full radius.
What cutter diameter should I use?
Small enough to clear the minor diameter by about 0.2 mm, and large enough to be rigid. Most shops use 50–70% of the nominal thread diameter; smaller cutters reach deeper but deflect more.
Does this work on a 3-axis machine?
Yes. Thread milling needs three axes and helical interpolation. No fourth axis or special holder is required.
Related reading
- Thread milling vs tapping: the complete threading guide
- Aluminum galling: why threads seize and how to stop it
- CNC machining tolerance chart: ISO 2768, ISO 286 and GD&T
- 12 DFM rules that cut machining cost
- Reaming vs boring vs drilling
Send the drawing. We will tell you which threading route we would use.
Tapping, thread milling or forming — with the class, the depth and the inspection plan in the quote. If the callout is incomplete, we will flag it before the parts are made.
- Thread callout and engagement check
- Process route and gauge plan
- NDA available on request