Lathe change gear calculator

Updated November 23, 2026  ·  Indumor

The drawing calls for a pitch the lathe chart does not list, or the lathe is an old one with no gearbox and every pitch means setting up the quadrant by hand. The sum is always the same: workpiece pitch divided by lead screw pitch. What takes time is finding, among the gears in the drawer, the two or four that make that fraction. The calculator tries every simple and compound combination of your gears, sorts them by error and shows the five best. It also runs backward: with the gears already on, it tells you what pitch they cut.

lead screwDAfrom the headstockidlerADBDACfrom the headstockABCD
How to use it
  1. Enter the pitch you want to cut, in millimeters or threads per inch, and the lead screw of your lathe.
  2. Check the gear list: it comes with the classic set, 20 to 120 in steps of 5 plus the 127. Delete the ones you lack and, if you have two alike, type it twice.
  3. Read the best train and, below it, the other four options. If the error is not zero, see what it adds up to over 100 mm of thread.
  4. To check a train that is already set up, switch to “Gears on the lathe” and enter the teeth: you get the pitch it cuts.
Best train: drivers / driven50 / 127
Error of that trainexact
Ratio i0.393701
Workpiece pitch2.5000mm
Lead screw pitch6.3500mm

The five best combinations

No.A × CB × DiError
%
Per 100 mm
mm
Per turn
mm
1501270.393701exact
225×4020×1270.393701exact
325×6030×1270.393701exact
420×7530×1270.393701exact
525×7035×1270.393701exact

A and C are drivers; B and D are driven, with D on the lead screw. A two-gear train takes any idler between A and D. On a lathe with a gearbox, the box ratio multiplies the quadrant ratio.

A fraction built out of gears

To cut a thread the carriage has to advance exactly one pitch per revolution of the work. That link is the lead screw, which takes its drive from the headstock through the gears on the quadrant.

i = PworkPlead screw = driversdriven simple train: i = AD compound train: i = A · CB · D

P: pitch, both in the same unit (an n tpi lead screw has a pitch of 25.4 / n mm) · A and C: drivers · B and D: driven, with D on the lead screw.

Worked example · an M20×2.5 on a 4 tpi lead screw

It is the one loaded above: a 2.5 mm pitch and a 4 tpi lead screw, which is 6.3500 mm.

  • Ratio: 2.5 / 6.3500 = 0.393701, the fraction 50/127.
  • Best train: 50 / 127, exact. A = 50 as the driver and D = 127 on the lead screw, with any idler.
  • Without the 127 and with a 63 in the drawer: 20×63 / 40×80, with an error of +0.0125 %, which over 100 mm of thread is +0.012 mm.

What the 127-tooth gear does

The classic set runs from 20 to 120 teeth in steps of 5, plus a 127-tooth gear. That gear converts exactly between inches and millimeters, because 127 = 5 × 25.4. When it is missing you replace it with a close fraction, and the best known is 80/63: the error is 0.0125 %, a hundredth of a millimeter over 80 mm of thread.

Before the first pass

Check that the gears clear each other and the plate: the 127 is big and sometimes has to go in position D rather than B. Then take a dry pass and a barely visible scratch pass, checked with the pitch gauge: it tells you the quadrant is set up wrong before the part is ruined. With a metric thread on an inch lead screw, or the reverse, the half nuts stay closed and you come back by reversing the machine.

Frequently asked questions

What is the 127-tooth gear on a lathe for?

For exact conversion between inches and millimeters: 127 = 5 × 25.4. On an inch lead screw it goes in as a driven gear to cut metric pitches; on a metric lead screw it goes in as a driver to cut threads per inch.

How do you calculate change gears for threading?

From the ratio i = workpiece pitch / lead screw pitch, in the same unit. That fraction is made with two gears (i = A/D) or with four (i = A·C / B·D). For 2.5 mm on a 4 tpi lead screw: i = 2.5 × 4 / 25.4 = 50/127.

What if I do not have the 127-tooth gear?

Replace it with a close fraction; the usual one is 80/63, with an error of 0.0125 %. Take the 127 off the list and the calculator finds the best approximation with the gears that are left.

Sources: ISO 68-1 (basic profile of the metric thread); ASME B1.1 (unified inch threads); DIN 13; operating manuals of engine lathes with and without quick-change gearboxes. The ratio is i = workpiece pitch / lead screw pitch = drivers / driven.

Keep going

Metric thread

Tap drill, the d2, d3 and D1 diameters, the stress area and the thread your drill leaves.

Open the calculator →

Dividing head

Crank turns, holes and circle for N divisions or an angle, with differential indexing when needed.

Open the calculator →

The machinist's handbook

Twenty-five chapters of shop tables, drawings and worked examples.

See the contents →

Need the threaded part finished?

Send us the drawing or a sample: we turn it, thread it and deliver it inspected.