Molarity to mg/mL Calculator

Convert between molar concentration and mass concentration (mg/mL, µg/mL, g/L) using the molar mass of the solute.

Reviewed by M Talha, BS Chemistry · Last checked

Enter molar mass and one concentration

Find it with the molar mass calculator if you only know the formula.

Leave blank to convert mass concentration to molarity.

Leave blank to convert molarity to mass concentration.

How to use this calculator

Convert a molar concentration such as 0.1 M or 50 µM into a mass concentration such as mg/mL or µg/mL, or go the other way. Enter the molar mass of the solute, fill in one concentration and leave the other blank. Choose the units from the dropdowns; the calculator converts everything through mol/L and g/L and shows the substituted equation. Find the molar mass with the molar mass calculator if you only know the formula.

Calculation steps

  1. Enter the molar mass of the solute in g/mol.
  2. Enter the concentration you know, molarity or mass concentration, and choose its unit.
  3. Leave the other concentration blank and choose the unit you want the answer in.
  4. Calculate to see the converted value, the equivalents in other units and the substituted equation.

Formula and variables

Cmass=c×MrC_{\text{mass}} = c \times M_r, where CmassC_{\text{mass}} is the mass concentration in g/L, cc is the molarity in mol/L and MrM_r is the molar mass in g/mol. To go the other way, divide: c=CmassMrc = \frac{C_{\text{mass}}}{M_r}. Because 1 g/L=1 mg/mL1\ \text{g/L} = 1\ \text{mg/mL}, molarity multiplied by molar mass gives mg/mL directly.

Unit shortcuts

Matching prefixes cancel neatly: M×Mr=mg/mL\text{M} \times M_r = \text{mg/mL}, mM×Mr=μg/mL\text{mM} \times M_r = \mu\text{g/mL} and μM×Mr=ng/mL\mu\text{M} \times M_r = \text{ng/mL}. Also remember 1 mg/mL=1 g/L1\ \text{mg/mL} = 1\ \text{g/L} and 1 μg/mL=1 mg/L1\ \mu\text{g/mL} = 1\ \text{mg/L}. A 1% w/v solution contains 1 g per 100 mL, which is 10 mg/mL10\ \text{mg/mL}.

Worked example: molarity to mg/mL

A 0.100 M sodium chloride solution has Mr=58.44 g/molM_r = 58.44\ \text{g/mol}. Cmass=0.100 mol/L×58.44 g/mol=5.844 g/LC_{\text{mass}} = 0.100\ \text{mol/L} \times 58.44\ \text{g/mol} = 5.844\ \text{g/L}, which is 5.844 mg/mL5.844\ \text{mg/mL}.

Worked example: mg/mL to µM for a protein

A protein stock is 2.0 mg/mL and the protein has a molar mass of about 66,500 g/mol (66.5 kDa). c=2.0 g/L66,500 g/mol=3.01×10−5 mol/Lc = \frac{2.0\ \text{g/L}}{66{,}500\ \text{g/mol}} = 3.01 \times 10^{-5}\ \text{mol/L}, which is about 30 μM30\ \mu\text{M}. For proteins, a mass in daltons equals a molar mass in g/mol.

Worked example: g/mL to molarity

A glucose solution contains 0.0500 g of glucose per mL (5% w/v). Convert to 50.0 g/L50.0\ \text{g/L}, then divide by Mr=180.16 g/molM_r = 180.16\ \text{g/mol}: c=50.0180.16=0.278 mol/Lc = \frac{50.0}{180.16} = 0.278\ \text{mol/L}. Here g/mL means grams of solute per mL of solution, not the density of the solution.

Common mistakes and limitations

Use the molar mass of the exact form you weighed, including water of hydration. Do not confuse a solute concentration in g/mL with the density of the solution. Keep per-mL and per-L units straight: 1 mg/mL is 1,000 times larger than 1 mg/L. The conversion is exact for any solution because both concentrations are per unit volume of the same solution.

Frequently asked questions

How do you convert molarity to mg/mL?

Multiply the molarity in mol/L by the molar mass in g/mol. The result is in g/L, which is the same number in mg/mL.

How do you convert mg/mL to molarity?

Divide the mass concentration in mg/mL (equal to g/L) by the molar mass in g/mol. The result is the molarity in mol/L.

How do I convert µg/mL to µM?

Multiply µg/mL by 1,000 and divide by the molar mass in g/mol: μM=μg/mL×1000Mr\mu\text{M} = \frac{\mu\text{g/mL} \times 1000}{M_r}.

Is mg/mL the same as g/L?

Yes. One milligram per millilitre equals one gram per litre, because both the mass and the volume are scaled by 1,000.

Is a concentration in g/mL the same as density?

No. A concentration in g/mL counts only the dissolved solute, while density is the mass of the whole solution per mL.

Why do I need the molar mass?

Molarity counts moles and mass concentration counts grams. Molar mass is the conversion factor between moles and grams of the same substance.