Pitch ↔ TPI conversion
p = 25.4 / TPI, and TPI = 25.4 / p. The reciprocal pair across millimeters and inches is the single most useful conversion in mixed-unit shops: an 8 TPI thread is a 3.175 mm pitch, and an M12 coarse thread at 1.75 mm is 14.5 TPI — close to, but never exactly, a unified pitch.