Lathe Change Gear Calculator

The pitch you cut is the leadscrew pitch × (A ÷ B) × (C ÷ D), so pick gears whose ratio equals target pitch ÷ leadscrew pitch. Enter your leadscrew, the thread you want and the gears you own to get the closest trains, with the pitch error and a fit check. Published November 1, 2026.

Your lathe

1 on most lathes. Turn the spindle one rev by hand and count how far the gear A shaft turns. Fractions like 1/2 are fine.
List each gear once per copy you own (20, 20) or write 20x2. Each gear is used at most once in a train.

What to work out

Checks

Thread length is the engagement over which the pitch error adds up. The fit margin allows for shaft and collar size in the compound clearance rule of thumb.

Change Gear Trains

Gear Train Layout

-

Not to scale for your banjo: gears are drawn at their pitch circles to show which meshes with which. Check by hand that every gear meshes with a paper-thin gap and nothing rubs.

How Change Gears Set the Thread Pitch

On a manual lathe the leadscrew moves the carriage one leadscrew pitch for every turn it makes. The change gears between the spindle and the leadscrew decide how many turns that is per turn of the work, so they decide the pitch of the thread you cut.

The calculator tries every train it can build from the gears you list, using each physical gear only once, and ranks them by how close the pitch comes to the one you want. It also works backwards: type in a train already on the lathe and it tells you what thread it will cut.

The Formulas

1. Pitch cut
pitch = leadscrew pitch × stud ratio × (A ÷ B) × (C ÷ D)
two gears: pitch = leadscrew pitch × stud ratio × (A ÷ D)
A and C are drivers, B and D are driven. A sits on the stud (the first change gear shaft), B and C are keyed together on the intermediate stud, and D is on the leadscrew. With only two gears, an idler joins A to D and does not change the ratio.
2. Ratio you need
ratio = target pitch ÷ (leadscrew pitch × stud ratio)
pitch (mm) = 25.4 ÷ TPI
Convert TPI to mm first, then divide. A 16 TPI leadscrew has a 1.5875 mm pitch and an 8 TPI one 3.175 mm.
3. Error over the thread length
error % = (pitch cut − target) ÷ target × 100
total error = (pitch cut − target) × length ÷ target
A pitch error adds up thread by thread. For a 60° thread, a total lead error δ uses up about 1.73 × δ of the clearance on the pitch diameter, so a short nut tolerates more error than a long one.
4. Will a compound train fit? (rule of thumb)
C + 2 + margin ≤ A + B (C clears the stud shaft)
B + 2 + margin ≤ C + D (B clears the leadscrew shaft)
Gears of the same module: the centre distance is (teeth + teeth) ÷ 2 modules and a gear's tip is (teeth + 2) ÷ 2 modules from its centre. The margin (8 teeth by default) allows for the shaft, nut and collar. Trains that fail are flagged "may not fit", not hidden: check on the lathe.

Finding Your Stud Ratio

Many lathes, including most 7x mini lathes, drive the first change gear shaft at spindle speed through the tumbler or fixed gears, so the stud ratio is 1. Some older lathes and many quick-change set-ups do not. To check, put a chalk mark on the chuck and on the gear A shaft, turn the spindle exactly one revolution by hand and count how far the shaft turns. Half a turn is a ratio of 0.5, two turns is 2. If you can see the fixed gears, the ratio is the product of their driver teeth divided by the product of their driven teeth.

Worked Examples

M8 × 1.25 on a mini lathe with a 16 TPI leadscrew (typical gear set 20, 20, 30, 35, 40, 40, 45, 50, 55, 57, 60, 65, 80)
  • Leadscrew pitch: 25.4 ÷ 16 = 1.5875 mm. Ratio needed: 1.25 ÷ 1.5875 = 0.787402 (exactly 100 ÷ 127).
  • There is no 127T gear, so no exact train. The closest is A 45, B 40, C 35, D 50: (45 ÷ 40) × (35 ÷ 50) = 1575 ÷ 2000 = 0.7875.
  • Pitch cut: 1.5875 × 0.7875 = 1.250156 mm, which is 0.0125 % long. Over 25 mm (20 threads) that adds up to 20 × 0.000156 = 0.003 mm, far less than the clearance in a normal nut.
  • Fit: C + 2 + 8 = 45 ≤ A + B = 85, and B + 2 + 8 = 50 ≤ C + D = 85, so it passes the rule of thumb.
Exact trains
  • 1.5 mm leadscrew, 1.0 mm thread: ratio 1.0 ÷ 1.5 = 2/3, so A 40 → idler → D 60 is exact (1.5 × 40 ÷ 60 = 1.000 mm). 20/30 and 30/45 work too.
  • 8 TPI leadscrew with a 127T gear, 1.0 mm thread: leadscrew pitch 3.175 mm, ratio 1.0 ÷ 3.175 = 40 ÷ 127, so A 40 → idler → D 127 is exact: 3.175 × 40 ÷ 127 = 127/40 × 40/127 = 1.000 mm.

Mini Lathe Change Gear Charts

These charts list the closest change gears for common metric and imperial threads on a typical 7x mini lathe (7x10, 7x12, 7x14 and similar), worked out by this calculator with the gear set 20, 20, 30, 35, 40, 40, 45, 50, 55, 57, 60, 65, 80 and a stud ratio of 1. Gear sets differ between makers and years, so check yours, or enter it above for trains that match your own gears. A and C are drivers, B and D are driven; trains that need more clearance than the gears allow are left out.

Metric Leadscrew (1.5 mm Pitch)

For mini lathes sold with a metric leadscrew. Imperial threads come out within about 0.06 % using ratios such as 55/65 and the 57T gear, close enough for short threads.

ThreadGears (A/B × C/D)Pitch cutError
0.4 mm20/30 × 20/500.4 mmexact
0.5 mm20 → idler → 600.5 mmexact
0.6 mm20 → idler → 500.6 mmexact
0.7 mm35/30 × 20/500.7 mmexact
0.75 mm20 → idler → 400.75 mmexact
0.8 mm40/30 × 20/500.8 mmexact
1 mm20 → idler → 301 mmexact
1.25 mm50 → idler → 601.25 mmexact
1.5 mm20 → idler → 201.5 mmexact
1.75 mm35 → idler → 301.75 mmexact
2 mm40 → idler → 302 mmexact
2.5 mm50 → idler → 302.5 mmexact
40 TPI55/40 × 20/650.6346 mm-0.061 %
32 TPI55/65 × 50/800.7933 mm-0.061 %
28 TPI57/55 × 35/600.9068 mm-0.036 %
26 TPI57/35 × 20/500.9771 mm+0.022 %
24 TPI50/60 × 55/651.0577 mm-0.061 %
20 TPI55 → idler → 651.2692 mm-0.061 %
19 TPI60/57 × 55/651.336 mm-0.061 %
18 TPI55/45 × 50/651.4103 mm-0.061 %
16 TPI55/40 × 50/651.5865 mm-0.061 %
14 TPI57/30 × 35/551.8136 mm-0.036 %
13 TPI57/35 × 40/501.9543 mm+0.022 %
12 TPI55/30 × 50/652.1154 mm-0.061 %
11 TPI50/20 × 40/652.3077 mm-0.061 %
10 TPI55/20 × 40/652.5385 mm-0.061 %

Imperial Leadscrew (16 TPI)

For mini lathes sold with an imperial leadscrew. Metric threads are approximations without a 127T gear; the error column shows how far off each one is.

ThreadGears (A/B × C/D)Pitch cutError
0.4 mm20/65 × 45/550.3997 mm-0.087 %
0.5 mm20/57 × 45/500.5013 mm+0.263 %
0.6 mm35/57 × 40/650.5999 mm-0.022 %
0.7 mm35/55 × 45/650.6994 mm-0.087 %
0.75 mm50/57 × 35/650.7498 mm-0.022 %
0.8 mm40/55 × 45/650.7993 mm-0.087 %
1 mm50/55 × 45/650.9991 mm-0.087 %
1.25 mm45/40 × 35/501.2502 mm+0.012 %
1.5 mm65/50 × 40/551.5009 mm+0.061 %
1.75 mm55/35 × 40/571.7506 mm+0.036 %
2 mm55/35 × 40/501.9957 mm-0.214 %
2.5 mm45/20 × 35/502.5003 mm+0.012 %
40 TPI20 → idler → 500.635 mmexact
32 TPI20 → idler → 400.7937 mmexact
28 TPI20 → idler → 350.9071 mmexact
26 TPI40 → idler → 650.9769 mmexact
24 TPI20 → idler → 301.0583 mmexact
20 TPI40 → idler → 501.27 mmexact
19 TPI60/50 × 40/571.3368 mmexact
18 TPI40 → idler → 451.4111 mmexact
16 TPI20 → idler → 201.5875 mmexact
14 TPI40 → idler → 351.8143 mmexact
13 TPI80 → idler → 651.9538 mmexact
12 TPI40 → idler → 302.1167 mmexact
11 TPI80 → idler → 552.3091 mmexact
10 TPI80 → idler → 502.54 mmexact

Error is the pitch cut against the nominal pitch. Over a 25 mm length of thread, 0.05 % adds up to about 0.0125 mm, which a short nut or bolt will take up; long threads need a smaller error.

Practical Tips

  • Metric on an imperial leadscrew, or imperial on a metric one: keep the half nuts closed. The threading dial cannot find the start of the thread again, so at the end of each pass stop, withdraw the tool, run the spindle in reverse back past the start, then put on the next cut. Use the dial only for threads in the same system as the leadscrew, and only as its own chart says.
  • Test the train before cutting deep. Take a scratch pass and check it with a thread gauge, or measure across 10 threads with a rule or calipers. A wrong gear shows up straight away.
  • Set the mesh with paper. Wind a strip of paper between gears as you tighten the banjo, then remove it. Too tight wears the gears and loads the motor; too loose rattles.
  • Pick the size and depth first. Look up the pitch and major diameter in the thread size chart, then measure the finished thread with the 3-wire thread measurement calculator.
  • The lathe threading pass calculator is a different job: it sets the depth of each pass and G76/G92 code on a CNC lathe, where no change gears are needed. Cutting gears or splines on a dividing head instead? Use the dividing head calculator.

Frequently Asked Questions

Set up a gear train whose ratio equals the metric pitch divided by the leadscrew pitch in mm (25.4 divided by the TPI). Exact metric pitches need a 127 tooth gear; without one, pick the closest train from your set and check the error over the thread length. Keep the half nuts closed and reverse the spindle between passes.

An inch is exactly 25.4 mm, and 127 is 5 times 25.4. Converting between inch and metric pitch always brings in a factor of 127, which is a prime number, so no train of smaller gears can make it exactly. A 127 tooth gear, often paired with a 100 or 120, does it in one step; trains without it are close approximations.

Find whether your leadscrew is 1.5 mm or 16 TPI, list the gears you own, and confirm the stud turns once per spindle turn. Divide the pitch you want by the leadscrew pitch to get the ratio, then find gears where A times C over B times D equals it. The chart on the lathe is for its own gear set, so check yours matches.

No. The dial only repeats correctly when the thread and the leadscrew share the same system. For metric on an imperial leadscrew, or the other way round, leave the half nuts engaged for the whole job and run the spindle backwards to return to the start after each pass.

A is the driver on the stud, nearest the spindle. B and C are fixed together on the intermediate stud, with B driven by A and C driving D. D is on the leadscrew. A two-gear chart lists only A and D, joined by an idler that does not change the ratio.

Yes, closely enough for most work. With the usual mini lathe gear set, including the 57T gear, common TPI threads come out within about 0.06 % of the true pitch. For example 20 TPI with 55 to 65 through an idler cuts 1.2692 mm against the true 1.27 mm. Keep the half nuts engaged and reverse the spindle between passes.

Presets are typical set-ups, not data for your machine: gear sets, leadscrews and stud ratios vary by maker and year, so count your own. The fit check is a rule of thumb. Always confirm the pitch with a scratch pass before cutting to full depth.