Thread Pitch and TPI Converter

Thread Pitch and TPI Converter

Metric pitch to threads per inch and back, with the standard ISO coarse and fine pitches and the UNC/UNF series so you can identify what you are holding — plus the traps: BSP is 55° not 60°, a BSP size is a bore, and M5×0.8 will start in a #10-32 hole.

Thread pitch and TPI

Pitch ↔ TPI, with the series
To measure a pitch, lay a rule along the thread and count the crests over 10 mm or over an inch — one crest is one pitch. A thread gauge is better and costs almost nothing.
Crest to crest, along the axis.
Count over a full inch, not over a quarter and multiply.
Some sizes have a second fine pitch as well; the table below lists every pitch ISO 262 gives.
Optional, and only used when you entered a pitch or a TPI: with a diameter the page can tell you which standard metric thread you are probably holding and how far your pitch is from its coarse pitch. Leave it at 0 if you do not know it. Measure across the crests with calipers.
Not a circuit: two thread profiles at the SAME pitch. The upper one is the 60° form used by metric, UNC, UNF and NPT threads, with flattened crests and roots; the dimension across the top is one pitch, crest to crest, and the vertical one at the right is the fundamental triangle height H = 0.866 P. The lower one is the 55° Whitworth form used by BSW and BSP, with ROUNDED crests and roots and a deeper thread. The two wedges at the right are drawn to the true included angles. Same pitch, different thread — which is why a BSP fitting starts into an NPT port and does not seal.
1.0000mmExample

an M6 coarse thread

Advertisement

The conversion is one line; the standards are the page

TPI = 25.4 ÷ pitch (mm)  ·  pitch (mm) = 25.4 ÷ TPI  ·  H = P × √3/2 = 0.86603 P  ·  internal thread height = 5H/8 = 0.54127 P  ·  external, rounded root = 17H/24 = 0.61343 P
25.4
millimetres in an inch, exactly. The conversion has no measurement in it at all
which pitch
the part that is not arithmetic. ISO 261 and 262 decide the standard coarse and fine pitches; ASME B1.1 decides UNC and UNF
60°
the flank angle of metric, UNC, UNF and NPT threads, with flattened crests and roots
55°
BSW, BSPP and BSPT, with ROUNDED crests and roots. Same pitch does not mean same thread
BSP nominal
a historic pipe bore. A 1/2 in BSP measures 20.955 mm across the crests, 1.65 times its own name

Worked example

an M6 coarse thread
ISO 262 gives M6 a coarse pitch of 1.0 mm, which is why “M6” on its own means M6 × 1.0 and a fine M6 × 0.75 has to say so
TPI = 25.4 ÷ 1.0 = 25.4 threads per inch, which is not a whole number and never will be
The nearest whole TPI is 25, a pitch of 1.0160 mm — 1.6% coarser. No standard inch thread uses it
The nearest unified thread by diameter is 1/4 in at 6.35 mm, 0.35 mm larger, and 1/4-20 UNC has a pitch of 1.270 mm — 27% coarser than M6's. They are not interchangeable and they do not even feel close
The fundamental triangle height is 0.866 × 1.0 = 0.8660 mm; the internal thread height is 0.5413 and the external, with a rounded root, 0.6134 mm
Single start, so the lead is the pitch: one turn advances 1.0 mm, and ten turns advance 10

ISO metric: which pitch is standard at each diameter

DesignationCoarse pitch (mm)… as TPIFine pitch(es) (mm)… as TPIInternal thread height (mm)
M10.25101.600.20127.000.135
M1.20.25101.600.20127.000.135
M1.40.3084.670.20127.000.162
M1.60.3572.570.20127.000.189
M1.80.3572.570.20127.000.189
M20.4063.500.25101.600.217
M2.50.4556.440.3572.570.244
M30.5050.800.3572.570.271
M3.50.6042.330.3572.570.325
M40.7036.290.5050.800.379
M50.8031.750.5050.800.433
M61.0025.400.7533.870.541
M71.0025.400.7533.870.541
M81.2520.321.00 / 0.7525.40 / 33.870.677
M101.5016.931.25 / 1.0020.32 / 25.400.812
M121.7514.511.50 / 1.2516.93 / 20.320.947
M142.0012.701.5016.931.083
M162.0012.701.5016.931.083
M182.5010.162.00 / 1.5012.70 / 16.931.353
M202.5010.162.00 / 1.5012.70 / 16.931.353
M222.5010.162.00 / 1.5012.70 / 16.931.353
M243.008.472.0012.701.624
M273.008.472.0012.701.624
M303.507.262.0012.701.894
M333.507.262.0012.701.894
M364.006.353.008.472.165
This is the part of the page that is not arithmetic. TPI = 25.4 ÷ pitch is a definition; which pitch belongs at a given diameter is a decision recorded in ISO 261 and ISO 262, and it is why an M8 with no pitch stated means M8 × 1.25 and an M8 × 1 has to say so. Look down the TPI columns: almost none of them is a whole number, and none of the whole ones coincides with a standard UNC or UNF pitch. That is why the two systems can never share a tap.

Unified inch threads, with their pitches in millimetres

SizeMajor Ø (in)… (mm)UNC tpiUNC pitch (mm)UNF tpiUNF pitch (mm)
#00.06001.524——800.318
#10.07301.854640.397720.353
#20.08602.184560.454640.397
#30.09902.515480.529560.454
#40.11202.845400.635480.529
#50.12503.175400.635440.577
#60.13803.505320.794400.635
#80.16404.166320.794360.706
#100.19004.826241.058320.794
#120.21605.486241.058280.907
1/40.25006.350201.270280.907
5/160.31257.938181.411241.058
3/80.37509.525161.587241.058
7/160.437511.112141.814201.270
1/20.500012.700131.954201.270
9/160.562514.287122.117181.411
5/80.625015.875112.309181.411
3/40.750019.050102.540161.587
7/80.875022.22592.822141.814
11.000025.40083.175122.117
1 1/81.125028.57573.629122.117
1 1/41.250031.75073.629122.117
1 1/21.500038.10064.233122.117
The two pitch columns are computed, not published: 25.4 divided by the TPI. Note how few of them land near a standard metric pitch — 1/4-20 is 1.27 mm where the nearest metric coarse is 1.0, and 3/8-16 is 1.5875 against M10’s 1.5. Those last two are close enough to cause trouble, which the near-miss table below quantifies.

BSP: 55°, and the size is a bore rather than a diameter

NominalTPIPitch (mm)Major Ø (mm)… (in)What the name would suggest (mm)Ratio
1/16 in280.9077.7230.3041.594.865
1/8 in280.9079.7280.3833.173.064
1/4 in191.33713.1570.5186.352.072
3/8 in191.33716.6620.6569.521.749
1/2 in141.81420.9550.82512.701.650
5/8 in141.81422.9110.90215.881.443
3/4 in141.81426.4411.04119.051.388
7/8 in141.81430.2011.18922.221.359
1 in112.30933.2491.30925.401.309
1 1/8 in112.30937.8971.49228.571.326
1 1/4 in112.30941.9101.65031.751.320
1 1/2 in112.30947.8031.88238.101.255
2 in112.30959.6142.34750.801.174
A “1/2 inch BSP” thread measures 20.955 mm across the crests — 1.65 times the half-inch its name implies — because the nominal size is a historic pipe BORE and not a thread diameter. The overstatement is worst at the small end: a 1/16 BSP is nearly five times its own name. The pitch column is computed from the TPI column and reproduces the source’s own printed pitches to within a thousandth of a millimetre, which is how the table was checked. And the flank angle is 55° with rounded crests and roots, where metric and unified threads are 60° with flats — so even where the pitch matches, the forms do not.

BSP against NPT — the pair that will engage and must not

NominalBSP tpiBSP major Ø (mm)NPT tpiNPT major Ø (mm)Difference (mm)Flank anglesDanger
1/8 in289.72827.010.290.56255° vs 60°different TPI
1/4 in1913.15718.013.720.56355° vs 60°different TPI
1/2 in1420.95514.021.340.38555° vs 60°same TPI
1 in1133.24911.533.400.15155° vs 60°different TPI
2 in1159.61411.560.330.71655° vs 60°different TPI
At 1/2 inch the two systems share 14 threads per inch and their major diameters are 0.385 mm apart — under two per cent. A 1/2 NPT male will start into a 1/2 BSPP female and feel right, and it will not seal or hold, because one form is 55° with rounded crests and roots and the other 60° with flats, and NPT is tapered where BSPP is parallel. The source says it plainly: “NPT/NPS and BSP threads are not compatible due to the differences in their thread forms, and not just the fact that most sizes have a different pitch.” At the other sizes the pitch differs too, which is the safer case because it is obvious.

Near misses, computed from the two standards’ own values

MetricUnifiedM Ø (mm)UN Ø (mm)Δ ØM pitch (mm)UN pitch (mm)Δ pitch
M2.5×0.45#3-56 UNF2.5002.5150.58%0.45000.45360.79%
M1.8×0.35#1-72 UNF1.8001.8542.92%0.35000.35280.79%
M5×0.8#10-32 UNF5.0004.8263.61%0.80000.79370.79%
M33×3.51 1/4-7 UNC33.00031.7503.94%3.50003.62863.54%
M4×0.7#8-36 UNF4.0004.1663.98%0.70000.70560.79%
M30×3.51 1/8-7 UNC30.00028.5754.99%3.50003.62863.54%
M20×2.53/4-10 UNC20.00019.0504.99%2.50002.54001.57%
M18×2.53/4-10 UNC18.00019.0505.51%2.50002.54001.57%
M10×1.53/8-16 UNC10.0009.5254.99%1.50001.58755.51%
M12×1.251/2-20 UNF12.00012.7005.51%1.25001.27001.57%
M18×1.53/4-16 UNF18.00019.0505.51%1.50001.58755.51%
M20×1.53/4-16 UNF20.00019.0504.99%1.50001.58755.51%
Nothing here is quoted from a list of “dangerous pairs” — every row is generated by comparing every standard metric pitch with every standard UNC and UNF pitch and keeping the pairs within six per cent on both diameter and pitch. The practical one to remember is M5 × 0.8 against #10-32 UNF: the pitches are 0.8 and 0.7937 mm, eight thousandths of a millimetre apart, so a bolt will run in several turns before it binds. One correction to the folklore: M6 × 1.0 and 1/4-20 UNC are often named as a pair, and they are not a pitch near-miss at all — the diameters are 5.5% apart but the pitches are 1.0 against 1.27 mm, 21% apart. An M6 bolt will cross-thread a 1/4-20 nut and strip it; it will not run in. The damage is the same and the mechanism is not.

One line of arithmetic, and three standards’ worth of everything else

The conversion itself is one line and there is no measurement in it. An inch is exactly 25.4 mm, so threads per inch is 25.4 divided by the pitch in millimetres, and back again. A 1 mm pitch is 25.4 tpi; 20 tpi is 1.27 mm. If that were all a reader needed, this page would not be worth writing. What they actually need is the two things around it: which pitch is standard at a given diameter, and which near-identical threads will engage without holding.

Standard pitch is a decision, not a formula. ISO 261 and ISO 262 record which coarse and fine pitches belong at each metric diameter, and that is why an M8 with nothing after it means M8 × 1.25 while a fine M8 × 1 must be written out. ASME B1.1 does the same job for UNC and UNF. All three are copyrighted; this page cites them by number, takes the pitch values from named engineering references, and computes everything else. Look down the TPI column of the metric table and you will see the structural reason the two systems can never share a tap: almost no standard metric pitch is a whole number of threads per inch, and none of the few that come close coincides with a standard UNC or UNF pitch.

The flank angle matters as much as the pitch, and this is where pipe threads bite. Metric, UNC, UNF and NPT threads are all 60° included, with flattened crests and roots. BSW, BSPP and BSPT are 55°, with rounded crests and roots. So two threads can share a pitch and still be different threads. The worked case is 1/2 inch: BSP and NPT both run 14 threads per inch, their major diameters are 20.955 and 21.34 mm — under two per cent apart — and NPT is tapered where BSPP is parallel. A fitting will start, feel right, and neither seal nor hold. The reference used here says so in terms: the two are “not compatible due to the differences in their thread forms, and not just the fact that most sizes have a different pitch”.

A BSP size is not a diameter either. It is a historic pipe bore, so a “1/2 inch BSP” measures 20.955 mm across the crests — 1.65 times the half-inch in its name. The overstatement is worst at the small end, where a 1/16 BSP is nearly five times its own label, and shrinks towards the large sizes. If you are identifying a fitting with calipers, measure it and look the diameter up; the name will mislead you every time.

The near-miss table on this page is computed rather than quoted. Every standard metric pitch was compared against every standard UNC and UNF pitch and the pairs within six per cent on both diameter and pitch kept. The one worth memorising is M5 × 0.8 against #10-32 UNF: pitches of 0.8 and 0.7937 mm, eight thousandths of a millimetre apart, so a bolt runs in several turns before it binds and by then the damage is done. It also corrects a piece of folklore. M6 × 1.0 and 1/4-20 UNC are frequently named as an interchangeable-feeling pair, and the arithmetic says otherwise: the diameters are 5.5% apart, which lets the M6 enter, but the pitches are 1.0 against 1.27, 21% apart. It cross-threads and strips; it does not run in. Same wrecked hole, different mechanism, and worth knowing which.

What is deliberately not here. Tap drill sizes and thread engagement depth belong to the drill bit size converter, which already owns that calculation, so this page gives the thread heights and links rather than rebuilding it. Acme and trapezoidal forms and pipe-thread taper dimensions are absent because no clean published table for them could be verified, and printing them from memory would be worse than the gap. For the fasteners themselves see the wood screw size converter and the nail size converter.

Advertisement

Frequently asked questions

How do I convert thread pitch to TPI?

TPI = 25.4 ÷ the pitch in millimetres, and back the other way pitch = 25.4 ÷ TPI. There is no measurement in it — an inch is exactly 25.4 mm. A 1 mm pitch is 25.4 tpi; 20 tpi is 1.27 mm. What the conversion cannot tell you is whether the result is a standard thread, which is the actual question.

What pitch is standard for an M8?

1.25 mm coarse, with 1.0 and 0.75 as the fine pitches ISO 262 lists. Because the coarse pitch is the default, “M8” with nothing after it means M8 × 1.25, and a fine thread must be written out as M8 × 1. The whole table is on this page; the standards themselves are copyrighted and are cited rather than reproduced.

Are M6 and 1/4-20 interchangeable?

No, and they are not even close in the way the folklore suggests. M6 is 6.00 mm across the crests with a 1.0 mm pitch; 1/4-20 UNC is 6.35 mm with a 1.27 mm pitch. The diameters are 5.5% apart, which lets the smaller bolt enter, but the pitches are 21% apart, so it cross-threads and strips rather than running in. The genuinely dangerous pair is M5 × 0.8 against #10-32 UNF, where the pitches differ by eight thousandths of a millimetre and a bolt will turn several times before it binds.

Why won’t my BSP fitting go into an NPT port?

Because they are different thread forms, not just different pitches. BSP is 55° with rounded crests and roots; NPT is 60° with flats, and tapered where BSPP is parallel. At 1/2 inch they share 14 threads per inch and their major diameters are under two per cent apart, so they will engage and feel right — and they will not seal. The source used here states it directly: the two are “not compatible due to the differences in their thread forms, and not just the fact that most sizes have a different pitch.”

Why is a 1/2 inch BSP thread 20.9 mm across?

Because the nominal size is a historic pipe BORE, not a thread diameter. A 1/2 in BSP measures 20.955 mm over the crests, 1.65 times the half-inch in its name. The overstatement is worst at the small sizes — a 1/16 BSP is nearly five times its own name — and shrinks towards the large end. If you are identifying a fitting with calipers, measure it and look the diameter up rather than trusting the label.

What is the difference between coarse and fine threads?

Only the pitch, and everything that follows from it. A fine thread has more threads per inch, so a shallower thread form, more cross-section left in the bolt, finer adjustment and better resistance to vibrating loose; a coarse thread is faster to assemble, more tolerant of damaged or dirty threads, and better in soft or brittle materials where thread stripping is the failure mode. ISO 261 and 262 fix which is which at each diameter.

How deep is the thread?

The fundamental triangle height is H = P × √3/2 = 0.866 P; the basic internal thread height is 5H/8 = 0.54127 P and the external height with a rounded root is 17H/24 = 0.61343 P. Those are the figures on this page. For the tap drill that follows from them, and for thread engagement, the drill bit size converter already owns that calculation and this page deliberately does not repeat it.

Why doesn’t this page cover Acme, trapezoidal or pipe taper?

Because no clean published table for them could be verified. Acme and trapezoidal threads are power-transmission forms with a 29° and 30° included angle and their own pitch series, and pipe-thread taper dimensions (1 in 16 on NPT, the truncation and gauge lengths) come from standards that were not fetched. Printing them from memory would be worse than leaving them out, so they are left out.

Related calculators

References

  1. ISO 261, ISO general purpose metric screw threads — General plan, ISO 262 (selected sizes) and ISO 724 (basic dimensions). All copyrighted; none fetched and none reproduced. They are cited by number for what they are: the documents that decide which pitch is standard at a given diameter, which is the only part of this page that is not arithmetic.
  2. Wikipedia, ISO metric screw thread (read 27 September 2026), the secondary the pitch values here were read from — its table of the ISO 262 preferred sizes, M1 to M36, with the coarse pitch and the fine pitches for each. It also gives the 60° flank angle, the fundamental triangle height H = P × √3/2, and the rule that “the coarse pitch is the commonly used default pitch for a given diameter” and may be omitted from the designation. Its internal thread height is printed as “0.54125 × pitch”; the exact value from the profile is 5/8 × √3/2 = 0.5412659, and this page uses the exact one.
  3. ASME B1.1, Unified Inch Screw Threads (UN, UNR and UNJ Thread Form). Copyrighted, not fetched, not reproduced. The UNC and UNF designations used here were read from The Engineering ToolBox, Unified Thread Standards: UNC & UNF Size Charts & Specifications (read 27 September 2026), both columns complete from #0 to 1½ in.
  4. Hydraulic Insight, BSP Thread Size Chart: BSPP and BSPT Dimensions (read 27 September 2026), for the BSP table — nominal size, TPI, pitch and major diameter in millimetres from 1/16 to 2 in — and for the two facts the page exists for: “BSP threads use an included angle of 55 degrees” and “A BSP size is a nominal designation, not the actual outside diameter of the thread. The nominal size originated from historical pipe-bore dimensions”.
  5. Valves Online, Explanation of common threads including BSP & NPT (read 27 September 2026), the independent check, agreeing at every shared BSP row and adding the NPT column. BSP: “the same pitch, angle (55 degrees) and shape (rounded peaks and valleys)”. NPT: “the same pitch, angle (60 degrees) and shape (flat peaks and valleys)”. And the conclusion: “NPT/NPS and BSP threads are not compatible due to the differences in their thread forms, and not just the fact that most sizes have a different pitch.”
  6. ISO 228 (parallel pipe threads, the BSPP family) and ISO 7 / BS 21 (taper, the BSPT family), and ASME B1.20.1 for NPT. Cited by number only: all four are copyrighted, none was fetched, and this page deliberately carries no taper dimensions at all because no clean published table for them could be verified.