Free tool
Unit converter
Length, feed, spindle speed, torque, power, thread pitch, temperature and pressure: the units a CNC or motion engineer meets, converted both ways. Type in any field and the others follow.
- µm
- 25400
- cm
- 2.54
- m
- 0.0254
- thou
- 1000
- ft
- 0.0833333
| Fraction | in | thou | mm |
|---|---|---|---|
| 1/64 | 0.015625 | 15.625 | 0.396875 |
| 1/32 | 0.03125 | 31.25 | 0.79375 |
| 1/16 | 0.0625 | 62.5 | 1.5875 |
| 1/8 | 0.125 | 125 | 3.175 |
| 3/16 | 0.1875 | 187.5 | 4.7625 |
| 1/4 | 0.25 | 250 | 6.35 |
| 5/16 | 0.3125 | 312.5 | 7.9375 |
| 3/8 | 0.375 | 375 | 9.525 |
| 1/2 | 0.5 | 500 | 12.7 |
| 5/8 | 0.625 | 625 | 15.875 |
| 3/4 | 0.75 | 750 | 19.05 |
| 1 | 1 | 1000 | 25.4 |
| mm/min | mm/s | m/min | in/min (IPM) |
|---|---|---|---|
| 100 | 1.6667 | 0.1 | 3.937 |
| 250 | 4.1667 | 0.25 | 9.8425 |
| 500 | 8.3333 | 0.5 | 19.685 |
| 1000 | 16.667 | 1 | 39.37 |
| 2000 | 33.333 | 2 | 78.74 |
| 3000 | 50 | 3 | 118.11 |
| 5000 | 83.333 | 5 | 196.85 |
| 10000 | 166.67 | 10 | 393.7 |
| RPM | rev/s (Hz) | rad/s |
|---|---|---|
| 100 | 1.6667 | 10.472 |
| 1000 | 16.667 | 104.72 |
| 3000 | 50 | 314.16 |
| 6000 | 100 | 628.32 |
| 12000 | 200 | 1256.6 |
| 18000 | 300 | 1885 |
| 24000 | 400 | 2513.3 |
| N·m | kg·cm | oz·in | lb·in |
|---|---|---|---|
| 0.3 | 3.0591 | 42.484 | 2.6552 |
| 0.5 | 5.0986 | 70.806 | 4.4254 |
| 1 | 10.197 | 141.61 | 8.8507 |
| 1.9 | 19.375 | 269.06 | 16.816 |
| 3 | 30.591 | 424.84 | 26.552 |
| 4.5 | 45.887 | 637.25 | 39.828 |
| 8.5 | 86.676 | 1203.7 | 75.231 |
| 12 | 122.37 | 1699.3 | 106.21 |
| kW | hp | PS |
|---|---|---|
| 0.37 | 0.49618 | 0.50306 |
| 0.75 | 1.0058 | 1.0197 |
| 1.5 | 2.0115 | 2.0394 |
| 2.2 | 2.9502 | 2.9912 |
| 3.7 | 4.9618 | 5.0306 |
| 5.5 | 7.3756 | 7.4779 |
| 7.5 | 10.058 | 10.197 |
| 11 | 14.751 | 14.956 |
| Thread | Pitch, mm | TPI | Nearest common TPI | Its pitch, mm | Pitch error |
|---|---|---|---|---|---|
| M3 | 0.5 | 50.8 | 48 | 0.52917 | +5.8% |
| M4 | 0.7 | 36.286 | 36 | 0.70556 | +0.8% |
| M5 | 0.8 | 31.75 | 32 | 0.79375 | -0.8% |
| M6 | 1 | 25.4 | 26 | 0.97692 | -2.3% |
| M8 | 1.25 | 20.32 | 20 | 1.27 | +1.6% |
| M10 | 1.5 | 16.933 | 16 | 1.5875 | +5.8% |
| M12 | 1.75 | 14.514 | 14 | 1.8143 | +3.7% |
| M16 | 2 | 12.7 | 13 | 1.9538 | -2.3% |
| M20 | 2.5 | 10.16 | 10 | 2.54 | +1.6% |
| M24 | 3 | 8.4667 | 8 | 3.175 | +5.8% |
| Where it comes up | °C | °F | K |
|---|---|---|---|
| Where the Celsius and Fahrenheit scales meet | -40 | -40 | 233.15 |
| Water freezes | 0 | 32 | 273.15 |
| Reference temperature for length measurement (ISO 1) | 20 | 68 | 293.15 |
| Rating temperature on most electronics datasheets | 25 | 77 | 298.15 |
| A common maximum ambient on drive datasheets | 40 | 104 | 313.15 |
| Water boils at sea level | 100 | 212 | 373.15 |
| Class B motor insulation limit | 130 | 266 | 403.15 |
| Class F motor insulation limit | 155 | 311 | 428.15 |
| bar | psi | kPa | MPa |
|---|---|---|---|
| 1 | 14.504 | 100 | 0.1 |
| 2 | 29.008 | 200 | 0.2 |
| 4 | 58.015 | 400 | 0.4 |
| 6 | 87.023 | 600 | 0.6 |
| 7 | 101.53 | 700 | 0.7 |
| 10 | 145.04 | 1000 | 1 |
| 20 | 290.08 | 2000 | 2 |
| 70 | 1015.3 | 7000 | 7 |
How it is worked out
Each category has one base unit, and every conversion passes through it: the value you type is turned into the base unit, then out into each of the others. Most units are a fixed multiple of the base, so the whole calculation is one multiplication and one division. Two are not: thread pitch, where TPI is a reciprocal, and temperature, where the scales have different zero points.
Multiples: value in B = value in A × factor(A) ÷ factor(B)
Thread pitch: TPI = 25.4 ÷ pitch (mm) pitch (mm) = 25.4 ÷ TPI
Temperature: °F = °C × 9/5 + 32 °C = (°F - 32) × 5/9
K = °C + 273.15 °C = K - 273.15
Worked example. A feed of 1000 mm/min in inches per minute: the factor of mm/min is 1 and the factor of in/min is 25.4, so 1000 × 1 ÷ 25.4 = 39.3701 in/min. A 1.9 N·m stepper motor in oz·in: 1.9 × 1 ÷ 0.007061551814 = 269.063 oz·in.
The factors, and where each comes from
Every number below is exact by definition except the three shown to ten significant figures, which are exact products carried at full double precision in the arithmetic. Values are one of the unit, expressed in the base unit of its category.
| Unit | Equals | Derivation |
|---|---|---|
| Length, in mm | ||
| µm | 0.001 | One thousandth of a millimetre |
| cm | 10 | SI prefix |
| m | 1000 | SI prefix |
| thou (mil) | 0.0254 | 1 in ÷ 1000 |
| in | 25.4 | Exact by definition: the international inch of 1959 |
| ft | 304.8 | 12 in × 25.4 mm |
| Feed and linear speed, in mm/min | ||
| mm/s | 60 | 60 seconds in a minute |
| m/min | 1000 | 1000 mm in a metre |
| m/s | 60000 | 1000 mm × 60 s |
| in/min (IPM) | 25.4 | 1 in = 25.4 mm |
| in/s | 1524 | 25.4 mm × 60 s |
| ft/min | 304.8 | 1 ft = 304.8 mm |
| Rotational speed, in RPM | ||
| rev/s (Hz) | 60 | 60 seconds in a minute |
| rad/s | 9.549296586 | 60 ÷ 2π: one revolution is 2π radians |
| °/s | 0.1666666667 | 60 ÷ 360: one revolution is 360° |
| Torque, in N·m | ||
| N·cm | 0.01 | 1 N × 0.01 m |
| kg·cm (kgf·cm) | 0.0980665 | 1 kgf = 9.80665 N (1 kg under standard gravity g0 = 9.80665 m/s²), × 0.01 m |
| oz·in | 0.007061551814 | 1 ozf = 1 lbf ÷ 16 = 4.4482216152605 N ÷ 16, × 0.0254 m |
| lb·in | 0.112984829 | 1 lbf = 4.4482216152605 N, × 0.0254 m |
| lb·ft | 1.355817948 | 4.4482216152605 N × 0.3048 m |
| Power, in W | ||
| kW | 1000 | SI prefix |
| hp (mechanical) | 745.6998716 | 550 ft·lbf/s = 550 × 0.3048 m × 4.4482216152605 N per second = 745.69987158227022 W |
| PS (metric hp) | 735.49875 | 75 kgf·m/s = 75 × 9.80665 N·m per second |
| Pressure, in Pa | ||
| bar | 100000 | Defined as 100 000 Pa |
| kPa | 1000 | SI prefix |
| MPa | 1000000 | SI prefix |
| psi | 6894.757293 | 1 lbf on 1 in²: 4.4482216152605 N ÷ (0.0254 m)² = 6894.757293168 Pa |
kg·cm means kilogram-force centimetres
Stepper and servo datasheets, especially from Asian motor makers, give holding torque in kg·cm. A kilogram is a mass, not a force, so the unit actually meant is the kilogram-force centimetre: the turning effect of a 1 kg weight hanging 1 cm from the shaft under standard gravity, 9.80665 N × 0.01 m = 0.0980665 N·m. That makes 1 N·m equal to 10.197 kg·cm, not 10. The 2% matters when two motors are being compared on paper, one rated in each unit.
TPI is the reciprocal of pitch
Pitch is the distance from one thread crest to the next. Threads per inch counts crests in one inch. So TPI = 25.4 ÷ pitch in mm, and the conversion runs the same way back. Halving the pitch doubles the TPI. A pitch or TPI of zero has no counterpart, and the converter says so instead of showing infinity.
Metric pitches rarely land on a whole TPI. The Pitch table gives the nearest TPI from the UNC, UNF, BSW, BSF and pipe thread series, picked by the smallest ratio error, and the pitch error that choice brings. The error accumulates along the thread: at +5.8%, ten turns of an M10 thread cut at 16 TPI end up 0.875 mm long. That is why a manual lathe needs a metric gear train for metric threads, while a CNC lathe, which ties the Z feed to the spindle encoder, cuts the exact pitch it is given.
IPM and inch-mode programs
IPM is inches per minute. In G-code it is what the F word means when a program runs in inch mode (G20) with feed per minute (G94); in millimetre mode (G21) the same F word is mm/min. Moving a program between the two means scaling every coordinate and every F word by 25.4, not only swapping G20 for G21. Feed per revolution (G95, in mm/rev or in/rev) is a different quantity and needs the spindle speed as well, so it is not converted here.
Revolutions per second and VFD frequency
rev/s is how many times the shaft turns in a second, which is why it is also written as Hz. It equals the output frequency of a VFD only for a two-pole spindle motor: the synchronous speed is 120 × f ÷ poles RPM, so a four-pole motor turns at half that rate, and an induction motor runs a little below synchronous speed under load.
Two horsepowers
Mechanical horsepower (hp) is 550 ft·lbf/s, 745.7 W. Metric horsepower (PS, also written CV or pk) is 75 kgf·m/s, 735.5 W, about 1.4% smaller. Motor nameplates in India and Europe usually give kW; where a horsepower figure appears beside it, check which one is meant. Electrical horsepower, 746 W exactly, is 0.04% above mechanical and is not listed separately.
Temperatures and pressures
Temperatures are converted as temperatures. A temperature difference converts without the offset: a rise of 10 °C is a rise of 18 °F and of 10 K. Anything below absolute zero (0 K, -273.15 °C, -459.67 °F) is refused. Pressure converts as given: a gauge reading stays a gauge reading, and negative values are accepted as a vacuum below atmospheric. Shop air at the tool is usually 6 to 7 bar; high-pressure through-spindle coolant runs at roughly 20 to 70 bar.
Precision
The arithmetic runs at full double precision on the exact constants above. The fields and the readout show six significant figures with trailing zeros dropped; the tables show five, or six for fractional inches, where every value is exact at that length. Round-tripping a value through any unit and back returns what you typed. Numbers may use spaces as thousands separators and e-notation such as 1e-3; a comma is refused rather than guessed at, because 1,500 reads as fifteen hundred to some people and one and a half to others.
Where these units meet Tiny Controls hardware
Feeds and spindle speeds are what you set on a mill controller such as the TNC-M34, and thread pitches on a lathe controller such as the TNC-L32. Motor torque, in whichever unit the motor's datasheet uses, is the number to check when matching a stepper motor to a drive such as the Tstep-168X. See every controller and drive on the products page.