Engineering calculators

Thread Calculator

Updated Dec 3, 2026 By Infinity Calculator Formulas Sources
Rate
Thread Configuration
≈ 16.9333 TPI · 0.05906 in
Single start — Lead = Pitch
Thread Form
External = bolt / shaft. Internal = nut / tapped hole.
Starts at the length the tolerances are based on.
Optional. Non-zero values add a blue "pre-coating" machined target to every diameter.
Output Unit Display
Inputs stay in the standard's native unit; this changes result display only.
Accepts M10x1.5-6g · 1/4-20 UNC-2A · 1/2-14 NPT · G1/2 · R1/2 · 3/4-6 ACME-2G
Results
Showing results in: mm

Tap Drill Recommendation
Target EngagementTheoretical Drill ØNearest Standard DrillResulting EngagementRounding Direction
Step-by-Step Solution
Axial Thread Profile (radius vs. axial position)

Introduction

This Thread Calculator gives you the exact numbers for any screw thread. Pick a standard, choose a size, and it shows the pitch diameter, minor diameter, thread depth, tolerances, tap drill size, lead angle, and over-wire measurements right away.

It covers the thread types used most in shops and design work:

  • Metric (M), coarse and fine, per ISO 68-1, ISO 261, and ISO 965-2
  • Unified Inch (UN), UNC, UNF, UNEF, and constant-pitch series, per ASME B1.1
  • NPT and BSPT, tapered pipe threads that seal on the threads
  • BSPP (G), straight pipe threads that seal with a gasket or O-ring
  • ACME, general purpose and centralizing power threads, per ASME B1.5

You can set the tolerance class (like 6g, 6H, 2A, or 3G), pick internal or external threads, add multiple starts, and enter a plating thickness. If you add plating, the tool also shows the machined size to cut before coating. Results can be shown in mm or inches with one click.

Every answer comes with a step-by-step solution, so you can check the math instead of trusting a black box. A chart draws the thread profile so you can see the crest, root, and flanks. There is also a tap drill table with 50%, 65%, and 75% thread engagement, plus the nearest real drill size you can actually buy.

Use it to size a tapped hole, set up a lathe, check a part on a comparator, or measure pitch diameter with three wires. Type a thread name like M10x1.5-6g or 1/4-20 UNC-2A into the designation box and the calculator fills in the standard, series, size, pitch, and class it gives.

How to use our Thread Calculator

Pick your thread standard, size, and pitch, then set the fit and form you need. The calculator gives you the full thread profile, tolerance limits, tap drill sizes, lead and helix angles, and over-wire measurements.

Thread Standard: Choose the thread system you are working with, such as Metric (M), Unified Inch (UN), NPT, BSPT, BSPP, or ACME. This sets the thread shape, angle, and unit used for all results.

Thread Series / Type: Pick coarse or fine for metric threads, or UNC, UNF, UNEF, or a constant-pitch series for inch threads. This box only shows up for standards that have more than one series.

Nominal Size: Select the thread size from the list, like M10 or 1/4-20. Choose "Custom" if your size is not listed. Pipe threads have no Custom option, because their standards set the dimensions size by size.

Custom Nominal Major Diameter: Only shows when you pick "Custom." Type the outside diameter of the thread in mm or inches.

Pitch or TPI: Enter the pitch in mm for metric and BSP threads, or threads per inch for inch threads. Picking a standard size fills this in for you.

Number of Starts: Enter 1 for a normal single-start thread. Use 2 or more for multi-start threads, which makes the lead longer than the pitch.

Thread Form: Choose External for a bolt or shaft, or Internal for a nut or tapped hole. The limits and measuring method change with your pick.

Tolerance Class: Choose the fit class, like 6g or 6H for metric, 2A or 2B for inch, or a G (general purpose) or C (centralizing) class for ACME. Lower grade numbers in metric give a tighter tolerance.6 In ACME, classes 3 and 4, and classes 5C and 6C on centralizing threads, give less backlash than class 2.10

Length of Engagement: Shown for Unified and ACME threads. Enter the length of thread that is engaged. It starts at the length the standard tolerances are based on: 1 × the diameter for UNC, UNF, and 8UN, 9 pitches for UNEF, 12UN, and 16UN, and 2 × the diameter for ACME. A longer engagement widens the Unified pitch diameter tolerance and raises the ACME allowance.

Coating / Plating Thickness: Enter the thickness added to each surface by plating. Leave it at 0 for bare threads. Any other value adds a pre-coating machining target to each diameter.

Output Unit Display: Pick Native to see results in the standard's own unit, or Alternate to flip between mm and inches. This changes results only, not your inputs.

Thread Designation: Type a full thread call-out like M10x1.5-6g or 1/4-20 UNC-2A and press the wand button. The calculator fills in the standard, series, size, pitch, and class that the call-out gives.

Target Engagement: Above the tap drill table, choose 75%, 65%, or 50% thread engagement. Lower engagement makes tapping easier. Higher engagement takes more tapping torque but leaves more thread to carry the load.7

Measuring Wire Diameter: On the Over-Wire Measurement tab, pick a wire size, enter a custom one, or click "Use Ideal Wire" to get the best-size wire for your pitch.

Screw Threads Explained

A screw thread is a spiral ridge cut around a bolt, screw, rod, or hole. It turns spinning motion into straight motion. That is how a bolt pulls two parts together and how a lead screw moves a machine table. Every thread has a shape (profile), a size, and a set of limits that decide if two parts will fit.

Key Thread Terms

  • Major diameter is the biggest diameter, measured across the crests of a bolt.
  • Minor diameter is the smallest diameter, measured at the roots of a bolt or the crests of a nut.
  • Pitch diameter is the imaginary diameter where the ridge and the groove are the same width.1 This is the number that really controls fit and strength.
  • Pitch is the distance from one crest to the next.1 Metric threads use millimeters. Inch threads use TPI (threads per inch), which is 1 ÷ pitch.
  • Lead is how far the part moves in one full turn.1 On a single-start thread, lead equals pitch.1 On a two-start thread, lead is double the pitch.1
  • Lead angle is the slope of the thread at the pitch diameter.1 A screw with a small enough lead angle is self-locking and holds its load when you stop turning it, while a steeper one lets the load turn it back.9
  • Thread angle is the V-angle of the form. It is 60° for metric and Unified threads.1 British pipe threads use 55°. ACME threads use 29°.2

Common Thread Standards

  • Metric (M), ISO 68-1 and ISO 965.6 Written like M10×1.5-6g. Coarse and fine pitches are both common.
  • Unified Inch (UN), ASME B1.1. Series are UNC (coarse), UNF (fine), and UNEF (extra fine), such as 1/4-20 UNC-2A.
  • NPT, ASME B1.20.1 tapered pipe thread. The taper is 1:16.2 When the joint is made up wrench tight with a lubricant or sealer, the flanks are meant to be in contact.3
  • BSPT (R), ISO 7-1 tapered pipe thread with a 55° form and a 1 to 16 taper.4 It seals on the threads, with a jointing medium such as a sealant on the thread.4
  • BSPP (G), ISO 228-1 straight pipe thread. It does not seal on the threads.5 A pressure-tight joint is made by pressing two faces together outside the threads with a seal between them, such as a washer, gasket, or O-ring.5
  • ACME, ASME B1.5 power thread with a 29° trapezoid shape. It was made to replace square threads for producing traversing motion on machines and tools, and is now used for many purposes.2 General purpose classes are 2G, 3G and 4G, and centralizing classes are 2C to 6C.10

Tolerance Classes and Fit

No thread is made at its exact basic size, so standards give a tolerance band and an allowance (a small gap). Metric uses a number and a letter, like 6g for a bolt and 6H for a nut.6 Lower-case letters mean external threads, upper-case mean internal.6 Unified uses 1A, 2A, 3A for bolts and 1B, 2B, 3B for nuts.1 In Unified threads, bigger class numbers mean a tighter fit.1 A loose class (1A, 8g) is easy to assemble, even with slightly bruised or dirty threads. In Unified threads the allowance meant for plating is the class 2A one; the 1A allowance is for easy assembly, not coating.1 Classes 3A and 3B are for work where a close fit and accurate lead and angle matter, and they need high quality production equipment.1 Threads are checked with GO and NO-GO gauges. The GO gauge must run on. On Unified inch threads, the NO-GO gauge must either not enter or meet a definite drag on or before the third turn.1

Tap Drill Size and Percent Engagement

Before you cut an internal thread you drill a hole. The hole size sets the thread engagement, which is how much of the full thread depth is actually there. For 60° threads, 75% of full thread is a good rule of thumb, a little higher for softer materials and a little lower for harder ones.7 A higher percentage raises the tapping torque and the chance of breaking the tap.7 A thread of 55% to 65% is enough for most requirements.8 A rough rule for metric: drill size ≈ major diameter − pitch. That gives about 77% of full thread for any pitch.

Measuring Over Wires

You cannot touch the pitch diameter with a micrometer directly. So machinists lay three equal wires in the grooves (two on one side, one on the other) and measure across them.1 The "best-size" wire touches the flanks right at the pitch line, which cancels out small angle errors.1 The measured value M is then converted back to pitch diameter with a simple formula that depends on the pitch and the thread half-angle.1

Coating and Plating

Zinc, anodizing, and other coatings add thickness to every surface. On a bolt, the plating grows outward on the crest and both flanks, so the pitch diameter grows by about four times the coating thickness measured on the flank.1 In practice the machined size is cut smaller before plating.1 On a tapped hole, the part must be cut larger.1 Metric tolerance positions such as g are set to leave room for usual coating thicknesses.6 In Unified threads, the 2A allowance covers a coating up to one-sixth of the 2A pitch diameter allowance in thickness.1 A thicker coating needs the limits reduced before coating.1

Where It Matters

Getting thread numbers right prevents cross-threading, stripped nuts, leaking pipe joints, and tap breakage. Machinists, designers, maintenance techs, and hobbyists all use these values to pick tap drills, set up single-point turning, order gauges, and check parts on the bench.


Formulas used

ISO metric pitch diameter 1
d_2 = D - 0.649519\,P
ISO metric minor diameters (basic and external root)
d_1 = D - 1.082532\,P, \qquad d_3 = D - 1.226869\,P
Fundamental triangle height (60 degree V-form) 1
H = 0.866025\,P
Lead and lead angle at pitch diameter 1
L = P \times n_{starts}, \qquad \lambda = \arctan\!\left(\frac{L}{\pi d_2}\right)
Best-size (ideal) measuring wire diameter 1
d_w = \frac{P}{2\cos\alpha}
Measurement over/between wires
M_{ext} = E + d_w\left(1 + \frac{1}{\sin\alpha}\right) - \frac{P}{2}\cot\alpha, \qquad M_{int} = E + \frac{P}{2}\cot\alpha - d_w\left(\frac{1}{\sin\alpha} - 1\right)
Tap drill diameter for a target percent thread engagement
d_{drill} = D - \frac{\%_{eng}}{100}\,K\,P, \qquad \%_{eng} = \frac{D - d_{drill}}{K\,P}\times 100
NPT taper pipe thread pitch diameters 2
E_0 = D - (0.05D + 1.1)P, \qquad E_1 = E_0 + \frac{L_1}{16}, \qquad L_2 = (0.8D + 6.8)P

Frequently asked questions

What is the tap drill size for M10x1.5?

Use an 8.5 mm drill for M10x1.5. That gives about 77% thread engagement.

The quick rule for metric coarse threads is:

Drill size = major diameter − pitch

So 10 − 1.5 = 8.5 mm. The rule gives about 77% of full thread for any pitch, coarse or fine.

How do I convert TPI to pitch in mm?

Divide 25.4 by the TPI.1

Pitch (mm) = 25.4 ÷ TPI

  • 20 TPI → 25.4 ÷ 20 = 1.27 mm
  • 13 TPI → 25.4 ÷ 13 = 1.954 mm
  • 8 TPI → 25.4 ÷ 8 = 3.175 mm

To go the other way, divide 25.4 by the pitch in mm.

What does 6g mean on a metric thread?

It is the tolerance class for an external thread (a bolt).

  • The 6 is the tolerance grade, or how wide the size band is.6 Smaller numbers are tighter.6
  • The g is the position, or how much gap is left below the basic size.6

Lower-case letters mean external threads.6 Upper-case letters like 6H mean internal threads (nuts).6 A 6g bolt in a 6H nut is the normal general-purpose fit.6

What is the difference between 2A and 3A threads?

Both are external inch threads, but 3A is tighter.1

  • 2A is the standard commercial fit.1 It has an allowance (a small gap), so it assembles easily and leaves room for plating.1
  • 3A has no allowance and a smaller tolerance band.1 It is for work where a close fit and accurate lead and angle matter, and it needs high quality production equipment to make consistently.1

Most bolts you buy are 2A.1 Use 3A for precision or high-stress parts.

What is pitch diameter and why does it matter?

Pitch diameter is the imaginary diameter where the thread ridge and the groove are the same width.1

It matters because it controls the actual fit and strength of a thread. Two parts can have perfect major diameters and still not fit if the pitch diameters are wrong. GO and NO-GO gauges mostly check pitch diameter, not the outside size.

For metric threads: pitch diameter = major diameter − 0.649519 × pitch.1

Can NPT and BSPT threads be used together?

No. Do not mix them.

Both are pipe threads with a 1 in 16 taper.34 Their thread angles are different: NPT is 60° and BSPT is 55°. The thread counts per inch are also different in most sizes.

If you force them together, only the crests touch. The joint will leak and can crack the fitting. Use an adapter fitting instead.

What is the difference between BSPP and BSPT?

Both use the 55° Whitworth form, but they seal in different ways.

  • BSPT (R) is tapered. The threads wedge together and seal on the flanks, usually with sealant or PTFE tape.
  • BSPP (G) is parallel (straight). It does not seal on the threads.5 You need a bonded washer, gasket, or O-ring at the face.

A BSPT (R) male thread can be screwed into a BSPP (G) female thread.5 A BSPP male thread in a parallel sealing female thread (Rp) needs special care and does not always give a leak-tight joint.5

Why is 75% thread engagement the standard target?

It is the best trade-off between strength and easy tapping.

For 60° threads, 75% of full thread is a good rule of thumb, a little higher in softer materials and a little lower in harder ones.7 A higher percentage raises the torque on the tap and the chance of breaking it.7

A lower percentage eases tapping. A thread of 55% to 65% is enough for most requirements.8 When the tapped length is less than 3 times the diameter, at least 65% is advised so the internal thread stays stronger than the bolt.7

How do you measure pitch diameter with three wires?

Lay three equal wires in the thread grooves (two on one side, one on the other) and measure across them with a micrometer.1

For a 60° external thread, use:

M = E + 3d − 0.86603 × P1

Where M is the reading, E is the pitch diameter, d is the wire diameter, and P is the pitch.

The best-size wire is d = P ÷ (2 × cos 30°) = 0.57735 × P.1 It touches the flanks right at the pitch line, so small thread angle errors cancel out.1

What is a multi-start thread used for?

A multi-start thread has two or more separate ridges wound side by side. It moves farther per turn.

Lead = pitch × number of starts.1 A 2-start thread moves twice as far in one turn as a single-start thread with the same pitch.

They are used where fast relative motion is needed.2

When is a thread self-locking?

A thread is self-locking when its lead angle is smaller than the friction angle, which is the inverse tangent of the coefficient of static friction.9

For a friction coefficient of 0.10 to 0.15, the friction angle is roughly 5.7° to 8.5°. Standard bolts mostly have lead angles of about 1° to 5°, below that range.

ACME lead screws with a coarse pitch or several starts can go above that angle. Those are not self-locking, so the load can drive them back when the turning force is removed.9

Why is ACME used for lead screws instead of a V thread?

ACME has a 29° trapezoid shape with a wide, flat root instead of a sharp V.

  • It was made to replace square threads for traversing motion on machines and tools.2
  • The flat flanks spread the load and wear more evenly.
  • It works with a split nut that is adjusted and lapped to fit the screw.2

Sharp 60° V threads concentrate stress at the root and wear fast under repeated motion.

How much does plating change thread size?

A lot more than people expect. On the pitch diameter, plating adds about 4 times the coating thickness.1

That is because the coating builds on both flanks, and the 60° geometry multiplies it.1 So 0.005 mm of zinc adds roughly 0.020 mm to the pitch diameter.

This is why bolts that will be plated are usually made to a class with an allowance, like 6g or 2A. Metric tolerance positions such as g are set to leave room for usual coating thicknesses.6 The 2A allowance covers a coating up to one-sixth of the 2A pitch diameter allowance in thickness.1 Thicker coatings need the sizes before coating reduced further.1

How many turns of NPT thread engagement do I need?

The standard hand-tight engagement is about 4.1 to 5 turns for pipe sizes from 1/16 to 2 inches.3 Larger sizes take more: about 5.5 turns at 2 1/2 inches, rising to 19 turns at 24 inches OD.2

Then add the wrench make-up: 3 more turns for sizes up to 2 inches and 2 turns for 2 1/2 inches and larger.2

Do not over-tighten. The 1:16 taper means each extra turn wedges the fitting harder and can split a cast female port.

What is the difference between coarse and fine threads?

Coarse threads have a bigger pitch and fewer threads per inch. Fine threads have a smaller pitch and more threads.

  • Coarse is the series used for most bolts, screws, and nuts. It is used for threading into lower strength materials like cast iron and mild steel, where it resists stripping best, and where quick assembly is needed or corrosion or slight damage is possible.1
  • Fine has more tensile stress area than a coarse thread of the same size. It is used where the length of engagement is short, where a smaller lead angle is wanted, or where a thin wall needs a fine pitch.1

Coarse is the default choice unless you have a reason to go fine.

What is thread allowance?

Allowance is the intentional gap built in between a bolt and a nut at their maximum-material sizes.1

It is not the same as tolerance. Tolerance is how much a size may vary. Allowance is a fixed minimum clearance so the parts always assemble.

Metric class 6g has an allowance.6 So does inch class 2A.1 Metric class 6H has zero allowance.6 Inch classes 2B and 3A have zero allowance too, so their basic size is the limit.1

What do GO and NO-GO thread gauges check?

They check the pitch diameter and the overall thread form together.

  • The GO gauge must screw on or in over the full length. It proves the part is not too big (for a bolt) or too small (for a hole).
  • The NO-GO gauge proves the part is not too loose. On Unified inch threads it must either not enter or meet a definite drag on or before the third turn.1

If GO fails, the thread is oversize or has form errors. If a Unified NO-GO gauge goes on with no definite drag by the third turn, the thread is worn or cut too deep.

How deep should a tapped hole be?

The goal is to make the threads stronger than the bolt, so the bolt breaks before the threads strip.1 The length needed depends on the strength of the bolt material and of the material the hole is tapped in. When the tapped material is weaker than the bolt, a longer engagement is needed to keep the threads in the hole from stripping.1

If the bolt is an adjusting or lead screw, or will be taken out often, the engagement should be longer still to allow for wear on the flanks.1

For blind holes, drill about 3 to 5 more pitches deeper than the thread so the tap has room for chips and the lead taper.


Sources

  1. Screw-Thread Standards for Federal Services, Handbook H28 (1969), Part I: Unified, UNJ, Unified Miniature Screw Threads. National Bureau of Standards. 1969;pp. 1.02-1.04, 2.01-2.22, 5.02, 6.10, A4.01-A4.05. Accessed September 27, 2026.
  2. Screw-Thread Standards for Federal Services 1944, Handbook H28. National Bureau of Standards. 1944;Section VI taper pipe threads, pp. 116-117; Acme threads, p. 158. Accessed September 27, 2026.
  3. Screw-Thread Standards for Federal Services 1957, Handbook H28 (1957) Part II. National Bureau of Standards. 1957;Section VII, Table VII.2 and Figure VII.2, pp. 5-6. Accessed November 12, 2026.
  4. Pipe Threads Where Pressure-Tight Joints Are Made on the Threads: Dimensions, Tolerances and Designation (IS 554:1999, identical to ISO 7-1:1994). Bureau of Indian Standards. 1999;clauses 1 and 7.1.2. Accessed November 12, 2026.
  5. Pipe Threads Where Pressure-Tight Joints Are Not Made on the Threads: Dimensions, Tolerances and Designation (IS 2643:2005, identical to ISO 228-1:2000). Bureau of Indian Standards. 2005;clauses 1, 4 and 6. Accessed November 12, 2026.
  6. ISO General Purpose Metric Screw Threads: Tolerances, Part 1: Principles and Basic Data (IS 14962 (Part 1):2001, identical to ISO 965-1:1998). Bureau of Indian Standards. 2001;clauses 4, 5, 7 and 12. Accessed November 12, 2026.
  7. Tapping Tip: Don't Let % of Thread Derail Your Part. United States Cutting Tool Institute. A Rule of Thumb; Hole Size Risk Factors. Accessed November 12, 2026.
  8. Tap Drill Sizes and Pitch Diameter Limits, Vol 3. OSG USA. 2024;Tapping Guide: suggested percentage of full thread. Accessed November 12, 2026.
  9. Power Screws. Mechanics Map. Penn State University. Self Locking Screws. Accessed November 12, 2026.
  10. Screw-Thread Standards for Federal Services 1957, Handbook H28 (1957) Part III. National Bureau of Standards. 1957;Section XII, par. 4, Classification and tolerances, Acme threads. Accessed November 12, 2026.