Convert between ppm (parts per million) and molarity for a solute using its molar mass and the solution density. Also converts to mg/L, which approximates ppm for dilute aqueous solutions.
Inputs
Solute concentration in parts per million (ppm), by mass.
Grams per mole (g/mol) — read from the periodic table or a Molar Mass calculator.
Grams per milliliter (g/mL). Dilute aqueous solutions are close to 1.0.
Common solutes (sets molar mass)
Result
—
Enter a ppm concentration, molar mass, and solution density to compute molarity.
mg/L—
Inputs
Solute concentration in moles per liter (mol/L, M).
Grams per mole (g/mol).
Grams per milliliter (g/mL). Dilute aqueous solutions are close to 1.0.
Result
—
Enter a molarity, molar mass, and solution density to compute ppm.
mg/L—
Convert ppm and mg/L
Concentration in parts per million (ppm), by mass.
Concentration in milligrams per liter of solution (mg/L).
Grams per milliliter (g/mL). Dilute aqueous solutions are close to 1.0, which is why ppm approx mg/L there.
Result
—
Enter the known value and solution density to convert.
4 min read3 steps7 terms3 examples6 FAQsM = (ppm x density) / (1000 x molar mass)
Parts per million (ppm) and molarity (mol/L) both describe how concentrated a solution is, but they measure fundamentally different things — one is a mass ratio, the other counts moles per volume.
📋
Walk-through
How to Use This Calculator
3 steps▸
1
Pick a direction
Use the PPM → Molarity tab if you know a concentration in parts per million and want moles per liter. Use Molarity → PPM to go the other way. Use the mg/L tab to convert between ppm and milligrams per liter directly, without needing a molar mass.
2
Enter the concentration, molar mass, and density
Type in the known concentration, the solute's molar mass (g/mol, from the periodic table or a preset chip), and the solution's density (g/mL). Dilute aqueous solutions default to 1.0 g/mL — override it for concentrated or non-aqueous solutions.
3
Read the result
The result card shows the converted concentration along with the equivalent in mg/L. The interpretation line restates the calculation in plain language, including how far ppm and mg/L diverge at the density you entered.
⚡
Reference
Formula & Methodology
1 formula▸
PPM to molarity
M = (ppm x density) / (1000 x molar mass)
Molarity (M, mol/L) equals ppm (mass concentration, effectively mg solute per kg of solution) multiplied by the solution density (g/mL), divided by 1000 times the molar mass (g/mol). Rearranged, ppm = (M x 1000 x molar mass) / density. mg/L, a common intermediate unit, equals ppm x density — for dilute aqueous solutions where density is close to 1.0 g/mL, mg/L and ppm are nearly identical.
📖
Glossary
Key Terms Explained
7 terms▸
ppm (parts per million) ↗A mass-basis concentration unit equal to milligrams of solute per kilogram of solution (or, equivalently, 1 part solute per 1,000,000 parts solution by mass). It is unit-independent of solution volume.
Molarity (M) ↗Moles of solute per liter of solution (mol/L). Unlike ppm, molarity depends on the solution's volume, which is why the conversion needs the solution's density.
Molar mass ↗The mass of one mole of a substance, in grams per mole (g/mol) — read from the periodic table for elements or summed from atomic masses for compounds.
Solution density ↗Mass per unit volume of the whole solution, in grams per milliliter (g/mL). Dilute aqueous solutions are close to 1.000 g/mL; concentrated solutions and non-aqueous solvents can differ noticeably.
mg/L (milligrams per liter) ↗A mass-per-volume concentration unit. For dilute aqueous solutions (density approx 1 g/mL), mg/L is numerically close to ppm — but they are only exactly equal when density equals exactly 1.000 g/mL.
Dilute solution ↗A solution with a low solute concentration, where the solution's density is dominated by the solvent (usually water) and stays close to the pure solvent's density.
Analyte ↗The specific substance being measured or converted — for example, chloride, nitrate, or a dissolved metal in a water-quality test.
👥
Scenarios
Real-World Examples
3 worked examples▸
🧂
Water-quality technician
Converting a lab-reported ppm reading to molarity
Concentration 100 ppm (NaCl)Molar mass 58.44 g/molSolution density 1.0 g/mL
100 ppm NaCl at a density of 1.0 g/mL gives (100 x 1.0) / (1000 x 58.44) = 0.001711 mol/L (about 1.71 mmol/L) — equivalently 100 mg/L, since density is exactly 1.0.
🔁
Chemistry student
Going the other direction, from a target molarity
Molarity 0.001711 mol/LMolar mass 58.44 g/molSolution density 1.0 g/mL
0.001711 mol/L x 1000 x 58.44 g/mol / 1.0 g/mL = 100 ppm — the exact reverse of the first example, confirming the round trip.
🧪
Analytical chemist
A concentrated, non-aqueous solution where density matters
Concentration 500 ppmMolar mass 40.0 g/molSolution density 1.25 g/mL
At a density of 1.25 g/mL, 500 ppm gives (500 x 1.25) / (1000 x 40.0) = 0.015625 mol/L — and mg/L is 500 x 1.25 = 625 mg/L, noticeably higher than the ppm value because the solution is denser than water.
🔗
Reference
Cite This Calculator
APA & MLA▸
Use either format to cite this calculator in a paper, report, or resource list.
Parts per million (ppm) and molarity (mol/L) both describe how concentrated a solution is, but they measure fundamentally different things — one is a mass ratio, the other counts moles per volume. Converting between them requires two extra pieces of information most people forget: the solute's molar mass and the solution's density.
How the PPM to Molarity Calculator works
▸
The calculator applies M = (ppm x density) / (1000 x molar mass), where ppm is treated as milligrams of solute per kilogram of solution, density is the solution's density in g/mL, and molar mass is in g/mol. The density term converts a mass-basis concentration into a volume-basis one, and the molar mass term converts mass into moles. The mg/L tab isolates just the mass-to-volume step: mg/L = ppm x density, which is the intermediate value used inside the full formula.
Why ppm and mg/L aren't always the same
▸
A widely repeated shortcut says "ppm equals mg/L," and for dilute aqueous solutions — where density is within a fraction of a percent of 1.000 g/mL — that shortcut is accurate enough for most purposes. But it breaks down for concentrated solutions, brines, or non-aqueous solvents, where density can differ from 1.0 g/mL by 10-30% or more. This calculator keeps density as an explicit input rather than assuming it, so the mg/L conversion stays accurate outside the dilute-water case.
Inputs and what they mean
▸
Molar mass should reflect the specific ion or compound being measured — for example, nitrate as NO3- (62.00 g/mol) versus nitrate as N (14.01 g/mol) give very different molarities from the same ppm reading, which is a common source of error in water-quality reporting. Always confirm which basis a lab result uses before converting. Solution density defaults to 1.0 g/mL for convenience, but should be measured or looked up for anything beyond a dilute aqueous solution.
Limits and edge cases
▸
This calculator assumes the solute is fully dissolved and does not account for ionic dissociation — a salt like NaCl that splits into Na+ and Cl- in solution has two ions per formula unit, so the molarity of the compound and the molarity of each ion differ by a dissociation factor this tool does not compute. It also does not correct for temperature-dependent density changes. For freshwater and drinking-water contexts specifically, see the Water Hardness calculator, which works directly in ppm and mg/L as CaCO3.
❓
Questions
Frequently Asked Questions
6 questions▸
What is the formula for converting ppm to molarity?+
Molarity (M) equals ppm multiplied by the solution density (g/mL), divided by 1000 times the molar mass (g/mol): M = (ppm x density) / (1000 x molar mass). To go the other direction, ppm = (M x 1000 x molar mass) / density.
Is ppm the same as mg/L?+
Only approximately, and only for dilute aqueous solutions. mg/L = ppm x density, so when the solution's density is very close to 1.000 g/mL (as with dilute water-based solutions), ppm and mg/L are numerically almost identical. For concentrated or non-aqueous solutions, they can differ significantly.
What density should I use if I don't know it?+
For dilute aqueous solutions (most drinking-water and environmental-monitoring contexts), 1.0 g/mL is a reasonable default and is what the calculator uses unless you change it. For anything more concentrated, brines, or organic solvents, look up or measure the actual solution density for an accurate conversion.
Can I convert in both directions?+
Yes — the PPM → Molarity tab solves for molarity from a known ppm, and the Molarity → PPM tab reverses it. The mg/L tab handles the mass-to-volume conversion on its own, without needing a molar mass, and can solve for either ppm or mg/L.
What units does this calculator expect?+
ppm is unitless (parts per million by mass), molarity is in moles per liter (mol/L), molar mass is in grams per mole (g/mol), density is in grams per milliliter (g/mL), and mg/L is milligrams per liter.
Do I need to know the molar mass?+
Yes, for the PPM → Molarity and Molarity → PPM tabs — molarity is a mole-based unit, so converting to or from it always requires the solute's molar mass. The mg/L tab does not need molar mass, since it only converts a mass-basis concentration using density.
📄
Save & share
Get a branded PDF of your results
Download a one-page PDF of your numbers instantly. Add your email to also get our occasional calculator tips — no spam, unsubscribe anytime. Privacy.