Thread Calculation: What Machinists Actually Need
Thread calculation is how we predict whether a turned or milled thread will gauge correctly before the part is cut. This page covers the 60° profile math, the diameters that matter, and where the numbers stop being enough.

Where the 60° thread calculation comes from
A screw thread is a helix cut into a cylinder. The 60° profile is the V shape you see in a section view, and every dimension on a thread drawing can be traced back to two numbers: major diameter and pitch. Change either one and the whole profile moves.
The basic triangle has a 60° included angle, so the flank rises at 30° from the axis. That fixed angle is why the pitch diameter sits at a predictable depth below the crest, and it is why one set of equations serves M, UN, and UNJ threads.
The pitch diameter is not a measured surface. It is the diameter where the thread flank width equals half the pitch. A gauge touches the flanks, not the crest, so this imaginary cylinder is the number that decides whether the thread passes.
Everything else follows. Crest flat, root radius, minor diameter and thread height are all derived from the same triangle. Learn the triangle once and you can rebuild any 60° thread on a shop floor without a handbook.
Basic pitch diameter and the pitch coefficient
For a 60° thread, the basic pitch diameter equals major diameter minus pitch times a coefficient. For the external UN and M profile that coefficient is 0.64952, rounded from 3/2 × cos 30°. For the internal thread the basic minor diameter uses 1.08253, which is 2 × cos 30°.
Worked example: M10 × 1.5. Pitch diameter = 10 − (1.5 × 0.64952) = 9.0257 mm. That is the basic size, the zero line. Real parts are cut to a tolerance band around it, not to the basic size itself.
The same arithmetic works in inch. A 1/4-20 UNC thread has a 0.050 in pitch, so the basic pitch diameter is 0.250 − (0.050 × 0.64952) = 0.2175 in. The number matches the handbook because the coefficient is a constant, not a lookup value.
Keep three decimals for metric and four for inch when you do this by hand. Rounding early is the most common source of a thread that gauges tight on one flank and loose on the other.
Tolerance classes: where the formula stops
The basic formula gives one line. A real thread lives inside a tolerance zone, and the zone is set by class. Metric internal threads use 6H as the default; external threads use 6g. Inch threads use 2A for external and 2B for internal, with 3A and 3B for closer fits.
The tolerance is applied to the pitch diameter first, because that is what the gauge checks. For M10 × 1.5 6H, the internal pitch diameter runs from 9.026 mm to 9.376 mm. The major diameter only has a minimum, since the crest of an internal thread is never fully formed.
Class tells you the clearance, not the quality of the cut. A 6g external thread and a 6H internal thread of the same size will assemble with normal clearance. Move to 6h and the clearance shrinks; the parts still fit, but plating thickness now matters.
This is the boundary of pure calculation. Once you pick a class, the rest is process control: tool wear, spindle speed, coolant, and how rigid the setup is.
From number to chip: single-point, tap, or roll
Single-point turning is the most controllable method. The tool follows the helix at the programmed pitch, and depth per pass sets the load. For a 1.5 mm pitch thread in 1045 steel, a first pass of 0.3 mm radial depth and a finishing pass of 0.05 mm keeps the insert alive and holds flank finish.
Tapping is faster for small diameters but the tap dictates the geometry. A cut tap removes material and gives a clean 6H thread; a form tap displaces it and produces a stronger root, but the drilled hole must be larger. Form tapping 6061 aluminium works well; form tapping 316 stainless at 6H is a different risk profile.
Thread milling suits large diameters and thin walls. It also lets you cut a thread close to a shoulder that a tap cannot reach, and one insert covers a range of pitches. On our mill-turn centers, internal threads in 17-4PH housings are usually milled rather than tapped for that reason.
Rolling forms the thread between dies instead of removing metal. The grain flows along the flank and fatigue life improves, which matters on 4140 and 4340 studs. The blank diameter is not the major diameter; it is the pitch diameter, so calculate it before you order bar stock.
When the formula is not the problem
A thread that gauges tight is rarely a math error. Check the tool nose radius first, then the insert flank angle, then the setup. A worn insert cuts a flank that is not 30°, and the gauge reads the flank, not the pitch.
Material matters more than most shops admit. Stainless 316 and titanium TC4 work-harden at the root, so a spring pass at the same depth often makes the thread worse instead of better. Reduce speed and keep the feed constant instead.
Thin-wall parts move. Cutting a 60° thread into a 2 mm wall releases stress and the pitch diameter drifts after the part leaves the chuck. Cut, measure, then finish.
Finally, plating adds thickness on the flanks. Electroless nickel at 10 μm adds roughly 20 μm to the pitch diameter. If the drawing calls for class 6g and the part is plated, the pre-plate thread has to be cut undersize on purpose.
Thread calculation quick reference
Coefficients and typical classes for common thread families
| Thread family | Included angle | External pitch Ø coefficient | Default class |
|---|---|---|---|
| Metric M (ISO 68-1) | 60° | 0.64952 | 6g external / 6H internal |
| Unified UN / UNC / UNF | 60° | 0.64952 | 2A external / 2B internal |
| UNJ (controlled root) | 60° | 0.64952 | 3A external / 3B internal |
| NPT pipe | 60° | 0.64952 (taper 1:16) | L1 hand-tight, L3 power |
| BSPT / BSPP | 55° | 0.64033 | Medium class |
| Trapezoidal Tr | 30° | 1.86603 | 7H / 7e |
| Buttress | 33° / 7° | varies with flank | 7H / 7e |
How to decide
If you need a replaceable fastener at standard clearance, calculate to class 6g or 2A and cut it. If the thread carries load, seals, or sits next to a coated surface, start from the pitch diameter and work backward through plating and class before the first pass.
Common questions
What is the basic pitch diameter formula for a 60° thread?
Basic pitch diameter = major diameter − pitch × 0.64952 for both metric M and unified UN external threads. The coefficient comes from 3/2 × cos 30°.
For M10 × 1.5 that gives 9.0257 mm. This is the zero line of the tolerance band, not the size you cut to.
How much depth of cut should a single-point thread take?
Start around 0.3 mm radial depth for a 1.5 mm pitch in medium carbon steel, then step down. Keep the finishing pass at 0.05 mm or less.
On stainless and titanium, drop the first pass to 0.2 mm and keep the feed constant. A spring pass at full depth usually makes work-hardening worse.
Does thread rolling use the same calculation?
No. The blank diameter for rolled threads is roughly the pitch diameter, not the major diameter. The displaced material forms the crest.
The profile is still 60°, but the starting stock size changes, so calculate the blank before ordering bar.
Why does my thread gauge tight after anodizing or plating?
Coating adds thickness to the flanks, and the gauge measures the flanks. Electroless nickel at 10 μm adds about 20 μm to the pitch diameter.
If the drawing calls for 6g or 2A and the part is coated, cut the pre-plate thread undersize by the coating thickness on the diameter.
Do I need a different formula for UNJ threads?
The pitch diameter calculation is the same. UNJ differs at the root, which has a controlled radius instead of a flat.
The gauge is different, so a UNJ thread will not pass a standard UN ring gauge even when the pitch diameter is correct.
What tolerance can you hold on a CNC cut thread?
We hold ±0.005 mm on turned diameters and check threads with go / no-go gauges plus pitch diameter measurement. Every part is inspected before shipment.
For coated threads, tell us the coating and target class at quote stage so the pre-plate size is planned.
Send us the thread callout
Upload your drawing and we will return a quote with free DFM analysis within 12 hours, including the pre-plate thread size if a coating is specified.
12-hour quote100% inspectionNo minimum order quantity