Skip to content
Chemistry

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.

Your details

Choose whether to calculate molarity from ppm, or ppm from molarity.
ppm = mg of solute per litre of solution (assuming water density ~1 g/mL). ppb = micrograms per litre.
Mass concentration of the solute expressed in the selected unit.
ppm
Select a common substance or choose Custom to enter any molar mass.
Density of the solvent at the measurement temperature. Water at 25 C is 0.997 g/mL (use 1.0 for most practical purposes). Adjust for non-aqueous solvents.
g/mL
Choose the unit for the molarity result.
Molarity
0.017112

Molar concentration of the solution

Molarity unitmol/L
Concentration1,000
Concentration unitppm (mg/L)
mg/L (ppm equivalent)1,000
g/L1
Molar mass used58.44g/mol
1,000 mg/L
Very dilute<250Moderate250-1000Concentrated1000-5000High5000+
00.090.17100505010000
Concentration (ppm)

Molarity: 0.017112 mol/L

  • The solution contains 1000.0000 mg of sodium chloride (NaCl) per litre (1000.0000 ppm equivalent).
  • This sodium level is within the range typical of drinking water (up to 1000 mg/L).
  • ppm (mg/L) was converted to mol/L.
  • The ppm-to-molarity formula assumes dilute aqueous solutions. If the solvent is not water or the solution is concentrated, adjust the density field.

Next stepTo prepare this solution from a solid, multiply molarity (mol/L) by your target volume (L) to get moles, then multiply by molar mass to get the mass of solute needed.

Formula

Cmol/L=Cppm×ρsolventMw×1000Cppm=Cmol/L×Mw×1000C_{\text{mol/L}} = \dfrac{C_{\text{ppm}} \times \rho_{\text{solvent}}}{M_{\text{w}} \times 1000} \qquad C_{\text{ppm}} = C_{\text{mol/L}} \times M_{\text{w}} \times 1000

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

SubstanceFormulaMolar mass (g/mol)Application
Sodium chlorideNaCl58.44Water quality, saline solutions
Potassium chlorideKCl74.55Fertilizers, electrolyte solutions
Potassium nitrateKNO3101.1Fertilizers, food preservation
Calcium sulfateCaSO4136.14Water hardness, desiccants
Magnesium chlorideMgCl295.21De-icing, aquatics
Calcium chlorideCaCl2110.98Water treatment, food additive
Sulfuric acidH2SO498.08Industrial processes, batteries
Hydrochloric acidHCl36.46Lab reagent, pH adjustment
Sodium hydroxideNaOH40pH 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%.

Sources

Written by Dr. Sofia Marchetti, PhD Chemist · Milan, Italy

Physical chemist and laboratory educator bringing rigorous solution science to accessible, accurate online tools.

Search 3,500+ calculators

Loading search…