FIFTY LINETurn G-code
Online generatorOnline calculatorsReference

← All calculators

TPI to pitch converter

Enter threads per inch or the pitch in millimeters and the other one is calculated. You also see the nearest standard pitch and how far the thread drifts over your length if you cut with it.

Quick answer

Pitch P = 25.4 / TPI mm (or 1 / TPI inch), back TPI = 25.4 / P. Example: 13 TPI (1/2-13 UNC) → P ≈ 1.9538 mm = 0.076923″; a 1.5 mm pitch ≈ 16.93 TPI.

Result

Pitch in mm
—
Pitch in inches
—
Nearest metric pitch
—
Nearest standard TPI
—
K word for G33
—

TPI and pitch chart

Click a row to load it into the calculator.

TPIPitch, mmPitch, inNearest metric
46.35000.250006
4.55.64440.222225.5
55.08000.200005
64.23330.166674
73.62860.142863.5
83.17500.125003
92.82220.111113
102.54000.100002.5
112.30910.090912.5
11.52.20870.086962
122.11670.083332
131.95380.076922
141.81430.071431.75
161.58750.062501.5
181.41110.055561.5
191.33680.052631.25
201.27000.050001.25
241.05830.041671
270.94070.037041
280.90710.035711
320.79370.031250.8
360.70560.027780.7
400.63500.025000.6
440.57730.022730.6
480.52920.020830.5
560.45360.017860.45
640.39690.015630.4
720.35280.013890.35
800.31750.012500.3

Who needs it and why

Inch threads are given in threads per inch, metric ones by pitch in millimeters. The machine and the program work with the pitch, so TPI has to be converted — accurately enough, or the error builds up over a long thread.

  • Cutting inch threads — on a metric machine: the pitch in mm and the G33 K word with enough decimals.
  • Repairs — when you need a mating part for an American or British assembly and only know the pitch.
  • Deciding whether to substitute — a close metric thread for an inch one (or back) and how much error builds up over your length.
  • Pipe threads — 11.5 and 27 TPI (NPT), 19 TPI (BSP) — all in the chart.

The formula

pitch, mm = 25.4 / TPI, and back TPI = 25.4 / pitch. For example, 13 TPI = 1.9538 mm, and a 1.5 mm pitch = 16.93 TPI.

Can you cut an inch thread with a metric pitch

On a CNC lathe you don't have to: the pitch is any number in the program. But when the mating part already exists and the pitches are close, the error matters: over a thread or two you won't see it, but on a long nut even a few hundredths of a millimeter make the thread bind. The calculator shows that error over your length.

Why K needs six decimals and what else changes in G20 is covered in Inch threads in LinuxCNC. Thread depth and passes are in the thread calculator.