Scientific Converters Precise unit conversions for science & engineering.

    Loading…

    Support

    Free Unit Conversion Data API (JSON)

    One static JSON file with every unit on Scientific Converters: 407 units in 50 categories, each with its exact factor to the SI base unit, the defining expression, reference conditions and the source document. No key, no rate limit.

    Download units.json

    Licence and attribution

    The data is licensed under CC BY 4.0. You may use it for any purpose, including commercially, if you credit Scientific Converters (scientificconverters.com) with a link to scientificconverters.com.

    Unit data: <a href="https://scientificconverters.com/">Scientific Converters</a> (CC BY 4.0)

    How to convert with the data

    Example (JavaScript)

    const res = await fetch('https://scientificconverters.com/api/units.json');
    const data = await res.json();
    const pressure = data.categories.find((c) => c.id === 'pressure');
    const u = (id) => pressure.units.find((x) => x.id === id);
    // 125 Pa to inH2O
    const valueBase = 125 * Number(u('pascal').factor);
    console.log(valueBase / Number(u('inch-of-water').factor)); // 0.50182884…

    Fields

    Unit object
    FieldMeaning
    id, name, plural, symbol, symbolAscii, aliasesIdentifiers and names
    factor, factorExpressionMultiplier to the category base unit (decimal string and exact expression)
    offset, offsetExpressionAdditive term to the base unit (temperature only)
    inverseTrue for reciprocal units: value in base = factor ÷ value
    exacttrue if the factor is exact by definition
    referenceReference conditions (water and mercury columns, standard gas flow)
    sourcesDocument title, URL and locator for each factor

    See also how we verify conversion factors and the changelog for data versions.

    Send feedback

    Found a wrong value, a missing unit or an idea? Tell us. We read every message.

    What is it about?

    We store your message, the page you were on and your email if given. See the privacy policy.