Home › Calculators › Screw Thread Calculator

Screw Thread Calculator

Select a Unified inch (UNC or UNF) or ISO metric thread and its tolerance class to see the basic major, pitch and minor diameters, the limits of size for the bolt and the nut, thread depth, lead angle and the right tap drill.

Last updated:

Thread series
%

75% is the usual choice

Enter your values to see the result.
Advertisement
Advertisement

How to use the Screw Thread Calculator

  1. Choose the thread series: UNC, UNF, metric coarse or metric fine.
  2. Pick the size from the list.
  3. Select the class: 2A/2B or 6g/6H for most fasteners, 3A/3B for close fits.
  4. Set the thread engagement you want for the tap drill (75% is typical).
  5. Read the dimensions and the limits table, and download it as CSV if needed.

Basic thread formulas (60° Unified and ISO metric)

DimensionFormula1/4-20 UNCM10 × 1.5
PitchP = 1 ÷ TPI (inch) or mm value0.0500 in1.5 mm
Fundamental triangle heightH = 0.866025 P0.0433 in1.299 mm
Pitch diameterE = D − 0.649519 P0.2175 in9.026 mm
Internal minor diameterD1 = D − 1.082532 P0.1959 in8.376 mm
External minor (rounded root)d3 = D − 1.226869 P0.1887 in8.160 mm
External thread heighth = 0.613435 P0.0307 in0.920 mm
Engagement heightH1 = 0.541266 P0.0271 in0.812 mm

How the tolerance classes work

ClassApplies toFitTypical use
1A / 1BBolt / nutLoose, with allowanceQuick assembly, dirty or damaged threads
2A / 2BBolt / nutStandard, with allowance on 2AMost commercial screws, bolts and nuts
3A / 3BBolt / nutClose, no allowancePrecision and aerospace fasteners
6g / 6HMetric bolt / nutMedium, small allowance on 6gGeneral metric fasteners
6h / 6HMetric bolt / nutMedium, no allowanceClose fit or parts plated after threading with care

For Unified threads the class 2A pitch diameter tolerance is 0.0015∛D + 0.0015√LE + 0.015∛P² (here LE, the length of engagement, is taken as D). Class 3A uses 75% of that, class 1A 150%, and the matching internal classes are 30% larger. The 1A and 2A allowance is 30% of the class 2A tolerance. Metric limits use the ISO 965-1 grade 6 tolerances and the g fundamental deviation.

Practical tips

  • Measuring pitch diameter: use thread wires or a thread micrometer; the outside diameter alone does not tell you whether a thread will fit.
  • Plating: a coating adds roughly four times its thickness to the pitch diameter, so the 2A or 6g allowance is what leaves room for it.
  • Tap drills: 75% thread engagement gives nearly full strength; going higher makes tapping much harder for little gain.
  • Identifying a thread: measure the major diameter with calipers and the pitch with a thread gauge, then pick the matching size here.

Frequently asked questions

How do you calculate the pitch diameter of a thread?

For 60° Unified and ISO metric threads the basic pitch diameter is E = D − 0.649519 × P, where D is the basic major diameter and P the pitch (1 ÷ TPI for inch threads). For a 1/4-20 thread: 0.25 − 0.649519 × 0.05 = 0.2175 in.

What is the minor diameter of a thread?

The basic minor diameter of an internal thread is D1 = D − 1.082532 × P, which is also the smallest allowed hole size for classes 2B and 6H. For M10 × 1.5 it is 10 − 1.6238 = 8.376 mm. The external thread's minor diameter at a rounded root is about D − 1.226869 × P.

What do thread classes 2A and 2B mean?

A is for external (bolt) threads and B for internal (nut) threads. Class 2 is the standard for commercial fasteners; class 2A includes a small allowance so plated or dirty parts still assemble. Class 3 is a tighter fit with no allowance, and class 1 is a loose fit for quick assembly.

What does 6g/6H mean on a metric thread?

The number is the tolerance grade and the letter the tolerance position. Lowercase letters are for external threads and uppercase for internal threads. 6H has no allowance on the nut; 6g leaves a small gap (for example 32 µm on a 1.5 mm pitch) on the bolt. 6g/6H is the standard medium fit for metric fasteners.

How deep is a thread?

The basic height of an external Unified or metric thread is about 0.6134 × P, and the overlap between a bolt and nut (thread engagement height) is 0.5413 × P. For a 1/4-20 thread that is 0.0307 in and 0.0271 in.

What is the difference between UNC and UNF?

UNC (Unified National Coarse) has fewer threads per inch and is the general-purpose choice; it assembles quickly and resists stripping in softer materials. UNF (fine) has more threads per inch, a larger minor diameter and finer adjustment, and is used where vibration resistance or thin walls matter.

Are these values exact enough for inspection?

The basic dimensions follow directly from the standard formulas. The limits are calculated from the ASME B1.1 and ISO 965-1 tolerance rules and match typical table values, but for gauging and inspection always confirm against the official published tables.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Tap Drill Size CalculatorTap drill size for metric, UNC and UNF threads at any thread %, with a full drill chart.Bolt Torque CalculatorTightening torque for metric and UNC/UNF bolts from grade, lubrication and target preload.Drill Bit Size ConverterConvert drill bits between fractional, number, letter and metric sizes with decimal inches.Bolt Circle CalculatorX/Y coordinates for every hole on a bolt circle, with a drawing and CSV export.Gear Ratio CalculatorGear ratio, output rpm and torque for multi-stage gear trains, plus vehicle speed at rpm.BTU CalculatorEstimate air conditioner BTU, tons and heating BTU for a room from its size and conditions.Pipe Flow Rate CalculatorFlow rate from pipe diameter and velocity (GPM, L/s, m³/h), velocity from flow, or pipe size.Rebar CalculatorRebar for a slab grid: bars each way, total length, weight by bar size and stock bars.Beam Deflection CalculatorMax deflection, moment and shear for simply supported, cantilever or fixed beams.Sheet Metal Bend Allowance CalculatorBend allowance, bend deduction and flat blank length from thickness, radius, angle, K-factor.Duct Size CalculatorRound duct diameter and equivalent rectangular duct sizes from CFM and friction or velocity.Room Heat Loss CalculatorRoom heat loss in BTU/h and watts from walls, windows, ceiling, floor and air leakage.Moment of Inertia CalculatorMass moment of inertia of common shapes and area moment of beam sections, incl. I-beams.Pulley Belt and Speed CalculatorDriven RPM, belt length, belt speed and ratio from pulley diameters and center distance.Steel Weight CalculatorWeight of steel plate, bar, pipe, tube and angle in kg and lb from dimensions and material.Pipe Volume CalculatorWater volume in a pipe by NPS/schedule or inner diameter: gallons, liters, weight, fill time.Air Changes per Hour CalculatorCalculate ACH from CFM and room size, CFM for a target ACH, ACH50 or ASHRAE ventilation.Aviation Fuel CalculatorFlight fuel required with taxi, reserves and alternate, in gallons, liters and pounds.Bearing CalculatorInitial and final bearing, compass direction and great-circle distance between two coordinates.Belt Length CalculatorBelt length from two pulley diameters and center distance, or center distance from a belt.Drone Flight Time CalculatorEstimate drone flight time from battery mAh, voltage, discharge, weight and amp draw.E6B Flight ComputerOnline E6B: wind correction, heading, ground speed, time-speed-distance, fuel and conversions.G-Code ViewerPreview 3D printer and CNC G-code in 2D or 3D with layers, size and estimated time.Hydraulic Cylinder CalculatorPush and pull force, extend and retract speed, cycle time and oil volume from bore, rod and pressure.ISO Fits and Tolerances CalculatorHole and shaft limits, clearance or interference and fit type for ISO 286 fits like H7/g6.Map Distance CalculatorClick points on a map to measure a path in km, miles or nautical miles, with GPX export.Pipe Schedule ChartOD, wall thickness, ID, weight per foot and volume for any NPS and pipe schedule.Pump Power CalculatorHydraulic, shaft and motor power in kW and HP from flow, head, specific gravity and efficiency.Section Modulus CalculatorSection modulus, moment of inertia, centroid and radius of gyration for beams and shapes.Shear and Moment Diagram CalculatorDraw shear force and bending moment diagrams with reactions and max values for any beam.Spur Gear CalculatorPitch, outside and root diameters, center distance and tooth sizes from module or DP.Stress and Strain CalculatorStress, strain and Young's modulus from force, area and length change, with material checks.Tension CalculatorRope tension for a hanging mass on one or two angled ropes, a pulled object or a pulley.Aircraft Weight and Balance CalculatorAircraft weight and balance: total weight, moment and CG, plotted against your CG envelope.
See all 34 Engineering & Machining Calculators →