Audited 29 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 2·0 uses

PPM to Molarity Calculator (ppm is not mg/L)

Convert mass-basis ppm or mg/L to molarity (mol/L, mmol/L, µmol/L) and back, using the solute's molar mass and the solution's density, e.g. nitrate as N.

PPM to Molarity Calculator

What do you have?
Milligrams of solute per litre of solution. This is what water-quality regulations are actually written in — the EPA nitrate limit is 10 mg/L, not 10 ppm.
mg/L
Milligrams of solute per kilogram of SOLUTION. Equal to mg/L only when the solution density is exactly 1.000 kg/L, which water is not.
mg/kg
Moles of solute per litre of solution. At trace levels this number is very small — read the µmol/L output instead.
mol/L
Default 14.007 g/mol = nitrogen, the IUPAC/CIAAW 2021 conventional value for the interval [14.006, 14.008]. It is the default because the EPA nitrate limit is expressed 'as Nitrogen'. Use the molar mass of the species your result is reported AS — nitrate ion is 62.004 g/mol and gives a number 4.43 times larger.
g/mol
Numerically the same as kg/L. Default 0.99705 is pure water at 25 °C, 101.325 kPa (NIST WebBook / IAPWS-95: 997.04764 kg/m³). Density is what separates ppm from mg/L — leave it at the default only for dilute aqueous samples.
g/mL
Amount concentration
7.139 × 10⁻⁴
Amount concentration in moles of solute per litre of solution: the mg/L figure divided by 1,000 times the molar mass.
Millimolar
0.7139 mmol/L
Micromolar
713.9287 µmol/L
Parts per million (mass basis)
10.0296 mg/kg
Mass concentration
10 mg/L

Background.

The US limit for nitrate in drinking water is 10 mg/L. The European Union and the World Health Organization use 50 mg/L. Those are nearly the same limit, because the American figure counts only the nitrogen inside each nitrate ion while the European one weighs the whole ion, which is 4.43 times heavier. Put both into moles per litre and the confusion disappears: 10 mg/L as nitrogen is 0.714 mmol/L of nitrate, and 50 mg/L as nitrate is 0.806 mmol/L.

That is why chemists convert mass concentrations into amount concentrations. Moles count particles, and stoichiometry, ionic strength, equilibria and toxicity all respond to how many particles are present rather than to how much they weigh. The step needs one fact the units cannot carry: the molar mass of the species the result is reported as.

A second, smaller gap separates ppm from mg/L. On a mass basis, 1 ppm is one milligram of solute per kilogram of solution, while mg/L is per litre. The two agree only when a litre of the solution weighs exactly a kilogram, and water never quite does — at 25 °C it is 0.99705 kg/L, so 10 mg/L works out to 10.0296 ppm. For tap water that 0.3% rarely matters. For seawater, brines and acids the gap grows to several percent and, for concentrated sulfuric acid, to nearly half.

Start from a mass-basis ppm reading, a mg/L concentration or a molarity, and all five forms come back together: mol/L, mmol/L, µmol/L, ppm and mg/L. The ppm is strictly mass-based; the ppm quoted for gases in air is a different quantity.

What is ppm to molarity calculator?

Three different quantities hide behind everyday concentration talk. A mass-basis ppm is a mass fraction: milligrams of solute per kilogram of solution, a pure ratio that does not change with temperature. A mass concentration, which the IUPAC Green Book writes γ = m/V, is milligrams per litre of solution. An amount concentration, c = n/V, traditionally called molarity, is moles per litre. The first two are linked by the solution's density; the last two by the solute's molar mass. Because both per-litre quantities depend on volume, and volume expands with temperature, a mg/L or mol/L value strictly belongs to a temperature, while a mass fraction does not.

How to use this calculator.

  1. Choose what you are starting from: a ppm reading (mg per kg of solution), a mass concentration in mg/L, or an amount concentration in mol/L.
  2. Enter the molar mass of the species your number is reported as, which is not always the one you measured: 14.007 g/mol for nitrate reported as N, 62.004 for nitrate as the ion, 100.086 for hardness or alkalinity reported as CaCO₃.
  3. Enter the solution's density in g/mL, which is numerically the same as kg/L. The default 0.99705 is pure water at 25 °C; use about 1.025 for seawater and a measured value for brines, acids and solvents.
  4. Read mmol/L or µmol/L for trace levels, where the mol/L figure has several leading zeros.
  5. Compare the ppm and mg/L results: the difference between them is the density effect, and when you start from mg/L the density changes only the ppm figure, never the molarity.

The formula.

γ = p · ρ c = γ ⁄ (1000 · M) p = γ ⁄ ρ

Every mode passes through the mass concentration γ in mg/L. From a ppm reading p: γ = p × ρ, because a kilogram of solution contains p milligrams of solute and a litre of solution weighs ρ kilograms. From γ to amount concentration: c = γ ÷ (1000 × M), where M is the molar mass in g/mol and the 1000 is nothing more than milligrams per gram — divide mg/L by 1000 to get g/L, then by g/mol to get mol/L. Back to ppm: p = γ ÷ ρ. Starting from a molarity runs the middle step in reverse, γ = c × 1000 × M. The direction of the ppm–mg/L gap follows from p = γ ÷ ρ: a solution lighter than 1 kg/L, such as water at room temperature, gives a ppm figure above the mg/L figure, and a denser one gives a smaller ppm. Reading a ppm value as if it were mg/L builds in a relative error of (1 − ρ) ÷ ρ. The molar mass changes the molarity in direct inverse proportion and is by far the larger lever whenever a result is reported as an element rather than the dissolved ion. Molar mass and density must both be above zero; concentrations may be zero but not negative. Small results keep twelve significant figures, so trace molarities lose no precision.

A worked example.

Example

Take the US nitrate limit, 10 mg/L measured as nitrogen, in ordinary water at 25 °C. With M = 14.007 g/mol for nitrogen, c = 10 ÷ (1000 × 14.007) = 10 ÷ 14,007 = 7.139 × 10⁻⁴ mol/L. In more readable units that is 0.7139 mmol/L, or 713.9 µmol/L. The ppm figure comes from dividing by the density: 10 ÷ 0.99705 = 10.0296 mg/kg. Calling the limit "10 ppm" therefore understates the ppm value by about 0.3%, and because water at 25 °C is lighter than 1 kg/L, the ppm number is always the larger of the two. The molarity also unlocks the basis question. Each nitrate ion contains one nitrogen atom, so the water holds 0.7139 mmol/L of NO₃⁻ as well. Switching to the molarity-to-ppm direction with that amount and M = 62.004 g/mol gives 44.27 mg/L of nitrate ion, the same water described by a number 4.43 times larger.

mass Concentration Mg Per L10
molar Mass14.007
solution Density0.997
solve FormgPerLitreToMolarity

Frequently asked questions.

My well test says nitrate is 10 ppm. Is that at the 10 mg/L limit?
Check the basis first. If the lab reported nitrate as the ion, 10 ppm is about 9.97 mg/L of NO₃⁻, which is only roughly 2.25 mg/L as nitrogen — well under the US limit. If it reported as N, you are essentially at the limit, with the ppm–mg/L difference adding only 0.3%.
How do I convert hardness in ppm as CaCO₃ to mmol/L?
Choose the ppm starting point, enter M = 100.086 and keep water's density. A hardness of 250 ppm becomes 249.2625 mg/L and 2.4905 mmol/L. The figure is a convention: calcium and magnesium are expressed as if they were all calcium carbonate, so the mmol/L counts divalent hardness ions, whatever their identity.
When does the difference between ppm and mg/L stop being negligible?
The relative gap is (1 − ρ) ÷ ρ. For water at 25 °C it is +0.3%. Seawater at about 1.025 kg/L gives −2.4%, so 10 ppm is 10.25 mg/L. Concentrated sulfuric acid at 1.84 kg/L gives about −46%: 10 mg/L there is only 5.43 ppm.
Why is the molarity of a trace contaminant so hard to read?
Because the numbers are tiny. The US arsenic limit of 0.010 mg/L, with arsenic at 74.922 g/mol, is 1.335 × 10⁻⁷ mol/L. The micromolar output puts the same value at 0.1335 µmol/L, which is easier to compare with other trace species or with toxicology data quoted in µM.
Can I convert 400 ppm of CO₂ in air with this?
No. Gas concentrations in air are amount fractions, so 400 ppm CO₂ means 400 µmol per mol of air. On a mass basis that is about 608 mg/kg, because CO₂ at 44.009 g/mol is heavier than air's average 28.96 g/mol, and reaching a per-litre figure needs temperature and pressure too.
Why does NIST discourage writing ppm at all?
NIST Special Publication 811 (section 7.10.3) says ppm, ppb and ppt are not acceptable for expressing quantities with the SI, because they depend on language: a billion is 10⁹ in English but 10¹² in several other languages. It recommends explicit ratios such as mg/kg, µL/L or µmol/mol instead, which also state the basis.
How do ppb and µg/L fit in?
On a mass basis 1 ppb is one microgram per kilogram, a thousandth of a ppm; divide a ppb value by 1,000 and enter it as ppm. Likewise µg/L divided by 1,000 is mg/L. Everything about density and reporting basis applies unchanged, only three orders of magnitude smaller.

References& sources.

  1. [1]NIST Special Publication 811, 2008 edition, section 7.10.3 'ppm, ppb, and ppt': 'the language-dependent terms part per million, part per billion, and part per trillion, and their respective abbreviations "ppm," "ppb," and "ppt" (and similar terms and abbreviations), are not acceptable for use with the SI to express the values of quantities.' Sections 8.6.5 and 8.6.7 define amount-of-substance concentration c_B = n_B/V and mass density ρ = m/V respectively. Retrieved 2026-07-29.
  2. [2]U.S. Environmental Protection Agency, National Primary Drinking Water Regulations (40 CFR Part 141), Inorganic Chemicals table: the maximum contaminant level for 'Nitrate (measured as Nitrogen)' is 10 mg/L, and for fluoride 4.0 mg/L. Consulted as an authority independent of NIST; it corroborates the guidance in practice, since the limit universally quoted in conversation as '10 ppm' is written by the regulator as a mass concentration in mg/L and further qualified by its measurement basis. This is the worked example on this page. Retrieved 2026-07-29.
  3. [3]IUPAC, 'Quantities, Units and Symbols in Physical Chemistry' (Green Book), 3rd edition, 2nd printing 2012, section 2.10 composition table: 'mass concentration, (mass density)' γ_B = m_B/V with SI unit kg m⁻³, and 'amount concentration, concentration' c_B = n_B/V with SI unit mol m⁻³ — establishing that mg/L and mol/L are distinct quantities linked only through the molar mass. Retrieved 2026-07-29.
  4. [4]NIST Chemistry WebBook, SRD 69 — Thermophysical Properties of Fluid Systems (IAPWS-95 formulation, Wagner & Pruß 2002). Queried at T = 298.15 K, p = 101.325 kPa on 2026-07-29; returns a liquid-phase density of 997.04764 kg/m³ for water, the source of this page's 0.99705 g/mL default.
  5. [5]IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW), Standard Atomic Weights 2021. Nitrogen is published as the interval [14.006, 14.008] with a conventional value of 14.007, which is this page's default; oxygen 15.999 gives M(NO₃⁻) = 62.004 g/mol and, with calcium 40.078 and carbon 12.011, M(CaCO₃) = 100.086 g/mol. Retrieved 2026-07-29.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
γ = p · ρ c = γ ⁄ (1000 · M) p = γ ⁄ ρ
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon