How We Verify Conversion Factors
This page explains where each conversion factor comes from, how it is stored and calculated, and how it is tested before every release.
1. One factor per unit, relative to the SI
Each unit is defined once, by its factor to the coherent SI unit of its category: pascal for pressure, cubic metre per second for flow, metre per second for face velocity, and so on. Any conversion A → B is then (factor A ÷ factor B). This avoids storing hundreds of pairwise factors that could disagree with each other.
2. Exact definitions are stored as exact expressions
Where a unit is exact by definition, the factor is stored as the defining expression, not a rounded decimal. For example:
- psi = 0.45359237 kg × 9.80665 m/s² ÷ (0.0254 m)² = 6894.757293168361… Pa
- torr = 101 325 / 760 Pa
- US gallon = 231 × (0.0254 m)³ = 0.003785411784 m³
- inch of water (conventional) = 1000 kg/m³ × 9.80665 m/s² × 0.0254 m = 249.08891 Pa
Measured values, such as the inch of water at 60 °F (248.84 Pa), are taken as published by NIST and flagged as approximate on every page that uses them.
3. Reference conditions are explicit
Manometric units depend on the density of the liquid. We use the conventional definitions (water 1000 kg/m³, mercury 13 595.1 kg/m³, standard gravity 9.80665 m/s²) and state them on the page. Standard gas flows (sccm, SLPM) depend on the reference temperature and pressure; the default is 0 °C and 101.325 kPa (SEMI E12), and the converter lets you choose 20 °C and enter actual line conditions.
4. Decimal arithmetic
Calculations use the decimal.js library with 50 significant digits and half-even rounding. Results are rounded only when displayed: 10 significant figures by default, adjustable from 4 to 15. Very large and very small results switch to scientific notation.
5. Automated tests on every build
- Round trip: every pair in every category is converted A → B → A for several values; the result must match within a relative 10⁻¹².
- Reference values: factors are checked against the values printed in NIST SP 811 Appendix B.8, to the number of digits NIST prints.
- Exact identities: e.g. 1 L/(m²·s) = 1 mm/s and 1 ft³/(ft²·min) = 1 ft/min must hold exactly.
- Data integrity: the build fails if any unit lacks a source, an id or slug is duplicated, or a worked example refers to a unit that does not exist.
- Page checks: the build fails on duplicate titles or descriptions, a missing canonical URL, broken internal links or pages with too few internal links.
6. Numbers in text are computed
Numbers in FAQ answers and examples are not typed by hand. They are placeholders that the build replaces with values calculated from the stored factors, so the text cannot drift from the converter.
Primary sources
- Guide for the Use of the International System of Units (SI), NIST Special Publication 811, 2008 Edition, National Institute of Standards and Technology, 2008.
- The International System of Units (SI), 9th edition (SI Brochure), Bureau International des Poids et Mesures, 2019.
- NIST Handbook 44, Appendix C: General Tables of Units of Measurement, National Institute of Standards and Technology, 2024.
- ISO 80000-4:2019 Quantities and units — Part 4: Mechanics, International Organization for Standardization, 2019.
- ISO 9237:1995 Textiles — Determination of the permeability of fabrics to air, International Organization for Standardization, 1995.
- ASTM D737 Standard Test Method for Air Permeability of Textile Fabrics, ASTM International, 2018.
- ISO 6358-1:2013 Pneumatic fluid power — Determination of flow-rate characteristics of components using compressible fluids, International Organization for Standardization, 2013.
- SEMI E12 Guide for Standard Temperature and Pressure Used in the Measurement of Mass Flow, SEMI, 2017.
- ISO 1217:2009 Displacement compressors — Acceptance tests, International Organization for Standardization, 2009.
- ISO 13443:1996 Natural gas — Standard reference conditions, International Organization for Standardization, 1996.
- DIN 1343:1990 Reference conditions, normal conditions, normal volume, Deutsches Institut für Normung, 1990.
- Manual of the ICAO Standard Atmosphere (Doc 7488/3), International Civil Aviation Organization, 1993.
- ISO 16890-1:2016 Air filters for general ventilation, International Organization for Standardization, 2016.
Found a discrepancy? Tell us. Corrections are logged in the changelog.
Last updated: