PPM calculator
This ppm calculator works out parts per million and parts per billion from the mass of solute and the amount of sample, reports the result in ppm, ppb, mg/L, µg/L and percent, finds the mass you need for a target ppm, and converts gas concentrations between ppm by volume and mg/m³.
PPM calculator: ppm and ppb from amounts
Gas ppm to mg/m³ converter (ppmv)
How to use the ppm calculator
The first panel of the ppm calculator answers the two everyday questions: what is the concentration of this sample, and how much solute do I need to reach a target. Choose a mode, then enter the solute mass with its unit (µg, mg, g or kg) and either the volume of a water sample or the mass of a solid or liquid sample. To convert a concentration you already have, for example a lab report in µg/L, into molarity, molality or mole fraction, use the Concentration Converter. The second panel is for air: it converts ppm by volume to mg/m³ and back at any temperature and pressure. Every panel shows its working step by step.
What do ppm and ppb mean in a ppm calculator?
Parts per million is a ratio, like percent, but scaled by a million instead of a hundred. For liquids and solids it is normally a mass ratio:
So 1 ppm is 1 mg of solute in 1 kg of sample, or 1 µg per g. Because a liter of dilute water weighs very close to 1 kg, 1 ppm in water is 1 mg/L and 1 ppb is 1 µg/L, which is why water laboratories use the two interchangeably. The same definitions appear in the OpenStax Chemistry 2e section on concentration units. In gases the convention is different: ppm means parts per million by volume (ppmv), which for ideal gases equals the mole fraction × 10⁶.
| 1 ppm equals | Value | Notes |
|---|---|---|
| Mass ratio | 1 mg/kg = 1 µg/g | Exact definition for solids and liquids |
| Water sample | 1 mg/L = 1 µg/mL | Assumes a density of 1.000 g/mL |
| Percent | 0.0001 % | 1 % = 10,000 ppm |
| ppb | 1000 ppb | 1 ppb = 1 µg/kg ≈ 1 µg/L |
| ppt (trillion) | 1,000,000 ppt | 1 ppt = 1 ng/kg ≈ 1 ng/L |
| Gas, by volume | 1 µmol of gas per mol of air | Equal to 1 µL of gas per L of air |
Worked example with the ppm calculator: lead in drinking water
The U.S. EPA action level for lead in drinking water is 15 ppb. How much lead is in a 300 mL glass of water at that level? This is Example 3.25 in OpenStax Chemistry 2e. Choose “Solute mass for a target, from solution volume”, enter 15 ppb and 300 mL with a density of 1 g/mL: the water weighs 300 g, w = 15 × 10⁻⁹, and the lead is 15 × 10⁻⁹ × 300 g = 4.5 × 10⁻⁶ g = 4.5 µg. The default mode of the ppm calculator runs the same problem forwards: 4.5 µg in 300 mL gives 0.015 ppm = 15 ppb = 15 µg/L.
Molar units are what you need for equilibrium calculations, such as checking whether a precipitate forms. In water, 15 ppb of Pb is 15 µg/L, and dividing by the molar mass (207.2 g/mol) gives 7.24 × 10⁻⁸ mol/L, or 72.4 nmol/L; the Concentration Converter handles such unit conversions, while this ppm calculator stays with ppm and ppb.
Drinking water limits run through the ppm calculator
Regulatory limits are written in mg/L. The table converts some of the EPA National Primary Drinking Water Regulations values to ppm and ppb, assuming a density of 1 g/mL; the µmol/L column divides by the molar mass of the element.
| Contaminant | Limit (mg/L) | ppm | ppb | µmol/L |
|---|---|---|---|---|
| Arsenic (As) | 0.010 | 0.010 | 10 | 0.133 |
| Lead (Pb), action level | 0.015 | 0.015 | 15 | 0.0724 |
| Copper (Cu), action level | 1.3 | 1.3 | 1300 | 20.5 |
| Fluoride (F) | 4.0 | 4.0 | 4000 | 211 |
| Nitrate, measured as N | 10 | 10 | 10,000 | 714 |
| Nitrite, measured as N | 1 | 1 | 1000 | 71.4 |
The lead action level drops to 0.010 mg/L (10 ppb) under the revised Lead and Copper Rule from November 2027. Note the words “measured as N” for nitrate and nitrite: the limit counts only the mass of nitrogen. A result of 10 mg/L nitrate-N is 10 × 62.004 / 14.007 = 44.3 mg/L of nitrate ion (NO₃⁻), so always check which basis a laboratory report uses before you compare it with a limit or enter it in a ppm calculator. The µmol/L column is the same for both bases, because one nitrate ion carries one nitrogen atom.
Converting ppm to mg/m³ for gases with the ppm calculator
For a gas or vapor in air, the ppm calculator uses the ideal gas law. One mole of any ideal gas occupies Vm = R·T/P, so a mole fraction y corresponds to y·P/(R·T) moles per cubic meter, and multiplying by the molar mass gives the mass concentration:
At 25 °C and 1 atm, Vm = 24.47 L/mol (24.465; 24.45 is the conventional rounded shortcut), which is the basis of the familiar shortcut mg/m³ = ppm × M / 24.45 used by occupational hygienists. At 20 °C it is 24.06 L/mol and at 0 °C 22.41 L/mol, so always state the reference conditions. The default values of the gas panel check this against the NIOSH Pocket Guide entry for carbon monoxide: CO (28.010 g/mol) at 35 ppm is 35 × 28.010 / 24.465 = 40.1 mg/m³, and NIOSH lists the limit as 35 ppm (40 mg/m³) with 1 ppm = 1.15 mg/m³. For the full ideal gas law, including densities, use the Ideal Gas Law Calculator.
Using the ppm calculator to make a solution with a target ppm
To prepare 2 L of a 50 ppm sodium standard in water, you need 50 mg/L × 2 L = 100 mg of sodium. Sodium is 39.34 % of NaCl by mass (22.990 / 58.44), so weigh 100 / 0.3934 = 254 mg of NaCl and make up to 2 L. The ppm calculator gives the 100 mg; the Molar Mass Calculator gives the mass fraction of the element in the salt. For low-ppb standards, weighing such small masses is not accurate, so make a 1000 ppm stock and dilute it in steps with the Dilution Calculator instead.
Common mistakes with ppm and ppb
Mixing up ppm by mass and ppm by volume. 35 ppm CO in air is a mole ratio; 35 ppm CO dissolved in water would be a mass ratio. Using mg/L as ppm in dense liquids. For seawater (1.025 g/mL) or brines, ppm by mass = mg/L ÷ density in kg/L. Factor-of-ten slips. 1 % is 10,000 ppm, not 1000 ppm, and 1 ppm is 1000 ppb. Ignoring the “as” basis. Nitrate as N, phosphate as P and hardness as CaCO₃ are different numbers for the same water. Ambiguous billion. ppb in chemistry always means 10⁻⁹ (the short-scale billion). A ppm calculator makes the arithmetic reliable, but only you can make sure the basis is right.
Related calculators
For concentrated solutions, convert ppm to molality, mass percent or mole fraction with the Concentration Converter. The Weight Percent Calculator handles percent by mass and volume, and the Scientific Notation Calculator helps with very small numbers.
- Concentration Converter
- Dilution Calculator
- Weight Percent Calculator
- Molarity Calculator
- Ideal Gas Law Calculator
- Mole Fraction Calculator
- All chemistry calculators
Frequently asked questions
How do you calculate ppm?
Divide the mass of solute by the mass of the whole sample and multiply by one million. For example, 4.5 µg of lead in 300 g of water is 4.5 × 10⁻⁶ / 300 × 10⁶ = 0.015 ppm. The ppm calculator does this with any mass units.
How do I convert ppm to mg/L?
For water and other dilute aqueous solutions, 1 ppm = 1 mg/L. More precisely, mg/L = ppm × density in kg/L, so 100 ppm in seawater of 1.025 g/mL is 102.5 mg/L.
How many ppb are in 1 ppm?
One thousand. 1 ppm = 1000 ppb = 1,000,000 ppt, and 1 % = 10,000 ppm.
How do I convert ppm to mg/m³ for a gas?
Use mg/m³ = ppm × M / 24.45 at 25 °C and 1 atm, where M is the molar mass in g/mol. At other conditions replace 24.45 with R·T/P in L/mol; the gas panel of the ppm calculator does this for you.
How do I convert ppm to molarity?
Convert ppm to mg/L (multiply by the density in kg/L, or by 1 for dilute water), then divide by 1000 × the molar mass. 10 ppm of nitrate-N is 10 / (1000 × 14.007) = 7.14 × 10⁻⁴ mol/L. The concentration converter does this conversion directly.
Is this ppm calculator free?
Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.