PPM to Molarity Calculator
Enter a concentration in parts per million (ppm) and the molar mass of the dissolved substance to get the molar concentration in mol/L. Switch between ppm and ppb, adjust the solvent density for non-water solutions, reverse the calculation from molarity to ppm, and choose from common substances or enter any molar mass.
Formula
Worked example
Convert 1000 ppm of NaCl (molar mass 58.44 g/mol) in water (density 1.0 g/mL) to molarity: 1000 mg/L / (58.44 g/mol x 1000) = 0.01712 mol/L. Reverse: 0.01712 mol/L x 58.44 x 1000 = 1000 mg/L (1000 ppm).
What is ppm in chemistry?
Parts per million (ppm) expresses the concentration of a solute in a solution. For dilute aqueous solutions, 1 ppm is equivalent to 1 milligram of solute per litre of solution (1 mg/L), because water has a density of approximately 1 g/mL at room temperature. This approximation holds well for concentrations below about 10,000 ppm. Parts per billion (ppb) is a finer scale: 1 ppb = 1 microgram per litre (1 ug/L) = 0.001 ppm. Both units are widely used in water quality testing, environmental monitoring, and agricultural nutrient management.
The ppm to molarity formula
Molarity (mol/L) describes how many moles of solute are dissolved per litre of solution. Because ppm measures mass per volume and molarity measures amount (moles) per volume, you bridge the two with molar mass. The formula is: Molarity = concentration (mg/L) / (molar mass (g/mol) x 1000). The factor of 1000 converts grams to milligrams. For non-water solvents, multiply the ppm value by the solvent density (g/mL) before dividing, because the mass-per-volume relationship changes. To go in reverse (molarity to ppm): ppm (mg/L) = molarity (mol/L) x molar mass (g/mol) x 1000.
When to use this calculator
This tool is useful whenever you need to switch between mass-based and mole-based concentration scales. Common applications include: preparing standard solutions in analytical chemistry, interpreting water quality reports that list contaminants in ppm or ppb, dosing aquarium or hydroponics nutrients measured in ppm, converting spectrophotometric data that may be reported in mg/L to molar absorptivity calculations, and checking environmental limits that may be set in one unit while your measurements are in another. The density field matters most for organic solvents such as ethanol (0.789 g/mL) or acetone (0.791 g/mL), where the 1 g/mL water approximation would introduce noticeable error.
PPM vs molarity: choosing the right scale
Ppm and ppb are favoured in environmental science and water treatment because the concentrations involved are extremely low and a mass-per-volume unit communicates them more intuitively than a very small molarity. Molarity is preferred in laboratory chemistry because reaction stoichiometry is based on moles, not mass. The two scales become equivalent when you know the molar mass of the substance, which is why this calculator pairs the concentration input with a molar mass selector. A 1 mM solution of a heavy compound like calcium sulfate (136 g/mol) corresponds to 136 mg/L, whereas 1 mM of hydrochloric acid (36.46 g/mol) is only 36.46 mg/L, illustrating how the same molarity can mean very different ppm values depending on molar mass.
Common substance molar masses
| Substance | Formula | Molar mass (g/mol) | Application |
|---|---|---|---|
| Sodium chloride | NaCl | 58.44 | Water quality, saline solutions |
| Potassium chloride | KCl | 74.55 | Fertilizers, electrolyte solutions |
| Potassium nitrate | KNO3 | 101.1 | Fertilizers, food preservation |
| Calcium sulfate | CaSO4 | 136.14 | Water hardness, desiccants |
| Magnesium chloride | MgCl2 | 95.21 | De-icing, aquatics |
| Calcium chloride | CaCl2 | 110.98 | Water treatment, food additive |
| Sulfuric acid | H2SO4 | 98.08 | Industrial processes, batteries |
| Hydrochloric acid | HCl | 36.46 | Lab reagent, pH adjustment |
| Sodium hydroxide | NaOH | 40 | pH adjustment, saponification |
Reference molar masses for substances frequently converted between ppm and molarity.
Frequently asked questions
What does ppm mean in a water test?
In water quality testing, ppm means milligrams of the measured substance per litre of water (mg/L). It is interchangeable with mg/L because water has a density of approximately 1 g/mL, so 1 litre weighs about 1 kilogram. A reading of 50 ppm chloride, for example, means 50 mg of chloride ions per litre of the sample.
How do I convert ppm to moles per litre?
Divide the ppm value (in mg/L) by the molar mass of the substance (in g/mol) multiplied by 1000. The formula is: Molarity = ppm / (molar mass x 1000). For example, 1000 ppm of NaCl (molar mass 58.44 g/mol) gives 1000 / (58.44 x 1000) = 0.01712 mol/L.
Is 1 ppm the same as 1 mg/L?
For dilute aqueous solutions, yes. Since water has a density close to 1 g/mL (or 1 kg/L), 1 mg per litre equals 1 mg per kilogram, which is 1 part per million by mass. This equivalence becomes less accurate at high concentrations or when the solvent is not water.
How do I convert ppb to molarity?
First convert ppb to mg/L by dividing by 1000 (since 1 ppb = 0.001 mg/L). Then apply the standard formula: Molarity = mg/L / (molar mass x 1000). This calculator handles the ppb conversion automatically when you select ppb from the concentration unit dropdown.
Why do I need the molar mass to convert ppm to molarity?
Ppm measures mass (milligrams) per volume, while molarity measures moles per volume. To go from mass to moles you must divide by the molar mass of the substance. Different substances with the same ppm concentration will have different molarities because their molar masses differ. For instance, 100 ppm of HCl (36.46 g/mol) is about 2.74 mM, while 100 ppm of H2SO4 (98.08 g/mol) is only about 1.02 mM.
Does solvent density matter?
For water at 20-25 C the density is about 0.997-1.000 g/mL, so using 1.0 introduces less than 0.3% error. For other solvents, or for very accurate work, use the actual density. Ethanol, for example, has a density of 0.789 g/mL; failing to account for this would overestimate molarity by about 27%.