The formula
ppm = mcomponent / mtotal × 10⁶
Calculate a mass fraction in parts per million.
Variables and input conventions
component- Component mass (mg)
total- Total sample mass (kg)
Understanding the relationship
One ppm by mass is one milligram per kilogram. It equals about one mg/L only for a dilute solution with density about one kg/L.
Interpreting the chemistry
This is a mass ratio: 1 mg/kg equals 1 ppm. A value in mg/L is not automatically ppm without solution density. The total sample mass includes the component; the supported range is 0 to 10⁶ ppm.
Assumptions and valid inputs
Component nonnegative and no greater than positive total mass. Result is mass/mass ppm; mg/L needs density assumptions.
Numeric entries accept a decimal point or comma and scientific notation, up to 100 characters, with magnitude from 10⁻¹⁰⁰ to 10¹⁰⁰ or zero. Field-unit selectors convert independently; printed compound units without selectors remain fixed. Gas temperatures use positive absolute kelvin. Half-life calculations support up to 10,000 half-lives for positive initial amounts; Arrhenius calculations support an exponential argument from −10,000 to 10,000. Values outside these computational limits show an error rather than silent underflow.
Rounding and numerical precision
Chemistry calculations use a private 640-significant-digit decimal context. The SI Avogadro and gas constants use their exact defining values, but input measurements and idealised chemical models still have their own uncertainty. Choose 0–8 decimal places for display and copying. Trailing zeros are omitted; very small values may round to zero. Display rounding does not change the underlying calculation. Finite-precision arithmetic is not symbolic exact arithmetic.
Accuracy of input data
Extra displayed decimals do not improve input accuracy. Measurement uncertainty, product variability and uncertain chosen rates are separate from rounding. This tool does not propagate measurement uncertainty. Check that its stated assumptions describe your situation.
Units and dimensions
Input-unit changes reinterpret the entered number. A compatible result unit follows where possible; choose another output unit to convert the answer. Length, area, volume and mass are distinct dimensions. Fixed compound units printed on a field remain part of its definition.
References for unit conventions, not endorsements of every calculator’s model.