TorqueMath

Lathe Change Gear Calculator

Find the change gears A, B, C and D to cut any metric pitch or threads per inch on your lathe, from the gears you actually own. Enter the leadscrew and your gear set and get the exact or closest train, its error and a threading chart for every common thread.

TorqueMath.com · Lathe Change Gear Calculator
Thread to cut
mm
Metric threads: M6 = 1 mm, M8 = 1.25 mm, M10 = 1.5 mm, M12 = 1.75 mm.
Lathe
mm
Leadscrew unit
: 1
×
Mini lathes (7×10 to 7×16): leadscrew 1.5 mm (metric) or 16 TPI (inch), spindle to first gear 1 : 1, no gearbox. If your lathe has a quick-change gearbox, enter the ratio of the setting you use; otherwise leave 1.
Change gears you have
Every gear you own, by tooth count, including duplicates. A 127-tooth gear makes metric threads exact on an inch leadscrew and inch threads exact on a metric one.
Gear train
T
T
Optional: on many lathes a pair that is too small cannot reach across the banjo. Enter the smallest tooth totals that fit, or leave 0.
Method and assumptionsMethod: Pitch P = L·(A/B)·(C/D)·k·g (compound) or L·(A/D)·k·g (simple, any idler); all pairs of different gears are tried, and for compound trains every ordered choice of four different gears; exact first, then smallest errorBasis: Leadscrew lead L (mm or 25.4/TPI), spindle-to-first-gear ratio k and gearbox ratio g as entered; gear set as listed by the user (presets: mini lathe set, metric 20–120 + 127, inch 20–75)Limits: Does not check whether the gears physically fit the banjo and studs except for the optional minimum tooth totals; no multi-start threads (multiply the pitch by the number of starts for the lead); error is a pitch ratio error, not a profile checkReferences: Machinery's Handbook – change gears for thread cutting · Little Machine Shop – mini lathe change gearsFormulas · How this calculator was checked · TorqueMath v2.11
Gear train
Best trains for this thread
Threading chart for your lathe

How it is calculated

ABCDleadscrew, lead LspindleP = L · (A/B) · (C/D)P = L · A / D (idler)L = 25.4 / TPITPI = 25.4 / P127 = 5 × 25.4

When the half nut is closed, the leadscrew moves the carriage by its own lead for every turn of the leadscrew. The change gears set how many turns the leadscrew makes for one turn of the spindle, so the pitch cut on the work is the leadscrew lead times the gear ratio. In a simple train gear A on the stud drives gear D on the leadscrew through any idler; in a compound train A drives B, C is fixed to B on the same stud and drives D.

Pitch cut P = L × (A / B) × (C / D) × k × g compound train P = L × (A / D) × k × g simple train (idler between, any size) Leadscrew lead L = 25.4 / TPI for an inch leadscrew Threads per inch TPI = 25.4 / P Error e = (P − P_target) / P_target, over a length ℓ: ℓ · e k = spindle to first gear ratio, g = gearbox ratio, A and C drive, B and D are driven Metric on inch 25.4 mm = 127/5 × 1 mm → a 127-tooth gear gives exact metric pitches

Every combination of your gears is tried: single pairs for a simple train and every ordered choice of four different gears (duplicates count as separate gears) for a compound train. Exact trains come first, then the smallest error. Swapping A with C or B with D gives the same ratio, so only one of them is listed. Whether a train fits depends on your banjo and stud slots: use the minimum tooth totals to rule out pairs that cannot reach.

A small pitch error matters little on a short thread such as a nut, but it adds up along the length: check the error over the thread length shown. Use the tumbler or an extra idler to cut a left-hand thread, and never open the half nut between passes when the thread is not a whole multiple of the leadscrew pitch.

This calculator finds the change gears for cutting a thread on a lathe without a full quick-change gearbox, or with a gearbox whose chart does not list the thread you need. Enter the thread as a metric pitch or as threads per inch, the leadscrew of your lathe in millimetres or TPI, and the gears you own, and it tries every combination: a simple train where gear A on the stud drives gear D on the leadscrew through an idler, and a compound train where A drives B, C sits on the same stud as B and drives D. It shows the exact trains first and otherwise the closest one, with the pitch you will get, the error in percent and over a 254 mm length, and a threading chart with the best train for every common metric pitch or TPI. Presets cover the usual mini lathe set (20 to 80 teeth with a 57), a metric set with a 127-tooth transposing gear and an inch set; replace them with your own gears. Minimum tooth totals for each pair rule out trains that cannot reach across your banjo. Hobby machinists, model engineers and small workshops use it to cut inch threads on metric lathes and metric threads on inch lathes.

Worked example: M8 × 1.25 and 1/4-20 UNC on a mini lathe with a 1.5 mm leadscrew

  1. For M8 the pitch is 1.25 mm. The leadscrew moves 1.5 mm per turn and the spindle drives the first gear 1 : 1, so the gears must make the leadscrew turn 1.25 / 1.5 = 0.8333 times per spindle turn.
  2. With the standard mini lathe set, 50 teeth on the stud driving 60 teeth on the leadscrew gives 50/60 = 0.8333 exactly: a simple train with any idler between them, pitch 1.25 mm with no error.
  3. For a 1/4-20 UNC thread the pitch is 25.4 / 20 = 1.27 mm and the ratio needed is 1.27 / 1.5 = 0.84667. No pair of the standard set gives this exactly, because 25.4 mm contains the factor 127.
  4. The closest compound train is 20/65 × 55/20: 1.5 × 20/65 × 55/20 = 1.2692 mm, an error of −0.06 %, which is about 0.15 mm short over a 254 mm length and nothing over the length of a nut.
  5. With a 127-tooth gear the thread becomes exact: on a metric set with 127 teeth, 20/60 × 127/50 gives 1.5 × 20/60 × 127/50 = 1.27 mm exactly.

M8 × 1.25: 50 → 60 with an idler, exact. 1/4-20 UNC: 20/65 × 55/20, −0.06 % with the standard set, or exact with a 127-tooth gear.

Common mistakes

Standards and sources

FAQ

How do I calculate lathe change gears?

Divide the pitch you want by the leadscrew lead: that is the gear ratio. For a compound train (A/B) × (C/D) must equal it, for a simple train A/D. On a 1.5 mm leadscrew, a 1 mm pitch needs 1 / 1.5 = 2/3, for example 40 teeth driving 60. For an inch leadscrew the lead is 25.4 mm divided by its TPI, so 16 TPI is 1.5875 mm.

Why do I need a 127-tooth gear?

An inch is exactly 25.4 mm = 127/5 mm. Changing between metric and inch threads therefore needs the factor 127 somewhere in the train. Without a 127-tooth gear you get a close approximation, often within 0.1 %, which is fine for short threads but adds up along a long screw.

What is the difference between a simple and a compound train?

In a simple train gear A drives gear D through one or more idlers; idlers change the direction but not the ratio. In a compound train gear A drives B, gear C is keyed to B on the same stud and drives D, so the ratio is (A/B) × (C/D). Compound trains reach many more ratios with the same set of gears.

Which gears come with a mini lathe?

The usual 7×10 to 7×16 mini lathe set has 20, 20, 35, 40, 40, 45, 50, 55, 57, 60, 65, 80 and 80 teeth, and the leadscrew is 1.5 mm on metric machines and 16 TPI on inch machines. Some sellers add a 30 or a 21; count your own gears and choose My gears if they differ.

How accurate does the pitch need to be?

For a nut or a short stud a pitch error of 0.1 % is invisible: over 10 mm it is 0.01 mm. For a long leadscrew or a thread that must engage a long nut, check the error over the thread length shown in the results and prefer an exact train.

Can I use this for a lathe with a quick-change gearbox?

Yes. Enter the ratio of the gearbox setting you use, or the leadscrew lead the gearbox produces at that setting, and the calculator finds the change gears in front of the gearbox for threads the gearbox chart does not list.