Unit converter for engineers
Pressure (gauge and absolute), torque, flow, temperature and temperature differences, length, force, energy and more with exact factors from the unit definitions; gas flow to standard conditions, surface roughness and approximate steel hardness conversion with warnings; a batch mode for a column of values.
Value and units
mmHg, inHg, mmH₂O and inH₂O are the conventional units (mercury 13 595.1 kg/m³, water 1000 kg/m³, g_n). A real liquid column depends on its temperature: inH₂O “at 4 °C” or “at 60 °F” differ from the conventional one by up to about 0.1 %. Torr (1/760 atm) and mmHg differ by about 0.000014 %.
Runs in this browser. Data is not uploaded or stored.
In every unit
6 bar (gauge) = 87.0226 psi (gauge). With an atmospheric pressure of 101.325 kPa that is 101.719 psi absolute.
| Unit | Value (gauge) | Shown value | Value (absolute) | 1 bar = | Name and definition |
|---|---|---|---|---|---|
| Pa | 600000 | exact | 701325 | 100000 Pa | pascal: SI unit (N/m²) |
| hPa | 6000 | exact | 7013.25 | 1000 hPa | hectopascal: 100 Pa = 1 mbar |
| kPa | 600 | exact | 701.325 | 100 kPa | kilopascal: 1000 Pa |
| MPa | 0.6 | exact | 0.701325 | 0.1 MPa | megapascal: 10⁶ Pa = 1 N/mm² |
| N/mm² | 0.6 | exact | 0.701325 | 0.1 N/mm² | newton per square millimetre: 1 MPa |
| mbar | 6000 | exact | 7013.25 | 1000 mbar | millibar: 100 Pa |
| bar | 6 | exact | 7.01325 | 1 bar | bar: 100 000 Pa exactly |
| psi | 87.0226 | rounded | 101.719 | 14.5038… psi | pound-force per square inch: 1 lbf / 1 in² = 4.4482216152605 N / 0.00064516 m² exactly |
| ksi | 0.0870226 | rounded | 0.101719 | 0.0145038… ksi | kilopound-force per square inch: 1000 psi |
| atm | 5.92154 | rounded | 6.92154 | 0.986923… atm | standard atmosphere: 101 325 Pa exactly |
| kgf/cm² | 6.11830 | rounded | 7.15152 | 1.01972… kgf/cm² | kilogram-force per square centimetre (technical atmosphere, at): 9.80665 N / 1 cm² = 98 066.5 Pa exactly |
| Torr | 4500.37 | rounded | 5260.37 | 750.062… Torr | torr: 1/760 atm = 133.3223684… Pa |
| mmHg | 4500.37 | rounded | 5260.37 | 750.062… mmHg | millimetre of mercury (conventional): 13 595.1 kg/m³ × 1 mm × g_n = 133.322387415 Pa exactly |
| inHg | 177.180 | rounded | 207.101 | 29.5300… inHg | inch of mercury (conventional): 25.4 mmHg = 3386.388640341 Pa exactly |
| mmH₂O | 61183.0 | rounded | 71515.2 | 10197.2… mmH₂O | millimetre of water (conventional): 1000 kg/m³ × 1 mm × g_n = 9.80665 Pa exactly |
| inH₂O | 2408.78 | rounded | 2815.56 | 401.463… inH₂O | inch of water (conventional): 25.4 mmH₂O = 249.08891 Pa exactly |
Gas flow
Ideal gas: Q_ref = Q_actual × (p_actual / p_ref) × (T_ref / T_actual), absolute pressures and temperatures, dry gas, no compressibility factor. The list of reference conditions is unverified: check the conditions your meter, compressor data sheet or supplier states.
Runs in this browser. Data is not uploaded or stored.
Flow at the other conditions
100 m³/h at actual conditions = 736.891 m³/h at reference conditions (Normal: 0 °C, 101.325 kPa (DIN 1343, “Nm³”)). The mass flow is the same; only the volume changes with pressure and temperature.
| Unit | Actual conditions | Reference conditions |
|---|---|---|
| mL/min · millilitre per minute | 1666670 | 12281500 |
| L/h · litre per hour | 100000 | 736891 |
| L/min · litre per minute | 1666.67 | 12281.5 |
| L/s · litre per second | 27.7778 | 204.692 |
| m³/h · cubic metre per hour | 100 | 736.891 |
| m³/min · cubic metre per minute | 1.66667 | 12.2815 |
| m³/s · cubic metre per second | 0.0277778 | 0.204692 |
| US gpm · US gallon per minute | 440.287 | 3244.43 |
| US gal/h · US gallon per hour | 26417.2 | 194666 |
| imp gpm · imperial gallon per minute | 366.615 | 2701.56 |
| cfm · cubic foot per minute (ft³/min) | 58.8578 | 433.718 |
| ft³/h · cubic foot per hour | 3531.47 | 26023.1 |
| Quantity | Actual | Reference |
|---|---|---|
| Absolute pressure (kPa) | 801.325 | 101.325 |
| Temperature (°C) | 20 | 0 |
| Temperature (K) | 293.15 | 273.15 |
| Q reference / Q actual | 7.36891 |
Roughness value
No Ra ↔ Rz conversion. Ra, Rz, Rt and the other parameters are not converted into each other: they measure different features of the same profile, and their ratio depends on the machining process (Rz / Ra is often quoted between about 4 and 10). Measure the parameter the drawing specifies.
Runs in this browser. Data is not uploaded or stored.
Roughness in micrometres and microinches
Ra 1.6 µm = 1.6 µm = 62.9921 µin (1 µin = 0.0254 µm exactly). The smallest grade whose Ra value is not exceeded: N7.
- The N grade table is unverified: compare it with your drawing standard before relying on a grade.
| Unit | Value | Shown value |
|---|---|---|
| µm · micrometre | 1.6 | exact |
| µin · microinch | 62.9921 | rounded |
| nm · nanometre | 1600 | exact |
| mm · millimetre | 0.0016 | exact |
| Grade | Ra (µm) | Ra (µin, as usually quoted) | This value |
|---|---|---|---|
| N1 | 0.025 | 1 | |
| N2 | 0.05 | 2 | |
| N3 | 0.1 | 4 | |
| N4 | 0.2 | 8 | |
| N5 | 0.4 | 16 | |
| N6 | 0.8 | 32 | |
| N7 | 1.6 | 63 | = this grade |
| N8 | 3.2 | 125 | |
| N9 | 6.3 | 250 | |
| N10 | 12.5 | 500 | |
| N11 | 25 | 1000 | |
| N12 | 50 | 2000 |
Hardness value
Approximate, steel only, not for acceptance. Approximate conversion only, from an unverified table (written from memory of ASTM E140, not checked against the standard). Valid only for non-austenitic steels: carbon and alloy steels in the as-forged, annealed, normalized, or quenched and tempered condition, of uniform hardness. Not for austenitic (stainless) steels, cast iron, non-ferrous metals, case-hardened, cold-worked or surface-treated parts. Never use a converted hardness for acceptance: test on the scale the drawing specifies.
HRC range of the tables: 20–68.
Linear interpolation between two rows of one table; a value outside the table is refused, never extrapolated, and two tables are never chained. No tensile strength estimate: the table used here has none, and a strength read from hardness is no substitute for a tensile test.
Runs in this browser. Data is not uploaded or stored.
Approximate values on other scales
HRC 50 ≈ 513 HV (linear interpolation; 7 other scales in the table).
- Approximate conversion only, from an unverified table (written from memory of ASTM E140, not checked against the standard). Valid only for non-austenitic steels: carbon and alloy steels in the as-forged, annealed, normalized, or quenched and tempered condition, of uniform hardness. Not for austenitic (stainless) steels, cast iron, non-ferrous metals, case-hardened, cold-worked or surface-treated parts. Never use a converted hardness for acceptance: test on the scale the drawing specifies.
| Scale | Approximate value | Table | Note |
|---|---|---|---|
| HRC | 50 | Rockwell C range | typed value |
| HRA | 75.9 | Rockwell C range | interpolated, approximate |
| HR15N | 85.5 | Rockwell C range | interpolated, approximate |
| HR30N | 68.5 | Rockwell C range | interpolated, approximate |
| HR45N | 55.0 | Rockwell C range | interpolated, approximate |
| HRB | — | No table gives both HRC and HRB. | |
| HV | 513 | Rockwell C range | interpolated, approximate |
| HB | 481 | Rockwell C range | interpolated, approximate |
| HK | 542 | Rockwell C range | interpolated, approximate |
Column of values
CSV, TSV or TXT up to 20 MB, opened or dropped on the field; read in this browser only. Excel: copy the column and paste it.
Cells are split at tabs, “;” or “,” (a single number with a decimal comma stays whole), else at spaces; the value is the last cell and the text before it a label. A first line that is not a number is a header. A line that cannot be converted gets its own note; the others are still converted.
Runs in this browser. Data is not uploaded or stored.
Batch results
7 values from lbf·in to N·m; header “Fastener;Torque (lbf·in)” skipped.
| Line | Label | Typed | Result (N·m) | Note |
|---|---|---|---|---|
| 2 | M3 screw | 9 | 1.01686 | |
| 3 | M4 screw | 18 | 2.03373 | |
| 4 | M5 screw | 35 | 3.95447 | |
| 5 | M6 screw | 60 | 6.77909 | |
| 6 | M8 screw | 130 | 14.6880 | |
| 7 | M10 screw | 250 | 28.2462 | |
| 8 | M12 screw | 420 | 47.4536 |
Download offline versionSingle HTML file · v1.4 · 336 KB · works without internet
How the values are converted
Every unit is defined by an exact factor to its SI unit, taken from the definition of the unit. A typed decimal times such a factor is an exact fraction, so a conversion is exact; the result is rounded once, for display, to the significant digits you choose, and the table says whether the shown value is exact or rounded. No floating point is involved.
Defining values
- Length and mass: international yard and pound (1959): 1 in = 25.4 mm, 1 ft = 0.3048 m, 1 lb = 0.45359237 kg exactly. 1 µin = 25.4 nm, 1 mil = 25.4 µm. US gallon = 231 in³ = 3.785411784 L; imperial gallon = 4.54609 L.
- Force: standard gravity gn = 9.80665 m/s² (exact by definition), so 1 kgf = 9.80665 N and 1 lbf = 0.45359237 kg × gn = 4.4482216152605 N exactly. The local gravity is not used.
- Pressure: 1 bar = 100 000 Pa; 1 atm = 101 325 Pa; 1 Torr = 101 325 / 760 Pa = 133.3223684… Pa; 1 psi = 1 lbf / in² = 6894.757293168… Pa (the exact fraction 8896443230521 / 1290320000 Pa); 1 kgf/cm² (technical atmosphere) = 98 066.5 Pa; 1 N/mm² = 1 MPa.
- Liquid columns are the conventional units: mmHg with mercury at 13 595.1 kg/m³ and gn, 1 mmHg = 133.322387415 Pa (1 inHg = 3386.388640341 Pa); mmH₂O and inH₂O with water at 1000 kg/m³, 1 mmH₂O = 9.80665 Pa and 1 inH₂O = 249.08891 Pa. Tables that use water at 4 °C (999.97 kg/m³) or at 60 °F differ by up to about 0.1 %; this convention is the one of the conventional (“technical”) units.
- Torque: force × lever arm with the same exact factors: 1 lbf·ft = 1.3558179483314004 N·m, 1 lbf·in = 0.1129848290276167 N·m, 1 kgf·m = 9.80665 N·m, 1 ozf·in = 1/16 lbf·in.
- Energy and power: International Table calorie 4.1868 J and BTU 1055.05585262 J; thermochemical calorie 4.184 J (food); 1 hp (mechanical) = 550 ft·lbf/s = 745.69987158227022 W; 1 PS = 75 kgf·m/s = 735.49875 W.
- Temperature: K = °C + 273.15, K = (°F + 459.67) × 5/9, K = °R × 5/9. A temperature below 0 K is refused. Temperature differences are a separate quantity without the offsets: 1 °C = 1 K, 1 °F = 1 °R = 5/9 K.
Gauge, absolute and differential pressure
- Absolute pressure = gauge pressure + atmospheric pressure. You say which one you typed; with an atmospheric pressure (default 101.325 kPa, the standard atmosphere) every row also shows the other one, and the headline can be switched to it.
- An absolute pressure cannot be negative; a gauge pressure below a full vacuum is refused. A typed difference (Δp across a filter, a column of water) has no reference and is never shifted.
- The units themselves do not carry “g” or “a”: write bar(g) / bar(a), psig / psia on drawings and in reports.
Flow and viscosity
- Volumetric flow (m³/h, L/min, US gpm, imperial gpm, cfm …) and mass flow (kg/h, lb/h …) are linked only through a density you give: mass flow = volumetric flow × density. Kinematic and dynamic viscosity likewise: dynamic = kinematic × density (1 cP = 1 mPa·s; 1 cSt = 1 mm²/s).
- Gas flow at reference conditions (the Gas flow part): at the same mass flow an ideal gas obeys Qref = Qactual × (pactual / pref) × (Tref / Tactual) with absolute pressures and temperatures. Dry gas, no compressibility factor Z (below about 10 bar and near room temperature, Z of air is within about 1 % of 1), no humidity correction. The reference conditions are always chosen by you; nothing is assumed.
- Reference conditions offered (unverified): Reference conditions for gas volumes as commonly quoted (DIN 1343, ISO 13443, ISO 1217, IUPAC, CAGI, US gas practice); recalled from general practice, the standards themselves were not read. Check which conditions your flow meter, compressor data sheet or supplier uses.
Surface roughness
- Ra, Rq, Rz … in µm, µin, nm or mm: 1 µin = 0.0254 µm exactly (so Ra 1.6 µm = 62.9921 µin; drawings round it to 63 µin).
- The N grade numbers (unverified): Roughness grade numbers N1–N12 with their Ra values as given in older editions of ISO 1302 (before 2002) and widely reproduced in drawing handbooks; recalled from general practice, the standard was not read. ISO 1302:2002 no longer uses grade numbers (recalled). The grade shown is the smallest one whose Ra value the given Ra does not exceed.
- No conversion between Ra and Rz (or Rt, Rmax): they describe different features of the same profile, and their ratio depends on the process (often quoted between about 4 and 10). A converted value could pass or fail a part wrongly, so the tool does not offer one.
Hardness (approximate)
- Hardness scales measure different things (indentation depth or area under different loads and indenters); there is no exact conversion. Conversion tables are empirical and valid for a material group only.
- Table used (unverified): Approximate hardness conversion numbers for non-austenitic steels, written from memory of the tables of ASTM E140 (Tables 1 and 2) as widely reproduced; the standard (and ISO 18265) was not read. Every value must be compared with the current standard before use. Scope: Non-austenitic steels: carbon and alloy steels in the as-forged, annealed, normalized, or quenched and tempered condition, of uniform hardness. Not for austenitic (stainless) steels, cast iron, non-ferrous metals, case-hardened, cold-worked or surface-treated parts.
- Linear interpolation between two neighbouring rows of one table; a conversion never chains two tables; a value outside the table, or where the table has no value for the other scale (HB above about HRC 58), is refused. Every result carries a warning, in the CSV too.
- No tensile strength is estimated: the table has no strength column, and a strength from hardness is no substitute for a tensile test.
Display
- Rounding to the chosen significant digits, half away from zero. Notation: auto (plain from 0.0001 to below 10⁹, scientific outside), plain, scientific (1.23e-4) or engineering (exponent a multiple of 3: 123e-6).
- The factor column “1 x =” shows the exact decimal when it has at most the shown digits, otherwise the rounded factor followed by “…”; the definition column says how the factor is defined. Temperatures show a formula instead.
- Decimal sign: as typed (a comma in the value gives commas in the results) or chosen; the CSV then uses “;” between columns.
Worked examples (the tool’s examples)
- 6 bar gauge = 600 000 Pa / 6894.757293168… Pa = 87.0226 psi (gauge). With the standard atmosphere the absolute pressure is 701.325 kPa = 7.01325 bar = 101.719 psi.
- 100 m³/h of compressed air at 7 bar(g), 20 °C, atmosphere 101.325 kPa, to normal conditions (0 °C, 101.325 kPa): 100 × (801.325 / 101.325) × (273.15 / 293.15) = 736.891 Nm³/h.
- Ra 1.6 µm = 1.6 / 0.0254 = 62.9921 µin, grade N7 in the table.
- HRC 50 ≈ 513 HV ≈ 481 HB in the (unverified) steel table: approximate only.
- The batch example turns tightening torques in lbf·in into N·m: 9 lbf·in = 1.01686 N·m, 60 lbf·in = 6.77909 N·m, 420 lbf·in = 47.4536 N·m.
Common mistakes
- Converting a gauge pressure to an absolute unit without adding the atmosphere (or a vacuum reading in mbar(a) as if it were gauge).
- Converting a temperature difference with the offset: a rise of 10 °C is 18 °F, not 50 °F.
- Quoting Nm³/h, SCFM or “standard litres” without the reference conditions: the same number can differ by 7 % or more between conventions.
- Using kgf or lbf as mass units, or local gravity for kgf: the technical units use gn = 9.80665 m/s² by definition.
- Taking a converted hardness or an Ra ↔ Rz ratio as a measurement for acceptance.
Input and files
- Values with a decimal point or comma, an optional exponent (2.5e-3) and sign; thousands separators are refused (1,000 could mean one or one thousand).
- Batch: one value per line, a label before it allowed; CSV, TSV or TXT files (UTF-8, UTF-16 or Windows-1257) up to 20 MB are read in this browser only. Excel workbooks are not opened here: copy the column and paste it. Up to 500 lines are shown on the page; the CSV holds all.
- Results CSV (UTF-8, “;” between columns with a decimal comma) for every part and one settings JSON for all; nothing is stored in the browser.
- Checked against an independent script: exact fractions in Python for every unit pair (1,552 pairs), cross-checked with the pint library, and the table interpolation re-implemented there.
Questions
- How many psi is 6 bar?
- 6 bar = 87.0226 psi. 1 psi is one pound-force on one square inch: 0.45359237 kg × 9.80665 m/s² / (0.0254 m)² = 6894.757293168… Pa, so 1 bar (100 000 Pa) = 14.5038 psi. If the 6 bar is a gauge reading, the absolute pressure at the standard atmosphere (101.325 kPa) is 7.01325 bar = 101.719 psi.
- What is the difference between gauge and absolute pressure?
- Absolute pressure is measured from a perfect vacuum, gauge pressure from the surrounding atmosphere: absolute = gauge + atmospheric. A tyre or a compressed-air line is usually read as gauge (bar(g), psig), a vacuum or a gas law calculation needs absolute (bar(a), psia). The converter asks which one you typed and shows the other one with the atmospheric pressure you give (101.325 kPa by default).
- Why is a temperature difference converted differently from a temperature?
- A temperature reading sits on a scale with an offset: 20 °C is 68 °F (× 9/5 + 32). A difference has no offset: a rise of 20 °C is a rise of 36 °F (× 9/5 only), and a tolerance of ±5 °C is ±9 °F. The converter has two separate quantities for this, so a span is never shifted by 32 °F.
- What does Nm³/h mean, and how do I convert it to actual m³/h?
- Nm³/h is a gas flow expressed at “normal” reference conditions, most often 0 °C and 101.325 kPa (DIN 1343); “standard” conditions are often 15 °C or 20 °C, or 60 °F and 14.696 psia for SCF. The same mass of gas fills a different volume at the operating pressure and temperature: Q_ref = Q_actual × (p_actual / p_ref) × (T_ref / T_actual) for an ideal gas, with absolute values. 100 m³/h of air at 7 bar(g) and 20 °C is about 737 Nm³/h. Always state which reference conditions a figure uses.
- Can I convert Ra to Rz, or HRC to tensile strength?
- Not reliably, so the converter does not. Ra and Rz describe different features of a profile and their ratio depends on the process. Hardness scales are converted only approximately, for steel, from an empirical table (marked unverified here, with a warning on every result); a value outside the table is refused. Measure the parameter or the scale the drawing specifies, and use a tensile test for strength.
Related tools
- PLC data converter: registers to INT32, FLOAT32 and back before the unit conversion.
- Stencil aperture calculator: area ratio and volume in µm, mm or mil.