How We Verify Conversions
Where our numbers come from, and how every one of them is checked.
A converter is only useful if you can trust the answer. This page explains, in plain English, where Unitrify’s numbers come from and how we check them. Today the site has 591 units in 76 categories and 157 pair pages such as cm to inches, and every one of them goes through the checks below.
1. Exact definitions first
Every unit is defined by how much it is in one base unit, for example 1 inch = 0.0254 meter. Where a unit has an exact legal or SI definition, we use that exact number, never a rounded one: the inch, foot, pound and US gallon have been exact since 1959, and the 2019 SI redefinition fixed constants such as the elementary charge exactly. Other factors come from NIST SP 811, the US National Institute of Standards and Technology guide to SI units, which lists conversion factors for older and non-SI units. Temperature readings use their formulas (°F = °C × 1.8 + 32), not a single factor.
All factors are kept in one place in our code, one file per category, so a correction made once is used on every page, table and search answer.
2. An independent reference table
We keep a second, independent reference table, written straight from NIST SP 811 and the SI definitions and not copied from the converter’s own data. An automated test compares the two for every unit; they must agree to within one part in a million. If someone changes a factor by mistake, this test fails before the change can go live.
3. Automated tests on every page
- Every unit: the engine’s result is checked against the independent reference table.
- Every pair page: the quick answer and any number in the title must equal what the converter calculates.
- Every conversion table: each row is recalculated and compared with the engine.
- Every reverse pair (such as kg to lbs and lbs to kg): the two factors must be exact inverses.
- Pakistani land units: marla, kanal and acre are checked for all three marla standards (272.25, 250 and 225 sq ft).
These tests run every time the site is updated, together with browser tests on desktop and phone screens that check the converters work and no page shows a broken number.
4. What we do not verify
Currency rates are not fixed factors: they come from a public rates service once a day, and the source and update time are shown next to them. Local units with more than one size, such as the marla, are shown with the standard used. For buying land, legal or medical matters, always confirm figures with official documents.
Found a mistake?
Please tell us. Email info@unitrify.com with the page address, the value you entered and the result you expected. We check every report against the official definition, and if we were wrong we fix the factor and add a test so it cannot happen again.