Skip to content
UseCalcNow
DIY & Home

Thread Pitch Calculator — Convert TPI to Millimeters

Calculate thread pitch in millimeters from TPI, find pitch diameter, and convert between metric and imperial thread specifications.

About This Calculator

Thread pitch defines the spacing between threads on a screw or bolt, and getting it right matters for every mechanical connection. This calculator converts threads per inch (TPI) to millimeter pitch and calculates pitch diameter for unified thread forms. Enter your TPI and major diameter to get instant results for machining, tapping, or identifying hardware. The math works for UNC, UNF, and UNEF thread standards.

The Formula Behind This Calculator

The calculator uses two core formulas. Pitch in millimeters equals 25.4 divided by TPI, since one inch contains 25.4 millimeters. Pitch diameter for an external unified thread equals the major diameter minus 0.64952 times the pitch (in inches). The 0.64952 constant comes from the thread geometry of 60-degree unified threads, representing the height of the sharp V-thread minus the truncation at crest and root.

Understanding the math helps you verify results and make better decisions for your project.

How to Use

  1. 1Enter the threads per inch (TPI) of your fastener — find this on the packaging or count thread crests in a quarter inch.
  2. 2Input the major diameter in inches — for example, 0.25 for a 1/4-inch bolt, 0.5 for a 1/2-inch bolt.
  3. 3Click calculate to get pitch in millimeters, pitch in inches, and the pitch diameter.
  4. 4Use the pitch diameter value for machining setups, thread gauging, or quality control checks.

When to Use

  • Identifying mystery bolts and screws from mixed hardware bins
  • Converting metric prints to imperial for shop floor work
  • Setting up a lathe or CNC for threading operations
  • Verifying thread specs before ordering replacement fasteners
  • Calculating pitch diameter for go/no-go gauge selection

Tips

  • Common imperial TPI values: 1/4-20 (UNC), 1/4-28 (UNF), 5/16-18 (UNC), 5/16-24 (UNF) — memorizing these saves time.
  • For metric bolts, the pitch is printed directly on the head or packaging (e.g., M8 x 1.25). The second number is the pitch in mm.
  • A thread pitch gauge is the fastest way to identify TPI on unknown fasteners — match the blade teeth until they seat flush.
  • Pitch diameter tolerance is typically plus or minus 0.001 inches for general work, plus or minus 0.0005 for precision aerospace applications.
  • When converting metric to imperial, divide 25.4 by the metric pitch to get TPI — e.g., 25.4 / 1.5 = 16.93 TPI.

Understanding Thread Pitch Basics

Thread pitch measures the distance from one thread crest to the next along the axis of a fastener. In the imperial system used across North America, this spacing is expressed as threads per inch (TPI) — the number of complete thread rotations in one inch of length. A 1/4-20 bolt has 20 threads per inch, meaning each thread advances 0.050 inches (1 / 20 = 0.050). The metric system flips this around, stating the pitch directly as the distance between threads in millimeters. An M8 x 1.25 bolt has a pitch of 1.25 mm per thread.

The relationship between TPI and metric pitch is straightforward: pitch in millimeters equals 25.4 divided by TPI. A 20 TPI thread converts to 1.27 mm pitch, while a 10 TPI thread equals 2.54 mm. This conversion becomes essential when working on equipment built to international standards, where a metric replacement may be the only option for an imperial fastener. Our thread calculator covers additional thread dimensions beyond what this tool addresses.

Thread pitch affects three critical properties: mechanical strength, assembly speed, and vibration resistance. Coarse threads assemble faster, resist cross-threading, and handle dirty or damaged threads better. Fine threads offer higher tensile stress area, better vibration loosening resistance, and more precise adjustment capability. The choice between coarse and fine pitch depends on the application, material, and service conditions.

Metric and Imperial Thread Systems

The Unified Thread Standard (UTS) governs imperial threads in the United States and Canada, including the UNC (coarse), UNF (fine), and UNEF (extra fine) series. Each series defines a standard TPI for every major diameter. For example, a 1/4-inch diameter uses 20 TPI in UNC and 28 TPI in UNF. These standards ensure interchangeability across manufacturers and industries, from automotive to construction equipment.

Metric threads follow ISO standards, with the M-profile being the most common worldwide. The ISO metric thread system specifies coarse and fine pitches for each diameter. An M10 coarse thread has a 1.5 mm pitch, while the fine version uses 1.25 mm. The 60-degree thread angle is shared between unified and metric systems, which means the conversion between them is purely a matter of pitch and diameter — the thread form geometry is compatible for calculation purposes.

Converting between systems requires care. A 3/8-16 bolt (0.375 inch diameter, 16 TPI) has a pitch of 1.5875 mm — close to but not exactly matching M10 x 1.5. Thread pitch, diameter, and thread angle must all match for two fasteners to be interchangeable. In practice, mixing metric and imperial threads is never recommended even when dimensions are close, because the pitch difference causes thread damage and eventual failure under load.

Pitch Diameter and Thread Quality

Pitch diameter represents the theoretical cylinder where the thread ridge width equals the groove width. On a 60-degree unified thread, the pitch diameter equals the major diameter minus 0.64952 times the pitch. For a 1/4-20 thread, that calculation yields 0.2175 inches — the dimension that thread gauges actually measure. This single value controls whether a bolt and nut will assemble correctly with the right amount of play.

Manufacturing tolerances on pitch diameter separate a Class 2A (general purpose) from a Class 3A (close fit) thread. The difference might be only 0.001 inches, but that margin determines whether a fastener passes or fails inspection. Aerospace, medical device, and automotive safety applications routinely specify Class 3 fit, requiring tighter process control and more frequent gauge checks. Our pitch diameter calculator handles the detailed tolerance calculations for these applications.

Thread measuring wires offer a practical way to verify pitch diameter on the shop floor. Three wires of a specific diameter are placed in the thread grooves, and a micrometer reading across the wires yields a value that can be converted to pitch diameter. The best wire size equals 0.57735 times the pitch, placing the contact point exactly at the pitch line. This method works for both external and internal threads with appropriate fixturing.

Common Thread Standards Reference

Standard TPI values appear across engineering references to simplify fastener selection. For UNC threads: 1/4-20, 5/16-18, 3/8-16, 7/16-14, 1/2-13, 9/16-12, 5/8-11, 3/4-10, 7/8-9, 1-8. For UNF threads: 1/4-28, 5/16-24, 3/8-24, 7/16-20, 1/2-20, 9/16-18, 5/8-18, 3/4-16, 7/8-14, 1-12. These combinations cover the vast majority of general-purpose fasteners found in hardware stores and industrial supply catalogs.

Metric coarse threads follow an equally standardized set: M3 x 0.5, M4 x 0.7, M5 x 0.8, M6 x 1.0, M8 x 1.25, M10 x 1.5, M12 x 1.75, M16 x 2.0, M20 x 2.5, M24 x 3.0. These pitches represent roughly 80% of the thread engagement that the mating nut can provide while maintaining reasonable assembly speed and strength. Fine metric pitches, like M10 x 1.25 or M14 x 1.5, appear in automotive engine components and precision instrumentation where vibration resistance matters.

Specialty thread forms — Acme, Buttress, Whitworth, and NPT — use different geometries than the 60-degree unified form. Acme threads (29 degree flank angle) handle heavy lead screw loads. NPT pipe threads use a 60-degree form with taper for sealing. The pitch calculations remain the same, but the pitch diameter constants change with the thread angle. This calculator addresses the unified 60-degree form, which covers the most common shop fastener work.

Measuring Thread Pitch in Practice

Identifying thread pitch starts with a thread pitch gauge — a set of serrated blades with specific TPI values. Match the blade teeth to the fastener threads by holding them against the crests. When the blade seats fully with no gaps, the stamped number indicates the TPI. This method works well for external threads on bolts and screws. Internal threads in nuts and tapped holes require a slightly different approach using internal pitch gauges or cast impressions.

For threads too damaged for a gauge, use a ruler marked in sixteenths of an inch. Count the thread crests visible in a quarter-inch span, then multiply by four to get TPI. A bolt showing 5 crests in a quarter inch has 20 TPI. This rough method gets you within one or two TPI, which narrows the identification enough to confirm with a gauge. Measuring the major diameter with a caliper — across the thread crests — confirms the nominal size and cross-references against standard charts.

Digital calipers with thread measuring capabilities can read pitch directly, and optical comparators project a magnified thread profile for inspection work. For production environments, go/no-go thread ring gauges and plug gauges provide pass/fail verification in seconds. When sourcing raw material for threaded components, knowing the pitch lets you calculate blank diameter and stock requirements — pair this with the metal weight calculator to estimate material costs for production runs.

Thread Engagement and Fastener Performance

Thread engagement — the number of threads actually in contact between a bolt and nut — depends directly on pitch. A nut 1/2 inch tall engaged with a 1/4-20 bolt provides 10 threads of engagement, while the same nut on a 1/4-28 bolt provides 14 threads. More engagement distributes the load across more thread surfaces, reducing stress per thread and improving fatigue resistance. The general rule for steel fasteners is a minimum of 1 to 1.5 times the diameter in engagement length.

Coarse threads (lower TPI) provide more thread depth per turn, giving each thread more shear area. This matters in soft materials like aluminum, brass, and plastic, where thread stripping is the primary failure mode. Fine threads (higher TPI) have shallower threads but more of them, producing higher tensile strength in hard materials where the threads themselves are the weak link. The pitch choice directly affects the failure mode — strip-out in soft material versus tensile fracture in hard material.

Proper installation torque also depends on thread pitch. For a given clamping force, finer pitches require less torque because the mechanical advantage of the smaller helix angle is greater. The bolt torque calculator factors in pitch, friction coefficient, and clamp load to determine the correct wrench setting. Using the wrong torque specification for a given pitch leads to either under-tightened joints that work loose or over-tightened joints that yield the fastener.

Drilling, Tapping, and Hole Preparation

Cutting internal threads requires a tap drill hole sized to leave material for the thread flanks. The tap drill size for a 1/4-20 thread is a number 7 drill (0.201 inch), leaving about 75% thread engagement. For 1/4-28, the tap drill is a number 3 (0.213 inch). The formula for tap drill size is major diameter minus pitch — for imperial threads, that means major diameter minus (1 / TPI). Using the correct tap drill prevents broken taps and ensures adequate thread strength.

When drilling multiple holes for a bolt pattern, the bolt circle calculator positions the holes accurately, and the clearance hole calculator determines the right hole diameter for bolt passage. Threaded holes need different sizing than clearance holes — threaded holes get the tap drill size, while clearance holes are sized 1/32 to 1/16 inch over the bolt diameter for free passage. Mixing up these two hole types causes assembly problems and weakened connections.

Tapping deep holes requires attention to chip evacuation and lubrication. In aluminum and other soft materials, coarse pitches produce larger chips that can pack the flutes and break taps. Fine pitches produce smaller chips but require more revolutions to complete the thread. Using cutting fluid or tapping paste extends tap life and improves thread finish, especially in stainless steel and tough alloys which work-harden during cutting.

Threading on Lathe and CNC Equipment

Cutting threads on a lathe requires syncing the spindle speed with the carriage feed so each cutting pass follows exactly the same path. The leadscrew or CNC controller handles this mechanically, but the operator must set the correct pitch — TPI for imperial or mm pitch for metric. Single-point threading tools produce the most accurate threads because they control the thread form directly, unlike dies which can produce slightly tapered or drunken threads.

The threading infeed method affects tool life and thread quality. Straight infeed works for coarse pitches but generates high cutting forces. Flank infeed (feeding at 29 degrees to one flank) reduces cutting pressure and produces better surface finish. The depth of cut per pass decreases as the tool gets deeper — typically 0.010 inch for the first roughing pass down to 0.002 inch for the final spring pass. The countersink depth calculator helps set up the chamfer at the hole entry that matches the thread lead-in.

CNC threading uses G76 cycles (turning) or G84 and G88 (rigid tapping) with pitch programmed directly. For metric threading, the F-word sets the pitch in mm per revolution. For imperial threading on metric-native machines, the control handles the conversion. Always test thread programs on scrap material first, checking the result with a thread gauge before committing to production material. The pitch calculated by this tool gives you the exact F-word value for metric threading cycles.

FAQ

What is thread pitch?

Thread pitch is the distance from one thread crest to the next, measured parallel to the bolt axis. In the imperial system, it is expressed as threads per inch (TPI). In the metric system, it is the distance in millimeters between threads.

How do I convert TPI to millimeter pitch?

Divide 25.4 by the TPI value. For example, a 20 TPI thread has a pitch of 1.27 mm (25.4 / 20).

What is pitch diameter?

Pitch diameter is the theoretical diameter where the thread thickness equals the space between threads. It sits between the major and minor diameters and is the most critical dimension for thread fit and gauging.

What is the difference between UNC and UNF threads?

UNC (Unified National Coarse) has fewer threads per inch for a given diameter, while UNF (Unified National Fine) has more. UNF provides better tensile strength and locking resistance, while UNC assembles faster and resists stripping better in soft materials.

Can I use this calculator for metric threads?

Enter the metric pitch converted to TPI first. Divide 25.4 by the metric pitch to get TPI, then enter that value. For example, M10 x 1.5 becomes approximately 16.93 TPI.

Why does pitch diameter matter?

Pitch diameter determines how two mating threads fit together. If the pitch diameter is too large, the bolt will not engage the nut. Too small, and the connection will be loose. Manufacturing tolerances on pitch diameter are the primary control for thread quality.

Related Calculators