About this calculator
On a lathe without a quick-change gearbox, the thread pitch is set by change gears between the spindle and the leadscrew. For each turn of the spindle, the leadscrew must turn by the ratio thread wanted ÷ leadscrew pitch. This calculator works out that ratio and searches the gears you actually own for the simple (A → B) and compound (A → B, C → D) trains that come closest — including the classic 127-tooth gear, which converts exactly between inch and metric (127 = 5 × 25.4).
Every lathe is different. Enter your leadscrew and any fixed internal ratio from your machine’s manual; nothing is assumed about a particular machine.
Formula
Pcut = PLS × k × (A × C) ÷ (B × D)
Required ratio R = Pwanted ÷ (PLS × k)
PLS = leadscrew pitch (for TPI: 25.4 mm ÷ TPI), k = fixed ratio from spindle to the stud gear, A, C = driving gears, B, D = driven gears (B and C share a shaft). For a simple train, C ÷ D = 1. Idler gears do not change the ratio.
Worked example
Cutting a 1.5 mm metric thread on a lathe with an 8 TPI leadscrew (pitch 3.175 mm), stud at spindle speed (k = 1):
- Required ratio = 1.5 ÷ 3.175 = 0.472 44 = 60 ÷ 127
- A 60-tooth driver and a 127-tooth driven gear give exactly 3.175 × 60 ÷ 127 = 1.5000 mm.
Cutting 20 TPI on the same lathe: ratio = 1.27 ÷ 3.175 = 0.4 = 20 ÷ 50 (or 40 ÷ 100).
Assumptions and limitations
- The fixed ratio <var>k</var> must come from your machine (manual, gear labels, or by counting). Reversing tumblers and idlers change direction only.
- The search uses only the tooth counts you enter, without reusing a gear unless you list it twice. It does not check centre distances, gear module, banjo slots or whether gears clash.
- An error of a few hundredths of a percent is normally acceptable for short threads; over long threads a small pitch error accumulates. Exact inch–metric conversion needs a 127-tooth gear (or a gearbox designed for it).
- For multi-start threads, cut the lead and index the work for each start.
Safety note
Isolate the machine before changing gears. Never adjust change gears or the banjo while the spindle can turn.
References
- Screw-cutting gear train relation: pitch cut = leadscrew pitch × spindle-to-stud ratio × product of drivers ÷ product of driven gears (standard machining texts).
- Inch–metric translation: 127 teeth = 5 × 25.4.
