ppm, ppb and Trace Concentration Calculator (Mass or Volume Basis)

ppm, ppb and ppt — and the mass-or-volume question nobody asks first

A part per million is a ratio, and a ratio needs a numerator and a denominator of the same kind. One part of mass in a million parts of MASS is not the same number as one part of mass in a million parts of VOLUME, and the two differ by exactly the density. This page computes both from whatever you have, prints them side by side with the gap between them, and puts your result on a logarithmic ruler running from per cent down to parts per trillion with a named landmark beside it.

ppm, ppb and trace concentration

Both bases, computed and compared
How much of the thing you are measuring. Choose its unit in the next box. This is the numerator of the ratio, and it is always a mass on this page — if your question gives a VOLUME of a trace liquid or gas, this is not the right page for it; multiply by that substance’s density to get a mass first, and read the note about volume-basis ppm below.
Trace work lives in micrograms and nanograms, and a factor of a thousand misread here is the commonest error of all — it turns a safe result into an alarming one or the reverse. The useful mental anchors: in a litre of water, 1 mg is 1 ppm, 1 µg is 1 ppb and 1 ng is 1 ppt, exactly, provided the density is 1.000 g/mL.
The denominator: the whole sample, including the trace substance itself. For the concentrations this page is about that inclusion makes no measurable difference — at 15 ppb the trace substance is fifteen billionths of the total — which is one of the few genuine conveniences of working in trace units, and a sharp contrast with molality, where leaving the solute out of the denominator is the whole definition.
This is the field the whole page is about. Weigh the sample and you get a mass-basis ppm, which is a true dimensionless mass fraction: 1 ppm = 1 mg/kg = 1 g/tonne. Measure its volume and you get a volume-basis ppm, which is 1 mg/L and is NOT dimensionless — it is a mass concentration that the water industry calls ppm because for fresh water the two happen to agree to within a fraction of a per cent. Soil, food and geological results are normally mass basis; water results are normally volume basis; and a number quoted as “ppm” with no basis is ambiguous by as much as the density differs from 1.
In grams per millilitre, for the whole sample, not for the trace substance. It is the only thing that crosses between the two bases, and the ratio of volume-basis ppm to mass-basis ppm is exactly this number. 1.000 for fresh water (and then the two bases agree exactly), 1.025 for seawater, about 1.84 for concentrated sulfuric acid, 0.789 for ethanol, 1.3 to 1.6 for dry soil, 0.0012 for air at room temperature. Notice that last one: for a gas, a mass-basis ppm and a volume-basis mg/L differ by a factor of nearly a thousand, which is why air-quality figures always state whether they are µg/m³ or ppm by volume.
A logarithmic ruler from 100 per cent on the left down to 1 part per trillion on the right, one tick every two decades, with anything beyond either end pinned to it. The solid arrow is your result on the basis you chose; the dashed arrow is the same measurement on the other basis, and it sits a little to one side because the density is not 1. The open circle on the axis is the nearest named landmark, named underneath. The bar at the bottom shows the gap between the two bases against a 25 per cent full scale, and that is the thing to watch: on a twelve-decade ruler a 2.5 per cent disagreement is a third of a pixel, which is exactly why a basis error never looks like a mistake.
0.0150ppmExample

7.5 µg of lead found in a 500 mL seawater sample of density 1.025 g/mL

Advertisement

Two ratios, one density between them

mass basis: ppm = m(trace in mg) / m(sample in kg)  ·  volume basis: ppm ≡ mg/L = m(trace in mg) / V(sample in L)  ·  ppm(volume) = ρ × ppm(mass)  ·  1 ppm = 1000 ppb = 106 ppt = 10−4 %
ppm (mass)
a dimensionless mass fraction of 10−6. 1 mg in 1 kg, 1 g in 1 tonne, 1 µg in 1 g. Temperature-independent, because both numerator and denominator are masses. This is the only one of the two that deserves the name ‘part per million’ literally
ppm (volume)
1 mg per litre, which has units and is a mass concentration. The water industry writes it as ppm; strictly it is not a ratio at all. It is temperature-dependent, because the litre expands and the milligram does not
ρ
the density of the sample, g/mL. The ratio of the two bases is exactly ρ: multiply a mass-basis ppm by the density to get mg/L, divide to go back. For fresh water ρ = 1.000 and the two coincide, which is the accident that makes the whole confusion possible
ppb, ppt
parts per billion (10−9) and per trillion (10−12), on the short scale, which is now universal in scientific use. Older European texts used the long scale, where a billion was 1012 — a factor of a thousand, in a field where factors of a thousand are the usual error. Which is why many standards now write µg/kg and ng/kg instead, and why you should too
pC
minus the base-10 logarithm of the mass fraction, by analogy with pH. Not standard notation, and offered because it is the natural coordinate for the ruler in the diagram: 1 ppm is pC 6, 1 ppb is pC 9, 1 ppt is pC 12

Worked example

7.5 µg of lead found in a 500 mL seawater sample of density 1.025 g/mL
GET THE NUMERATOR INTO ONE UNIT. 7.5 µg = 0.0075 mg. Working in milligrams throughout is worth the discipline, because mg and L give ppm directly and mg and kg give ppm directly.
THE SAMPLE WAS MEASURED BY VOLUME, so the volume basis comes first: 500 mL = 0.500 L, and 0.0075 ÷ 0.500 = 0.0150 mg/L, which the water industry writes as 0.0150 ppm and which is 15.0 ppb. That is the headline.
NOW THE MASS BASIS, which is a different number. The sample's mass is its volume times its density: 0.500 L × 1.025 kg/L = 0.5125 kg. Then 0.0075 mg ÷ 0.5125 kg = 0.014634 mg/kg, that is 0.014634 ppm by mass, or 14.63 ppb.
COMPARE THEM. 0.0150 against 0.014634 — the volume-basis figure is 2.50 per cent higher, and that 2.50 per cent is exactly the density minus one. It is not a rounding artefact and it does not go away with a better balance. Quote “15 ppb of lead” without saying which basis and you have handed the reader a 2.5 per cent ambiguity.
PUT IT NEXT TO SOMETHING. The WHO provisional guideline value for lead in drinking water is 0.01 mg/L, that is 10 µg/L. This sample is 1.5 times that. (Seawater is not drinking water, so the comparison is a scale marker rather than a verdict — but 15 ppb of lead is a real number in a real range, which is the point of putting it on a ruler.)
AND IN THE OTHER UNITS. 0.0150 ppm is 15.0 ppb, 15 000 ppt and 0.0000015 per cent. The percentage form shows why trace units exist: six leading zeros is a decimal point waiting to move. pC, minus the log of the mass fraction 1.4634 × 10−8, is 7.8346, and each whole number on that scale is a factor of ten.
Advertisement

The same measurement, five matrices: what the basis is worth

SampleDensity (g/mL)ppm by massppm by volume (mg/L)Volume basis is higher by
Air at 20 °C, 1 atm0.0012012.50000.015099.88 % lower
Ethanol0.7890.0190110.015021.10 % lower
Fresh water1.0000.0150000.0150no difference
Seawater1.0250.0146340.01502.50 % higher
Dry soil, packed1.5000.0100000.015050.00 % higher
Concentrated sulfuric acid1.8400.0081520.015084.00 % higher
0.0075 mg of trace substance in 500 mL of each matrix. The volume-basis figure is identical in every row, because it only ever divides a mass by a volume. The mass-basis figure moves over three orders of magnitude, because 500 mL of air weighs 0.6 g and 500 mL of sulfuric acid weighs 920 g. The air row is the one that should settle the argument about whether the basis matters: the same measurement is 12.5 ppm by mass and 0.015 mg/L, a factor of 830 apart, and both are correctly called ppm by somebody. The densities are conventional round figures and the soil one is a range, not a constant.

Landmarks on the ruler, so a trace number means something

ConcentrationAs ppmAs ppbWhat it is
100 %1 000 00010⁹A pure substance, by definition
3.5 %35 0003.5 × 10⁷Seawater salinity, conventional round figure
0.0426 %426.10426 100CO2 in air, July 2026, as a dry air MOLE fraction (NOAA)
0.0001 %1.001 0001 ppm; 1 mg/L in fresh water
0.000001 %0.0110WHO provisional guideline for lead in drinking water
10⁻¹⁰ %0.0000010.0011 ppt
Each row is a fixed point on the logarithmic ruler in the diagram above. Two are definitions, two are conventional figures and two are sourced: the CO2 value is NOAA’s global monthly mean for July 2026 and the lead value is the WHO’s provisional guideline. Note the CO2 row carefully — it is a mole fraction, the third kind of ppm, and the same air is about 647 ppm CO2 by mass. The ruler places it at its quoted amount-basis value with this caveat attached rather than silently converting it.

A ratio is only as good as its denominator

Parts per million, billion and trillion are the units trace analysis is reported in, for a simple reason: the alternative is a percentage with six leading zeros, and a decimal point in a row of zeros is an accident waiting to happen. 0.0000015 per cent is 15 ppb, and only one of those two is readable.

The trouble is that a part per million is a ratio and a ratio needs both halves specified, and there are three conventions in common use. Mass in mass — 1 mg in 1 kg — is a genuine dimensionless fraction of a millionth, and is what soil, food, ore and sediment results mean. Mass in volume — 1 mg in 1 litre — is what water results mean; it has units, it is not strictly a ratio at all, and it equals the mass fraction only when the density is exactly 1.000 g/mL. Amount in amount, one molecule in a million, is what gas results mean, and it is a third number again. A basis error never looks wrong: it gives a plausible number a few per cent out, in a field where a few per cent is below the noise of the measurement, so it survives review and gets compared against a limit that may itself be written on the other basis. The fix is a habit, not a calculation: write µg/kg or mg/L, never ppm, whenever the matrix is not fresh water.

The gap between the first two is exactly the density. Multiply a mass-basis ppm by the density in g/mL and you have mg/L; divide to go back. For fresh water the density is 1.000 and the two coincide — and that accident is the whole reason the confusion exists. Generations of water chemists have written ppm for mg/L with no harm done, because they were working in the one matrix where it is true. Take the same habit into seawater and you are out by 2.5 per cent; into sulfuric acid and you are out by 84 per cent; into air and you are out by a factor of 830.

One more thing worth noticing, because it cuts the other way from almost everything else on this site: at trace levels it does not matter whether the denominator includes the solute. At 15 ppb the trace substance is fifteen billionths of the total, so sample-plus-solute and sample-alone agree to nine figures. That is a real convenience, and it is the exact opposite of the situation for molality, where whether you divide by the solvent or the solution is the entire definition and gets you eight per cent at ordinary concentrations.

If what you want is a straight unit conversion between ppm, mg/L, µg/dL and the rest, this site already has a parts per million converter and there is no second copy of it here. For a concentration that comes off an instrument reading rather than a weighing, see Beer-Lambert concentration from absorbance, and for the dilutions that get a trace sample into the instrument’s range, serial dilution and C1V1 = C2V2. For the percentage end of the same scale, percent solution. Inside this plugin, alligation is how you hit a target concentration from two stocks, and the solubility product page explains why some ions simply cannot reach a concentration you might want to express in ppm at all.

Frequently asked questions

Is 1 ppm the same as 1 mg/L?

Only if the density of the sample is exactly 1.000 g/mL. 1 ppm by mass is 1 mg/kg; 1 mg/L is a mass per volume. They are related by the density, so for fresh water near room temperature they are the same to within a fraction of a per cent and the water industry treats them as identical. For seawater they differ by 2.5 per cent, for sulfuric acid by 84 per cent, and for air by a factor of 830. The safe habit is to write mg/L when you divided by a volume and mg/kg when you divided by a mass, and to reserve ‘ppm’ for conversation.

Which basis should I use?

Whichever your field uses, and then say so. Water, wastewater and clinical results are normally volume basis (mg/L, µg/L). Soil, sediment, ore, food, feed and tissue results are normally mass basis (mg/kg, µg/kg) — and for a solid there is no sensible volume to divide by anyway. Gas and air-quality results are usually amount basis (ppm by volume) or mass concentration (µg/m³), and the two are related by the molar masses, which this page does not do. If you are comparing your result against a published limit, check which basis that limit is written on before you compare.

What about ppm for gases, like CO2 in air?

That is a third convention: ppm by AMOUNT, one molecule in a million, which for an ideal gas is the same as one volume in a million. NOAA’s global CO2 figure of 426.10 ppm for July 2026 is this kind — the page states it as a dry air mole fraction. The same air is about 647 ppm CO2 by mass, because carbon dioxide at 44.01 g/mol is heavier than average air at 28.96. Converting needs both molar masses: ppm(mass) = ppm(amount) × M(gas)/M(air). This page does not do it, and the reason is that doing it badly would be worse than not offering it.

Does the denominator include the trace substance?

It does, and at trace levels it makes no difference you can measure: at 15 ppb the solute is fifteen billionths of the total, so including or excluding it changes the answer in the ninth significant figure. This is the one place in solution chemistry where you can be careless about it. Do not carry the habit across to molality, where dividing by the solution instead of the solvent is an eight per cent error at perfectly ordinary concentrations.

Related calculators

References

  1. World Health Organization, Guidelines for Drinking-water Quality, fourth edition incorporating the first and second addenda, chapter 12, the lead fact sheet (assessed 2011, revised 2016; read 14 November 2026). The guideline value for lead in drinking water is 0.01 mg/L, that is 10 µg/L, and it is explicitly PROVISIONAL — because of treatment performance and analytical achievability, not because the health-based derivation is uncertain. A limit set partly by what laboratories can measure is exactly the right landmark for a page about trace units.
  2. NOAA Global Monitoring Laboratory, Trends in CO2 (gml.noaa.gov/ccgg/trends/global.html, read 14 November 2026). The global monthly mean carbon dioxide for July 2026 is 426.10 ppm, against 424.09 for July 2025; the latest year is preliminary pending recalibration. Read the units, because they are why it is quoted here: NOAA states it as a dry air mole fraction, a ppm by AMOUNT. The same air is about 647 ppm CO2 by mass, because CO2 at 44.01 g/mol is heavier than air at 28.96.
  3. CONVENTIONAL FIGURE, flagged as such. The “about 3.5 per cent” salinity of seawater used as a landmark here, and the 1.025 g/mL default density, are the round numbers every oceanography text quotes; no primary measurement is cited, because TEOS-10, the thermodynamic equation of state for seawater, was not read on 14 November 2026. Real salinity runs from under 1 per cent in the Baltic to over 4 in the Red Sea.
  4. IUPAC, Quantities, Units and Symbols in Physical Chemistry (the Green Book), listed among the IUPAC Color Books at iupac.org/color-books (index page read 14 November 2026). The authority for the symbols used here: b for molality, x for amount fraction, c for amount concentration. The index gives no edition or year and the book itself was not read, so no page is cited from it.
  5. COULD NOT BE READ, and nothing was substituted for any of it. The NCERT chemistry chapters on solutions and ionic equilibrium, the CRC Handbook of Chemistry and Physics solubility tables, and the individual IUPAC-NIST Solubility Data Series volumes were all paywalled, refused, or returned only third-party reproductions on 14 November 2026. The solubility curves and Ksp values here are therefore the conventional tabulation that textbooks agree on to two or three figures, with no primary measurement traced behind any one number. Where your own table disagrees, use your table.