Thread Pitch Calculator finds pitch from TPI, metric pitch, or measured thread length using P=1/TPI or P=L/N, then shows inch/mm pitch, thread density, 60° profile height, and flats.
This Thread Pitch Calculator converts between Threads Per Inch (TPI) and metric pitch, resolves measurements taken directly from a physical sample, and derives the basic thread profile geometry — all from a single input value. Whether you are working with Unified inch threads or ISO metric fasteners, the tool handles both unit systems and shows every result with full conversions.
What Is Thread Pitch?
Thread pitch is the axial distance between two adjacent thread crests, measured along the axis of the fastener or workpiece. In metric standards, pitch is expressed directly in millimetres — a common M8 bolt, for example, carries a standard pitch of 1.25 mm. In the inch system, pitch is expressed indirectly as Threads Per Inch (TPI), which counts how many complete thread peaks occur within one inch of length.
Because TPI counts threads per unit length, TPI and pitch are mathematically inverse. A higher TPI means the threads are packed more densely, so the individual pitch distance is smaller. A lower TPI means the threads are coarser with a larger pitch distance.
P (in) = 1 / TPI
For a 20 TPI thread: P = 1 / 20 = 0.0500 in
P (mm) = 25.4 / TPI
For a 20 TPI thread: P = 25.4 / 20 = 1.270 mm
TPI = 25.4 / P (mm)
For a 1.25 mm pitch thread: TPI = 25.4 / 1.25 = 20.32 TPI
Calculator Modes
Select the mode that matches your starting information. The calculator adjusts its input fields accordingly.
Enter a TPI value directly. The calculator computes pitch in inches and millimetres using P = 1 / TPI and P = 25.4 / TPI. Use this for fasteners whose TPI is printed on a thread gauge, drawing callout, or specification sheet.
Enter a pitch value in millimetres. The calculator derives TPI using TPI = 25.4 / P. This is the standard entry point for ISO metric thread specifications where pitch is listed explicitly.
Enter a measured length in inches and the number of thread crests counted across that span. The calculator resolves pitch as P = L / N, where L is the measured length and N is the thread count. Useful for identifying unmarked or legacy fasteners.
Same measurement approach as Mode 3 but with the span entered in millimetres. The resulting pitch is output in millimetres first, then converted to inches and TPI.
Understanding the Results
Every calculation returns five result panels. Each panel is explained below in the same order it appears in the calculator, including the exact formula used, what the output value means physically, and where the constants come from.
The primary output of the calculator. Pitch is the axial distance between two corresponding points on consecutive thread flanks — in practice, from one crest to the next crest measured parallel to the thread axis.
The display unit follows the input mode: inch-based modes show pitch in inches to four decimal places; metric modes show pitch in millimetres to three decimal places. The formulas driving this result depend on the mode selected:
P (in) = 1 / TPI
P (in) = P (mm) / 25.4
P = L / N (L = span length, N = thread count)
For a single-start thread, pitch equals lead — the axial distance the threaded component advances per full rotation. For multi-start threads, lead = pitch × number of starts; this calculator does not compute lead for multi-start forms.
Thread density expresses how many thread crests exist within a given linear span. The primary density value is TPI — threads per inch. The calculator also derives two metric-referenced density figures that are useful when working alongside metric gauges or standards that use 10 mm or 100 mm reference lengths:
TPI = 1 / P (in) OR TPI = 25.4 / P (mm)
(TPI / 25.4) × 10
(TPI / 25.4) × 100
The 10 mm and 100 mm reference figures are not a separate standard — they are a unit-converted restatement of TPI over metric spans. They are useful for cross-referencing thread pitch gauges that are calibrated in metric units, or for sanity-checking measurements taken with a metric rule across a threaded surface.
This panel displays the calculated pitch simultaneously in both inches and millimetres. The conversion between the two is exact and lossless, based on the internationally defined relationship of 1 inch = 25.4 mm exactly (as established by the 1959 international yard and pound agreement and codified in NIST SP 811).
P (mm) = P (in) × 25.4
P (in) = P (mm) / 25.4
This panel is most useful in mixed-standard environments — for example, a metric ISO drawing specifying M10 × 1.5 needs to be cross-referenced against an inch-dimensioned fixture or tooling callout. The pitch pair displayed here gives both values at a glance without requiring a separate conversion step.
The sharp-V height H is the full theoretical depth of a 60° V-form thread with no truncation at the crest or root. It is the geometric baseline from which both Unified (UN) inch and ISO metric basic profile depths are derived by applying standardised truncation ratios.
H = 0.86603 × P
The constant 0.86603 is √3 / 2 — the height of an equilateral triangle with a base of length P, which is the geometric shape of a perfectly sharp 60° thread form.
dext = 0.61343 × P
dint = 0.54127 × P
The 0.61343 factor represents 5H/8 of the sharp-V height; 0.54127 represents 17H/24. These ratios define the basic major-to-root engagement geometry for the Unified thread form per ASME B1.1 and the equivalent ISO 68-1 profile.
These are basic form values only. They do not represent actual machined thread dimensions. Tolerance classes, allowances, and deviations applied to real threads mean the actual pitch diameter, major diameter, and minor diameter will differ from these theoretical baseline figures. Do not use these values to set a lathe depth of cut or to specify thread gauging without consulting the full tolerance tables in ASME B1.1 or ISO 965.
Neither the Unified nor the ISO metric basic thread form has a sharp point at the crest or root. Both standards define a flat truncation — a small horizontal land — at both the tip of the external thread (crest flat) and the bottom of the groove (root flat). These flats prevent stress concentrations at the sharpest geometry points and are part of the defined basic form.
Fc = P / 8
Fr = P / 4
Ftotal = Fc + Fr = P/8 + P/4 = 3P/8
The root flat (P/4) is twice the crest flat (P/8). This asymmetry is intentional in the basic UN and ISO profile: the root requires a wider flat to accommodate the full depth of the mating thread crest without interference at the base of the groove.
These flat widths describe the theoretical basic form. In practice, crests and roots are often rounded (especially on rolled threads) or further truncated, and the actual flat geometry is governed by tolerance class and manufacturing process — not solely by pitch. Consult ASME B1.1 Appendix B or ISO 68-1 for actual profile boundary conditions.
Worked Example — 20 TPI
Using the default calculator value of 20 TPI in Known TPI mode, the following results are produced step by step.
⚠ Assumptions and Limits
All profile depth and flat width values produced by this calculator are theoretical basic geometry values only, derived from the idealised sharp-V thread form and standard truncation ratios. They are provided for reference and education.
These values are not a substitute for:
- Full thread tolerance calculations (tolerance class, allowance, deviation)
- Thread fit class determination (Classes 1A/1B through 3A/3B for inch; 4H/6H/6g etc. for metric)
- Pitch diameter, major diameter, or minor diameter limits
- Tap drill size selection
- Thread strength or engagement length calculations
- Multi-start thread lead calculations (for multi-start threads, lead = pitch × number of starts)
The inch–millimetre conversion used throughout is the exact international definition: 1 inch = 25.4 mm. All results are rounded for display; the underlying arithmetic is performed in full floating-point precision.
References
The thread form constants, profile geometry ratios, and terminology used in this calculator are consistent with the following standards. Consult them directly for tolerance tables, fit class limits, pitch diameter limits, and full dimensional data.