Thread Pitch Calculator

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.

TPI
in
Count
Calculated Pitch
0.0500 in
The linear distance between corresponding points on adjacent threads.
Thread Density
20.00 TPI
Threads per 10 mm 7.87
Threads per 100 mm 78.74
The density of thread grooves over standard linear distances.
Pitch Conversion
0.0500 in = 1.270 mm
Pitch in Inches 0.0500 in
Pitch in Millimeters 1.270 mm
Direct mathematical conversions of the primary dimensions into the opposing unit system.
Sharp V Height
0.0433 in
External Basic Depth 0.0307 in
Internal Basic Depth 0.0271 in
Theoretical basic profile depth calculations for standard Unified (UN) and ISO metric threads.
Total Flat Width
0.0188 in
Crest Flat 0.0063 in
Root Flat 0.0125 in
Theoretical flat widths required at the crest and root for standard basic form geometries.
Machining Application Note
Pitch dictates the axial distance between adjacent threads. For single-start threads, the pitch is exactly equal to the lead (the distance the thread advances in one full rotation).

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.

Inch pitch from TPI
P (in) = 1 / TPI

For a 20 TPI thread: P = 1 / 20 = 0.0500 in

Metric pitch from TPI
P (mm) = 25.4 / TPI

For a 20 TPI thread: P = 25.4 / 20 = 1.270 mm

TPI from metric pitch
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.

Mode 1
Known TPI

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.

Mode 2
Known Metric Pitch (mm)

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.

Mode 3
Measure from Sample (Inches)

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.

Mode 4
Measure from Sample (Metric mm)

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.

01 Calculated Pitch

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:

Known TPI P (in) = 1 / TPI
Known metric pitch P (in) = P (mm) / 25.4
Measured sample 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.

02 Thread Density

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 (always shown) TPI = 1 / P (in)   OR   TPI = 25.4 / P (mm)
Threads per 10 mm (TPI / 25.4) × 10
Threads per 100 mm (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.

03 Pitch Conversion

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).

Inches → Millimetres P (mm) = P (in) × 25.4
Millimetres → Inches 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.

04 Sharp V Height & Basic Profile Depths

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.

Sharp V height 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.

External basic depth (UN bolt side) dext = 0.61343 × P
Internal basic depth (UN nut side) 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.

05 Crest Flat, Root Flat & Total Flat Width

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.

Crest flat width Fc = P / 8
Root flat width Fr = P / 4
Total flat width 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.

Input: 20 TPI
Calculated Pitch (inches) 1 / 20 = 0.0500 in
Metric Pitch 25.4 / 20 = 1.270 mm
Threads per 10 mm (20 / 25.4) × 10 = 7.87
Threads per 100 mm (20 / 25.4) × 100 = 78.74
Sharp V Height 0.86603 × 0.0500 = 0.0433 in
External Basic Depth 0.61343 × 0.0500 = 0.0307 in
Internal Basic Depth 0.54127 × 0.0500 = 0.0271 in
Crest Flat (P / 8) 0.0500 / 8 = 0.0063 in
Root Flat (P / 4) 0.0500 / 4 = 0.0125 in
Total Flat Width 0.0063 + 0.0125 = 0.0188 in

⚠ 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.

ASME B1.1
Unified Inch Screw Threads (UN, UNR, UNJ Thread Forms)
The primary US standard governing inch thread form geometry, tolerance classes (1A/1B through 3A/3B), pitch diameter limits, and allowances. Source of the 0.61343P external and 0.54127P internal basic depth constants used in this calculator.
American Society of Mechanical Engineers (ASME) →
ISO 68-1
ISO General Purpose Screw Threads — Basic Profile
Defines the fundamental 60° V-form basic profile for ISO metric and inch threads, including the sharp-V height H = 0.86603P and the standard crest and root flat truncations used across all general-purpose thread series.
International Organization for Standardization (ISO) →
ISO 261
ISO General Purpose Metric Screw Threads — General Plan
Establishes the general plan for metric thread series including coarse and fine pitch selections across diameter ranges. Provides the framework for identifying standard pitch values for any given metric nominal diameter.
International Organization for Standardization (ISO) →
ISO 724
ISO General Purpose Metric Screw Threads — Basic Dimensions
Specifies the basic (nominal) dimensions for ISO metric threads — major diameter, pitch diameter, and minor diameter — for the standard coarse and fine pitch series. Cross-reference this against calculated basic depths to understand where theoretical values sit within the full dimensional envelope.
International Organization for Standardization (ISO) →
NIST SP 811
Guide for the Use of the International System of Units (SI)
Formally codifies the exact relationship 1 inch = 25.4 mm, the conversion constant underlying every inch–millimetre result in this calculator. Published by the US National Institute of Standards and Technology; freely available online.
National Institute of Standards and Technology (NIST) →
ISO 965-1
ISO General Purpose Metric Screw Threads — Tolerances
Specifies the tolerance system for metric screw threads including tolerance grades, tolerance positions, and fit classes (e.g. 6H/6g). Essential for converting the basic profile dimensions output by this calculator into actual machined thread limits and gauging requirements.
International Organization for Standardization (ISO) →