Yes, 1 milligram per liter (mg/L) is exactly equal to 1 part per million (ppm) for dilute aqueous solutions at typical laboratory temperatures. This means the numeric value stays the same when you convert between the two units — you simply change the label. Below is a calculator that converts between mg/L, ppm, and molarity, followed by the background, formula, and practical details you need to use these units correctly.
Formula
The core relationship is:
ppm = mg/L (for water-based solutions with density ≈ 1 g/mL)
More formally, ppm is defined as:
ppm = (mass of solute / mass of solution) × 106
For a dilute aqueous solution, 1 L of solution has a mass very close to 1 kg (1000 g), so:
1 mg solute in 1 L solution = (0.001 g / 1000 g) × 106 = 1 ppm
Thus, the conversion is a 1:1 ratio for water and most dilute water-based solutions. The calculator above also computes molarity from mass, molar mass, and volume, using:
Molarity (mol/L) = mass (g) / (molar mass (g/mol) × volume (L))
where volume in liters = volume in mL ÷ 1000.
Worked Example
Using the default values in the calculator: you dissolve 0.002922 g (2.922 mg) of sodium chloride (NaCl, molar mass 58.44 g/mol) in enough water to make 1000 mL (1 L) of solution.
Step 1: Convert mass to grams: 0.002922 g (already in g).
Step 2: Convert volume to liters: 1000 mL ÷ 1000 = 1.000 L.
Step 3: Calculate molarity:
Molarity = 0.002922 g / (58.44 g/mol × 1.000 L) = 0.002922 / 58.44 = 5.000 × 10-5 mol/L = 0.000050 mol/L.
Step 4: Convert to millimolar: 0.000050 mol/L × 1000 = 0.0500 mM.
Step 5: Convert to ppm: since 1 mg/L = 1 ppm, 2.922 mg in 1 L = 2.922 ppm.
The calculator displays molarity as 0.000050 mol/L (or 5.000e-5) and millimolar as 0.0500 mM. The ppm value is the same as the mg/L value: 2.922 ppm.
Assumptions
- The solution is dilute (solute mass is negligible compared to solvent mass).
- The solvent is water at a temperature where density ≈ 1 g/mL (about 20–25 °C).
- For molarity, the solute is completely dissolved and the final volume is used (not the solvent volume).
- The molar mass is for the anhydrous form unless otherwise stated.
Why mg/L and ppm Are Often Treated as Equal
The equivalence comes from the definition of ppm as a mass ratio. One ppm means one part of solute per million parts of solution by mass. In water, 1 liter weighs about 1000 grams. Therefore, 1 milligram of solute in 1 liter of water is:
(0.001 g / 1000 g) × 1,000,000 = 1 ppm.
This works because the density of water is nearly 1 g/mL. For most environmental, agricultural, and laboratory applications—like measuring nitrate in drinking water, calcium in aquarium water, or chlorine in a swimming pool—the difference is negligible. However, the equivalence breaks down when the solvent is not water, or when the solution is concentrated enough that the solute significantly changes the solution’s density.
When mg/L and ppm Are Not the Same
If you are working with organic solvents (e.g., ethanol, hexane), the density is not 1 g/mL. For example, 1 mg of a substance in 1 L of ethanol (density 0.789 g/mL) gives a mass ratio of 1 mg / (1000 mL × 0.789 g/mL) = 1 mg / 789 g = 1.27 ppm, not 1 ppm. Similarly, in concentrated salt solutions or in soil/sediment measurements, ppm is based on mass of solid, not volume. In air, ppm is a volume ratio (μmol/mol), not a mass ratio, so mg/L and ppm are not interchangeable there.
Always check the context: for water analysis, mg/L = ppm is standard. For other matrices, you must convert using density.
How to Convert Between mg/L, ppm, and Molarity
To convert from mg/L to ppm: simply keep the number the same (for water). To convert from ppm to mg/L: same number. To convert from mg/L to molarity (mol/L):
- Divide mg/L by 1000 to get g/L.
- Divide by the molar mass (g/mol) to get mol/L.
Example: 58.44 mg/L NaCl = 0.05844 g/L ÷ 58.44 g/mol = 0.001000 mol/L = 1.000 mM.
To convert from molarity to mg/L: multiply molarity (mol/L) by molar mass (g/mol) and then by 1000 to get mg/L.
Example: 0.0500 mM NaCl = 0.0000500 mol/L × 58.44 g/mol = 0.002922 g/L = 2.922 mg/L = 2.922 ppm.
Common Mistakes and Pitfalls
- Assuming ppm always equals mg/L: Only true for dilute aqueous solutions. Check the solvent and concentration.
- Confusing ppm with ppb: 1 ppm = 1000 ppb. A small numeric error can be significant in trace analysis.
- Using volume instead of mass: In soil or sediment, ppm is usually mg of analyte per kg of solid, not per liter. Do not use mg/L unless you know the density.
- Forgetting to convert mL to L: In molarity calculations, volume must be in liters. Many errors come from using mL directly.
- Rounding too early: Keep extra digits during intermediate steps to avoid rounding errors in the final answer.
Practical Applications and Examples
Here are a few real-world situations where you might need this conversion:
- Water quality testing: A drinking water report says nitrate is 10 mg/L. That is 10 ppm, which is the EPA maximum contaminant level.
- Aquarium dosing: You add a calcium supplement to raise calcium by 20 mg/L. That is 20 ppm. Many test kits read in ppm.
- Hydroponics: Nutrient solutions are often measured in ppm. If a recipe calls for 150 ppm nitrogen, you can prepare a stock solution in mg/L.
- Laboratory prep: You need a 100 ppm standard solution of a metal. Weigh 100 mg of the metal, dissolve, and dilute to 1 L. That is 100 mg/L = 100 ppm.
Frequently Asked Questions
Is 1 mg/L always equal to 1 ppm?
In dilute aqueous solutions at room temperature, yes. Because 1 L of water weighs about 1 kg, 1 mg of solute per liter is a mass ratio of 1 mg per 1,000,000 mg, which is 1 ppm. For non-aqueous solvents or concentrated solutions, you must account for density.
How do I convert ppm to mg/L?
For water, the conversion is 1:1. So 5 ppm = 5 mg/L. For other liquids, multiply ppm by the density of the solution (in g/mL) to get mg/L. For example, if a solution has a density of 0.9 g/mL, then 10 ppm = 10 × 0.9 = 9 mg/L.
What is the difference between ppm and mg/L in air?
In air, ppm is a volume ratio (microliters of gas per liter of air), not a mass ratio. Therefore, mg/L and ppm are not directly equal. You need the molar volume and the molecular weight of the gas to convert between mass concentration and volume fraction.
Can I use this calculator for medication dosing?
No. This calculator is for general concentration arithmetic in study and lab planning. It must not be used for clinical or medication work. Always follow professional medical guidance for any substance given to humans or animals.
Why does my water test report say ppm but my lab uses mg/L?
They are the same unit for water. Many test kits and environmental agencies use ppm as a simpler label, while labs often use mg/L because it is directly measurable by mass and volume. No conversion is needed for water samples.