Thread Pitch Calculator
Find thread pitch from a measured thread length and thread count, or enter threads per inch directly. Results update instantly in inches and millimeters.
Thread measurements
Calculated pitch
Equivalent thread measurements
| Measurement | Value | Unit | Interpretation |
|---|---|---|---|
| Pitch | 0.0500 | in/thread | Axial spacing between adjacent threads |
| Metric pitch | 1.270 | mm/thread | Same spacing expressed in millimeters |
| Thread density | 20.000 | threads/in | Number of threads over one inch |
Pitch and TPI are reciprocal descriptions of the same spacing. This calculator does not identify thread form, diameter, tolerance class, or fit.
How to use this thread pitch calculator
What this calculator does. It converts a physical thread measurement into thread pitch and threads per inch. Pitch is the axial distance from one thread crest to the next corresponding crest. The tool can calculate that spacing from a measured threaded length and a counted number of thread intervals, or directly from a known TPI value. It reports the same spacing in inches and millimeters. It does not identify the nominal fastener diameter, thread angle, tolerance class, internal or external fit, or whether a particular nut and bolt are compatible.
When to use it. Use it while checking an unknown bolt with a ruler or caliper, comparing an inch-series fastener with a metric pitch callout, confirming a replacement screw before ordering, or documenting shop-floor measurements for a drawing or inspection record. For final acceptance, use a proper thread-pitch gauge and the applicable thread standard.
How to calculate. The calculator opens with a complete demonstration: a 1 inch threaded length containing 20 thread intervals. The result is a pitch of 0.0500 inch, equal to 1.270 millimeters and 20 TPI, and the example XLSX is ready immediately.
- Choose Calculation method. Select “Measured length and thread count” when you can measure a span and count threads; select “Threads per inch (TPI)” when the TPI is already known.
- For the measurement method, enter Threaded length, choose inches or millimeters, and enter Threads counted. Count consistent intervals over the measured span. Measuring over several threads usually reduces visual error.
- For the TPI method, enter Threads per inch (TPI). Results update live. Read Thread pitch, Pitch in millimeters, Threads per inch, the formula line, and the equivalent-measurements table.
- Select Download Excel to export the current validated inputs and results as a real XLSX workbook. Reset clears the demonstration and input data; Download Excel then remains unavailable until a complete valid state is entered again.
Input guide. Calculation method is required and controls which data path is active. Threaded length is a required positive decimal in either inches or millimeters; for example, 1 in or 25.4 mm. Use a period for decimals and do not paste mixed units into the field. Increasing length while keeping the same thread count increases the calculated pitch. Threads counted is a required positive whole number, such as 20. A common mistake is counting thread crests while measuring the number of gaps between the first and last crest; use one consistent interval convention. Threads per inch (TPI) is required only in direct-TPI mode and accepts a positive decimal such as 20 or 13.5. Higher TPI means finer, more closely spaced threads and therefore a smaller pitch.
Output guide. Thread pitch is the primary axial spacing, displayed in the unit most closely associated with the active method. Pitch in millimeters is the exact unit conversion using 25.4 millimeters per inch. Threads per inch is the reciprocal of pitch in inches. The summary pills repeat these key values for quick scanning. The formula line shows the current operation. The table lists pitch in inches per thread, metric pitch in millimeters per thread, and thread density in threads per inch. These are mathematical conversions and measurement estimates; they are not a thread-fit recommendation.
Worked example. With the startup values, pitch equals measured length divided by thread count: 1.0000 in ÷ 20 = 0.0500 in per thread. Multiplying 0.0500 in by the exact conversion factor 25.4 gives 1.270 mm per thread. Taking the reciprocal, 1 ÷ 0.0500, returns 20.000 TPI. All first-open outputs and workbook values use this same model.
Learn more. NIST explains the exact inch-to-millimeter relationship in its SI units guidance for length, while the NIST Guide for the Use of the International System of Units provides broader unit-writing practice. For terminology and dimensional context, consult the ISO overview of general-purpose metric screw threads.
Formula and measurement practice
For a measured span, the calculator uses pitch = measured length ÷ thread count. When the measured length is in millimeters, it is first converted to inches for the reciprocal TPI calculation, while the original metric pitch remains available directly. For a known TPI value, pitch in inches = 1 ÷ TPI. These relationships are exact once the measurement is accepted; practical uncertainty comes from the ruler, caliper, viewing angle, damaged threads, and how the intervals were counted.
Measure across several full thread intervals rather than only one whenever possible. Place the first reference at a clear crest, count the intervals to another clear crest, and divide the total span by that interval count. A pitch gauge is faster and generally more reliable for common standards, but this calculation is useful for verification, unusual pitches, and documenting an observed value.
Interpreting coarse and fine threads
A larger pitch means adjacent threads are farther apart, so there are fewer threads per inch. A smaller pitch means threads are closer together and TPI is higher. “Coarse” and “fine” are relative to a particular nominal diameter and standard series; the pitch value alone does not establish the complete thread designation. Before selecting hardware, also confirm diameter, thread form, handedness, class of fit, material, and application requirements.
- Zero or negative values are invalid because spacing and thread density must be positive.
- Very high TPI produces a very small pitch and demands more precise measurement.
- Metric and inch values may look different but describe the same physical spacing after conversion.
- Do not round the measured pitch too early when matching it against a standard table.