Audited 31 Jul 2026·Last updated 28 Oct 2026·3 citations·Tier 3·0 uses

Thread Pitch Calculator

Convert threads per inch (TPI) on a UNC, UNF or pipe thread to axial pitch in millimetres using the exact 25.4 mm inch, e.g. 20 TPI = 1.27 mm.

Thread Pitch Calculator

TPI
Thread pitch
1.27
The axial distance between neighbouring thread crests, in millimetres, equal to 25.4 divided by the threads per inch entered.
Model scope
Unit conversion between TPI and axial pitch only; it does not identify thread form, diameter, class, lead for multi-start threads, tolerances, engagement, fit, or applicable standard.

Background.

Inch and metric fasteners describe the same geometry in opposite ways. A metric bolt is labelled with its pitch, the distance between neighbouring crests, so an M8 coarse thread is marked 1.25. A Unified inch bolt is labelled with a count instead: a 1/4-20 has 20 threads in every inch of length. To compare the two, or to set a lathe's gearbox, buy a tap, or match a pitch gauge, you have to turn one description into the other.

The conversion is a single division. An inch has been exactly 25.4 mm since the international yard was fixed in 1959, so the pitch in millimetres is 25.4 divided by the threads per inch, with no approximation anywhere. Coarse inch threads come out near the coarse metric series, which is where the trouble starts. A 3/8-16 has a pitch of 1.5875 mm against 1.5 mm for an M10, a gap of under a tenth of a millimetre per turn. Two threads that close can start by hand and then bind a few turns in, after the mismatch has built up to around half a millimetre, and forcing them strips the softer part.

The answer is pitch only. It says nothing about the thread's diameter, its form (60° Unified, Whitworth's 55°, the taper of a pipe thread), its tolerance class, or whether it is a multi-start thread whose lead is a multiple of the pitch. Identifying a mystery bolt still needs a caliper on the major diameter as well as the count.

What is thread pitch calculator?

Thread pitch is the axial distance from a point on one thread to the corresponding point on the next, measured parallel to the screw's axis. Threads per inch is the reciprocal of that distance expressed in inches: how many pitches fit into one inch of length. On a single-start thread the pitch is also how far the screw advances in one full turn; on a multi-start thread the advance per turn, called the lead, is the pitch multiplied by the number of starts.

How to use this calculator.

  1. Enter the threads-per-inch figure, usually the number after the dash in an inch designation: 20 for a 1/4-20 UNC, 28 for a 1/4-28 UNF, 14 for a 1/2-inch NPT pipe thread.
  2. If you are counting threads on an unknown bolt, lay a rule along it and count the gaps between crests over one inch, not the crests themselves; counting crests gives one too many.
  3. For a fine thread that is hard to count, measure across ten pitches and divide by ten, or check with a pitch gauge, then convert whichever way you need.
  4. Read the pitch in millimetres and compare it with the metric series you are matching against, remembering that the diameter must match as well.

The formula.

pitch (mm) = 25.4 / threads per inch

Pitch (mm) = 25.4 ÷ TPI. Threads per inch counts how many pitches fit in one inch, so one inch divided by that count is the length of a single pitch in inches; multiplying by 25.4 converts it to millimetres. The 25.4 is not a rounded conversion factor but the legal definition of the international inch, which is why the result carries no conversion error. Because TPI sits in the denominator, the relationship is inverse: doubling the thread count halves the pitch, and fine threads with high counts have small pitches. The same equation run backwards, TPI = 25.4 ÷ pitch, turns a metric pitch into an equivalent count, so a 1.0 mm pitch corresponds to 25.4 TPI.

A worked example.

Example

Take a 1/4-20 UNC bolt, the thread used on most camera tripod mounts. It has 20 threads per inch, so one pitch is one twentieth of an inch: 25.4 ÷ 20 = 1.27 mm. That is the figure the page returns, 1.27 mm. A quick sanity check: ten full turns advance the bolt 10 × 1.27 = 12.7 mm, exactly half an inch. The fine-thread version of the same diameter, 1/4-28 UNF, gives 25.4 ÷ 28 = 0.9071 mm. The closest metric neighbour of the coarse bolt, an M6 × 1.0, differs from it by 0.27 mm per turn, which after three turns adds up to 0.81 mm. That is why a 1/4-20 and an M6 refuse to go together almost immediately, while closer pairs can fool you for longer.

threads Per Inch20

Frequently asked questions.

How do I convert a metric thread pitch to threads per inch?
Divide 25.4 by the pitch in millimetres. A 1.25 mm pitch, the coarse thread on an M8 bolt, works out to 20.32 TPI, and a 1.5 mm pitch to about 16.93 TPI. Metric pitches rarely give whole numbers, which is one way to tell a metric thread from an inch one.
Will a 3/8-16 bolt go into an M10 nut?
It may start, which is the dangerous part. The 3/8-16 pitch is 1.5875 mm against 1.5 mm for an M10, so the threads drift apart by about 0.0875 mm each turn, reaching roughly half a millimetre after six turns. The diameters also differ slightly, so the joint binds and the threads are damaged if you keep going.
What is the difference between pitch and lead?
Pitch is the distance between adjacent thread crests; lead is how far the screw travels in one revolution. On an ordinary single-start bolt they are the same. A two-start thread advances twice its pitch per turn, so if you are working out feed or travel on a multi-start leadscrew, multiply the pitch from this page by the number of starts.
Can I use this for pipe threads like NPT?
Yes, for the pitch alone. A 1/2-inch NPT fitting has 14 threads per inch, which converts to about 1.814 mm. The conversion does not capture the taper of a pipe thread or the different 55° form of BSP threads, so a matching pitch does not mean two pipe fittings will seal together.
Why is my thread count giving an odd number like 19 or 21?
Most often the count is off by one: counting crests across an inch instead of the gaps between them adds one, and starting or stopping mid-thread loses one. Standard inch series use specific counts such as 13, 16, 18, 20 and 24, so a reading one away from one of those usually means a miscount rather than an unusual thread.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
pitch (mm) = 25.4 / threads per inch
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon