Convert g/mL to molarity (mol/L) by picking a common solute such as NaCl or glucose, or enter any molar mass; also solves g/mL or molar mass.

Grams of solute per mL of final solution, not the solution’s density.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Molarity from g/mLConverts a solute mass concentration to molarityRequires the mass concentration and a solute from the list, or a molar mass for another solute
g/mL from molarityConverts a molarity to a solute mass concentrationRequires the molarity and the solute molar mass
Molar mass from g/mL and molarityFinds the molar mass that links a mass concentration to a molarityRequires the mass concentration and the molarity, both above zero

Mass concentration can be entered or shown in g/mL, kg/m³ or lb/ft³, molarity in mol/L, mol/m³ or mol/ft³, and molar mass in g/mol, kg/mol or lb/mol. Every result also lists the mass concentration in g/L, the molarity in mol/L and the molar mass used.

g/mL to Molarity Formulas

c = 1000 × C ÷ M [1]
cMolarity (mol/L)
CMass of solute per volume of solution (g/mL)
MMolar mass of the solute (g/mol)

Mass concentration is mass of solute over volume of solution, amount concentration is moles over the same volume, and molar mass is mass per mole [1], so dividing the first by the molar mass gives the second. The 1,000 turns g/mL into g/L.

Molarity from g/mL

The solute list supplies the molar mass. The values are the standard molecular weights rounded to two decimals [2]. A solution holding 0.10 g of solute per mL converts as follows.

SoluteMolar mass (g/mol)0.10 g/mL equals
Sodium chloride58.441.7112 mol/L
Potassium chloride74.551.3414 mol/L
Glucose180.160.555062 mol/L
Sucrose342.300.292141 mol/L
Hydrogen chloride36.462.7427 mol/L
Acetic acid60.051.6653 mol/L
Ethanol46.072.1706 mol/L

For sodium chloride, 1000 × 0.10 ÷ 58.44 = 1.7112 mol/L. Choosing Other solute opens a molar mass field: 0.05 g/mL of a solute of 98.08 g/mol is 0.509788 mol/L.

g/mL from molarity

C = c × M ÷ 1000

A 1 mol/L sodium chloride solution holds 1 × 58.44 ÷ 1000 = 0.05844 g/mL, and 0.5 mol/L glucose holds 0.09008 g/mL. This function has no solute list, so the molar mass is typed in.

Molar mass from g/mL and molarity

M = 1000 × C ÷ c

A solution measured at 0.09 g/mL and 0.5 mol/L implies a solute of 1000 × 0.09 ÷ 0.5 = 180 g/mol. Both concentrations must be above zero, because a zero in either leaves the molar mass undefined.

Limits of This Estimate

  • The g/mL figure is grams of solute per mL of finished solution. The density of the solution, which also counts the solvent, gives a wrong molarity if entered here.
  • The preset molar masses are rounded and describe the plain compound. A hydrate, a salt form or an isotopically labelled compound needs its own molar mass.
  • The arithmetic does not check solubility. The converter returns a number for any entry, including a concentration no real solution of that solute can reach.

Sources

  1. NIST Special Publication 811, Sections 8.6.4 and 8.6.5: definitions of molar mass, mass concentration and amount-of-substance concentration
  2. NIST Chemistry WebBook, species pages: molecular weights of the seven listed solutes