CNC Lathe Thread Programming and Cutting
Threading on a lathe is a synchronized motion problem, not a geometry problem. This page explains how pitch, infeed angle, and cycle choice interact, so you can pick a program that produces a gage-passing thread on the first run.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
Key takeaways
What the control is actually doing in cnc lathe thread programming
Every thread cycle is a feed move indexed to spindle rotation. The carriage advances one pitch for each revolution of the spindle, and the control closes that loop with the spindle encoder. On a 1.5 mm pitch thread, the Z axis moves 1.5 mm per revolution, no matter what the programmed feed rate says elsewhere in the program. That single relationship explains most threading problems: chatter, torn flanks, and gage failures usually trace back to an axis that could not keep up with the spindle.
Depth of cut compounds the problem. Thread height for a 60° form is about 0.613 × pitch, and the insert is removing material across two flanks at once. A 2 mm pitch thread has a theoretical height near 1.23 mm per side, which is far more than a turning pass would take. The control must therefore ramp depth over several passes, and the shape of that ramp changes the load on the insert tip.
Spindle speed has a hard ceiling set by the machine. The Z axis must accelerate from the start point to the programmed pitch before the tool touches the stock. At 1,500 rpm on a 2 mm pitch, the axis travels 3,000 mm/min, and most lathes need 3–5 mm of lead-in to reach that speed. Shorten the lead-in and the first two threads come out with the wrong pitch.
Rigid tapping and thread milling solve different problems. A lathe thread cycle is fastest for parts that spin true and have room for a lead-in groove. When the thread runs to a shoulder, or the part is too long to spin safely, thread milling on a mill-turn center gives the control more room to work.
- 1Lead equals pitchOne spindle revolution advances the tool exactly one pitch.
- 2Depth follows form60° threads cut to roughly 0.613 × pitch of radial depth.
- 3Lead-in is not optionalLeave 3–5 mm for the axis to reach pitch before contact.
Infeed angle and pass count decide insert life
Radial infeed plunges straight into the work. Both flanks cut at once, the chip is V-shaped, and the tip absorbs the full load. It works on soft aluminum and short threads, and it is easy to program. On 304 stainless or 4140 steel, radial infeed at full depth will chip a carbide tip within a few parts.
Flank infeed feeds along one side of the thread form, typically at half the included angle. For a 60° thread, the compound or the control offsets at 30°. One flank does most of the cutting, the chip curls off in a single direction, and the tip load drops sharply. This is the default for steel and stainless. The trade-off is that the trailing flank rubs slightly, so surface finish on that side can look smeared if the insert is dull.
Modified flank infeed starts at a steeper angle and eases toward the flank angle as depth increases. It keeps the chip thinner at the start, when the tip is most vulnerable, and reduces the number of passes needed at the bottom. Many controls implement this as a single parameter in the G76 cycle, often labeled as a first-cut angle or a decreasing depth pattern.
Pass count is a balance. Too few passes overload the tip and push the part away from the tool. Too many passes work-harden the flanks, especially on austenitic stainless, and rub rather than cut. For a 1.5 mm pitch in 304, four to six passes with a first depth around 0.3 mm is a reasonable starting point.
- 1RadialSimple, fine on aluminum, hard on the tip in steel.
- 2FlankStandard for steel and stainless; 30° offset for 60° forms.
- 3Modified flankLighter first cut, fewer passes at full depth.
G76 versus G92 in cnc lathe thread programming
G92 is a single-pass cycle. You program the start point, the end point, and the depth for that one pass, then repeat the block with a deeper Z or a larger diameter. The control does no math for you. It is the right choice for odd pitches, tapered threads where you want manual control of the taper, and one-off parts where writing four lines is faster than filling in a G76 parameter list.
G76 handles the whole thread in one block. You supply the pitch, the thread height, the first depth of cut, the infeed angle, and the finishing allowance. The control calculates every intermediate pass. On a Fanuc-style control the two-line format takes the first line for the cycle parameters and the second for the final depth and the finish pass count. Once dialed in, G76 is faster to run and produces more consistent flanks.
The finishing allowance is where most G76 programs go wrong. A value of 0.05–0.1 mm left on the flanks for a final spring pass cleans up the form and removes the smear from flank infeed. Set it to zero and the last pass cuts the full flank at once, which often produces a rough surface and a thread that fails a ring gage.
Both cycles assume the tool is on center. A threading insert even 0.05 mm off center cuts an asymmetric form. On a 60° thread that shows up as one flank that contacts the gage and one that does not, and no amount of program tweaking will fix it. Set the tool height with a gauge or a test cut before you blame the cycle.
- 1G92One pass per block; manual depth control; good for odd pitches.
- 2G76Full thread in one block; control computes all passes.
- 3Finish allowanceLeave 0.05–0.1 mm for a spring pass on the flanks.
Insert geometry, materials, and where threading stops working
A 60° insert covers metric, UN, and NPT forms. The included angle is the same; only the pitch and the depth calculation change. A 55° insert covers BSP and Whitworth. Buying the wrong angle is an expensive mistake because the form will look right in a photo and fail a gage every time. Mark the insert holder with the angle so the setup person does not have to guess.
Pitch range is the other limit. A full-profile insert is ground to a specific pitch and cuts only that pitch. A partial-profile insert cuts a range, typically 0.5–3.0 mm, but leaves a flatter root that may not meet a full-profile specification. For aerospace and medical threads that call out a controlled root radius, use the full-profile insert and accept the extra tooling cost.
Materials change the numbers. Aluminum 6061 threads cleanly at high speed with little concern for tip load. Stainless 316 and 17-4PH work-harden, so light passes and a sharp insert matter more than cycle choice. Titanium TC4 (Ti-6Al-4V) needs slower surface speed and generous coolant, and it will pull a dull insert into the part rather than shear the chip.
Some threads should not be cut on a lathe at all. A thread running into a blind shoulder with no relief groove has nowhere for the tool to stop, so the control either crashes or leaves an incomplete thread. A thread on a thin-wall tube will deform under flank pressure no matter how many passes you take. In those cases, thread milling or a formed tap on a mill-turn center is the practical answer, and the program is shorter.
- 160° vs 55°Metric, UN, NPT use 60°; BSP and Whitworth use 55°.
- 2Full vs partial profileFull profile fits one pitch; partial covers a range.
- 3Hard materialsStainless and titanium reward light passes and sharp edges.
Which threading approach fits the part
Pick the row that matches your part, not the cycle you know best.
| Approach | Best for | Watch out for |
|---|---|---|
| G92 radial | Aluminum, short threads, one-off parts | Tip load on steel; needs many passes |
| G76 flank | Steel and stainless production runs | Trailing flank smear if insert is dull |
| G76 modified flank | Hard materials, deep threads | More parameters to set correctly |
| Thread milling | Blind shoulders, thin walls, large diameters | Slower cycle time per part |
| Form tap | Small internal threads in ductile material | Not for hard or brittle materials |
Pick the cycle that matches the part
For aluminum and one-off work, G92 radial infeed is fast enough and easy to correct. For steel, stainless, or anything that has to pass a ring gage in volume, use G76 with flank infeed and a 0.05–0.1 mm finishing allowance. If the thread runs into a shoulder or the wall is thin, stop fighting the lathe cycle and move the job to thread milling.
Threading questions we get from engineers
Why does my thread pass the start gage but fail the ring gage?
A ring gage checks the full form, not just the lead. The usual cause is an insert that is off center, which cuts one flank deeper than the other. Check tool height with a gauge before you change the program.
A second cause is a finishing allowance set to zero. The last pass then cuts both flanks at full depth and tears the surface, which fails the gage even though the pitch is correct.
How many passes should a G76 cycle take?
It depends on pitch and material, but four to six passes is a workable range for a 1.5 mm pitch in 304 stainless. Set the first depth around 0.3 mm and let the control decrease from there.
Too few passes overload the tip. Too many work-harden the flanks and rub instead of cut. If the chip comes off as dust rather than a curl, you are taking too many light passes.
Can I cut NPT threads with the same insert as metric?
Yes for the included angle, since both are 60°. The difference is the taper and the depth. NPT is cut on a 1:16 taper, so the X axis has to move during the pass, which means a G92 with a taper value or a G76 with the taper parameter set.
The pitch diameter is also measured at a different reference plane. Cut to the gage, not to a calculated depth.
What spindle speed should I use for threading?
Set it from the surface speed, then check that the Z axis can reach pitch before the tool touches the part. On a 2 mm pitch at 1,500 rpm the axis runs at 3,000 mm/min, which most lathes handle with 3–5 mm of lead-in.
If the machine alarms on the spindle or the first threads come out shallow, reduce the speed rather than the lead-in.
When should I thread mill instead of turning the thread?
Use thread milling when the thread runs into a blind shoulder with no relief groove, when the wall is thin enough to deform under flank pressure, or when the diameter is too large to spin safely.
It is slower per part, but the program is shorter and the tool does not need a lead-in groove.
Does coolant choice matter for threading?
It matters more than most people expect. Threading is a forming and cutting mix at the root, and a starved root will tear on stainless and titanium.
Aim the coolant at the leading flank, not at the top of the part. High-pressure through-tool coolant helps most on deep threads and hard materials.
Send us the thread callout, we will quote the cycle
Upload a drawing with the thread specification and material. We return a quotation and a free DFM analysis within 12 hours, including a note on whether the thread should be turned, milled, or tapped.
12-hour quote100% inspectionNo minimum order quantityNDA on request