g/L to Molarity Calculator

g/L to Molarity Calculator

Leading AI Skill PRO

Enter Calculation

Formula

Molarity (mol/L)=Concentration (g/L)Molar Mass (g/mol)\text{Molarity (mol/L)} = \frac{\text{Concentration (g/L)}}{\text{Molar Mass (g/mol)}}

Example

Molarity (mol/L)=1058.44≈0.171116\text{Molarity (mol/L)} = \frac{10}{58.44} \approx 0.171116
Usage stats

Advertisement

Results

Molar Concentration
0.171116
mol/L (M)
In millimolar 171.116 mM

Report an error on this page

What Is the g/L to Molarity Calculator?

This calculator converts a mass concentration expressed in grams per liter (g/L) into molarity, the standard chemistry unit of concentration measured in moles per liter (mol/L, also written M). Because molarity counts the number of molecules rather than their total mass, you need to know the molar mass (molecular weight) of the substance to make the conversion. This is a universal chemistry tool and applies anywhere.

How to Use It

Enter the concentration of your solution in grams per liter, then enter the molar mass of the dissolved compound in grams per mole. The calculator divides the two and returns the molarity in mol/L, plus a convenient millimolar (mM) value for dilute solutions. Molar masses can be found on a chemical's label or calculated by summing the atomic weights of each element in the formula.

The Formula Explained

The conversion uses a single relationship: $$\text{M} = \frac{\text{g/L}}{\text{MW}}$$ The numerator is how many grams of solute sit in one liter of solution, and the molar mass tells you how many grams make up one mole. Dividing converts mass into moles, giving moles per liter.

Advertisement
Diagram showing mass concentration divided by molar mass equals molarity
Molarity equals mass concentration (g/L) divided by molar mass (g/mol).

Worked Example

Suppose you dissolve sodium chloride (NaCl) to a concentration of 10 g/L. NaCl has a molar mass of about 58.44 g/mol. $$\text{Molarity} = \frac{10}{58.44} = 0.1711 \text{ mol/L}$$ or roughly 171.1 mM. That is a typical physiological-strength salt solution.

Advertisement
Worked example converting grams per liter to molarity with numbers
A worked example: dividing g/L by molar mass to find mol/L.

Common Molar Masses of Lab Compounds

Use these molar masses (g/mol) as the divisor when converting g/L to mol/L. Values are rounded to two decimals and are for the anhydrous forms listed. Hydrated salts (for example MgSO4·7H2O) have a higher molar mass, so check the label on your reagent bottle.

Compound Formula Molar mass (g/mol)
Sodium chloride NaCl 58.44
Potassium chloride KCl 74.55
Glucose C6H12O6 180.16
Sucrose C12H22O11 342.30
Sodium hydroxide NaOH 40.00
Hydrogen chloride (hydrochloric acid) HCl 36.46
Sulfuric acid H2SO4 98.08
Calcium chloride (anhydrous) CaCl2 110.98
Sodium bicarbonate NaHCO3 84.01
Tris base C4H11NO3 121.14
Magnesium sulfate (anhydrous) MgSO4 120.37
Potassium dihydrogen phosphate KH2PO4 136.09

FAQ

What is molar mass? It is the mass of one mole of a substance in grams, equal to the sum of the atomic masses of all atoms in its formula.

How do I convert molarity back to g/L? Multiply molarity by molar mass: \(\text{g/L} = \text{M} \times \text{MW}\).

Why show millimolar? Many biological and lab solutions are dilute, so mM (one-thousandth of a mole per liter) is a more readable unit.

Last updated:

Most popular in Chemistry

View all Chemistry calculators