FIFTY LINETurn G-code
Online generatorOnline calculatorsReference

Three-wire thread measurement: formulas, chart and recutting on a CNC lathe

· ~7 min read

You’ve cut a thread on the CNC lathe — but is it on size? The major diameter is easy to mic, but it tells you very little: a thread fits on its pitch diameter, on the flanks. A mating nut or a ring gauge may not be at hand, especially for less common sizes. The three-wire method solves it with an ordinary micrometer.

Contents

  1. How it works
  2. Which wires to use
  3. Formulas
  4. Chart: UNC and UNF
  5. Chart: metric threads
  6. Measuring and recutting on a CNC lathe
  7. Measuring carefully
  8. Calculator

How it works

Take three gauge wires (pins, rollers) of the same diameter. Two go into the thread grooves on one side, the third into a groove on the opposite side, and you measure over the wires with a micrometer — that reading is called M.

      ○       ○        ← two wires in the grooves
   /\/\/\/\/\/\/\
   |   bolt     |
   \/\/\/\/\/\/\/
          ○            ← one wire on the other side
   |<--- M --->|  measurement over wires

A wire touches the flanks, not the crest or the root, so M depends on the pitch diameter. Knowing the pitch and the wire size, M gives you the pitch diameter exactly — and the other way round, you know in advance what M the micrometer should read for the drawing size.

Which wires to use

The best wire touches the profile exactly at the pitch diameter. For a 60° thread (UNC, UNF, ISO metric) its diameter is:

W = 0.57735 × P

Other sizes work too — roughly 0.505·P to 1.010·P: the wire must touch the flanks and still stand above the crests. The closer to the best size, the less any error in the thread angle matters. Thread wire sets are sold for common pitches; in the shop people also use drill shanks or needle-bearing rollers — what matters is that all three are the same diameter and that diameter is measured with a micrometer.

Formulas

For a single-start 60° thread, with D the major diameter, P the pitch and W the wire diameter:

nominal pitch diameter        E = D − 0.649519 × P
measurement over wires        M = E − 0.866025 × P + 3 × W
pitch diameter from reading   E = M + 0.866025 × P − 3 × W

With the best wire it simplifies to M ≈ D + 0.2165 × P. For M12×1.75 that is 12.379 mm.

The lead-angle correction is left out: for a single-start thread it is a few ten-thousandths. For multi-start threads and coarse pitches add it per the standard.

Chart: UNC and UNF

Best wire and M with it, inches. The pitch diameter is basic, without a tolerance class (look up 2A for bolts in the standard).

Thread Pitch, in Pitch diameter E Best wire W Usable W Over wires M
1/4-20 UNC 0.05000 0.21752 0.02887 0.0253–0.0505 0.26083
5/16-18 UNC 0.05556 0.27642 0.03207 0.0281–0.0561 0.32453
3/8-16 UNC 0.06250 0.33441 0.03608 0.0316–0.0631 0.38853
1/2-13 UNC 0.07692 0.45004 0.04441 0.0389–0.0777 0.51665
5/8-11 UNC 0.09091 0.56595 0.05249 0.0459–0.0918 0.64468
3/4-10 UNC 0.10000 0.68505 0.05774 0.0505–0.1010 0.77165
1-8 UNC 0.12500 0.91881 0.07217 0.0631–0.1263 1.02706
1/4-28 UNF 0.03571 0.22680 0.02062 0.0180–0.0361 0.25773
3/8-24 UNF 0.04167 0.34794 0.02406 0.0210–0.0421 0.38402
1/2-20 UNF 0.05000 0.46752 0.02887 0.0253–0.0505 0.51083

Thread depths and pass diameters for these sizes are in the UNC/UNF thread chart for CNC lathes.

Chart: metric threads

The same values in millimeters, nominal pitch diameter without the 6g tolerance.

Thread Pitch Pitch diameter E Best wire W Usable W Over wires M
M6×1 1 5.3505 0.5774 0.505–1.010 6.2165
M8×1.25 1.25 7.1881 0.7217 0.631–1.263 8.2706
M10×1.5 1.5 9.0257 0.8660 0.758–1.515 10.3248
M12×1.75 1.75 10.8633 1.0104 0.884–1.768 12.3789
M16×2 2 14.7010 1.1547 1.010–2.020 16.4330
M20×2.5 2.5 18.3762 1.4434 1.263–2.525 20.5413
M24×3 3 22.0514 1.7321 1.515–3.030 24.6495
M12×1.5 1.5 11.0257 0.8660 0.758–1.515 12.3248
M16×1.5 1.5 15.0257 0.8660 0.758–1.515 16.3248
M20×1.5 1.5 19.0257 0.8660 0.758–1.515 20.3248

Measuring and recutting on a CNC lathe

The big advantage on the machine: you can measure without unclamping the part. If the thread is oversize, recut it with the same pass a little deeper — the groove lines up because LinuxCNC starts every G33 pass on the spindle index, and the part hasn’t been moved.

Example: an M12×1.75 bolt, wires Ø1.01 mm (measured with a micrometer).

  1. Nominal E = 12 − 0.649519 × 1.75 = 10.8633.
  2. M should be 10.8633 − 0.866025 × 1.75 + 3 × 1.01 = 12.3778.
  3. The micrometer reads 12.420. Actual pitch diameter: 12.420 + 1.5155 − 3.030 = 10.9055 — 0.042 mm oversize.
  4. Feeding the tool in by δ on the radius reduces the pitch diameter by 2δ, which is exactly how much X drops in G7 diameter mode. So repeat the last pass 0.042 mm smaller in X.

The last pass was at X9.853 (the bolt minor diameter, 12 − 1.2269 × 1.75). The recut:

G7 G18 G21 G90          (diameter, XZ plane, mm, absolute)
G97 S400 M3             (same RPM as the threading)
G0 X14 Z5               (same start point in Z)
G0 X9.811               (was X9.853, minus 0.042)
G33 Z-20 K1.75
G0 X14
G0 Z5
M5

Start from the same Z point as the original passes and keep the same RPM. If the micrometer reads under size, a recut won’t help — the thread is undersize, and the only question is whether it is still within tolerance.

Same for inch: 1/2-13 UNC, wires 0.0444″, reading 0.5190″ → pitch diameter 0.45242″ against 0.45004″ nominal, recut 0.0024″ on X.

Measuring carefully

  • A flat-anvil micrometer with constant force — use the ratchet. A thread micrometer with inserts isn’t needed here.
  • Hold the wires with grease or a rubber band so they don’t drop; small threads have wire holders.
  • Measure in two or three places along the thread and turn the part — that shows taper and out-of-round.
  • Clean thread: a chip or burr under a wire adds thousandths.
  • Let the part cool: a 3/4″ steel part 70 °F warmer than room after cutting is about 0.0003″ bigger.

Calculator

All of this is in the three-wire thread measurement calculator: pick a size from the list (UNC, UNF, metric) or enter your own, and it shows the best wire, the target M and, from your reading, the actual pitch diameter and how much to recut on X.

The threading passes themselves — with lead-in and run-out, multi-start, left-hand, external and internal — come out of Turn G-code: the threading cycle writes G33 or G32 with a K, I or F pitch word for your control and shows the passes in the 2D simulator. Thread depth and pass diameters can be worked out ahead in the thread calculator.

← All articles