Convert g/L to mol/L (molarity) using a substance’s molar mass, find total moles in a volume, convert grams to moles, or reverse the conversion.

Presets are average molar masses. Match the exact chemical form (e.g. anhydrous vs hydrate) or choose Custom.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Molarity from g/LConverts a mass concentration to mol/L or mmol/LRequires the mass concentration and the substance or its molar mass
Total moles from g/L and volumeFinds the moles of solute in a given volume of solutionRequires the mass concentration, the solution volume and the substance or its molar mass
Mass concentration from molarityConverts mol/L or mmol/L to g/L, mg/L, kg/mยณ, mg/mL or g/mLRequires the amount concentration and the substance or its molar mass
Molar mass from concentrationsFinds the molar mass that links a mass concentration to a molarityRequires the mass concentration and the amount concentration of the same solution
Moles from gramsConverts a mass of a substance to molesRequires the mass and the substance or its molar mass

The substance list holds eight molar masses in g/mol: sodium chloride 58.443, sodium hydroxide 39.997, hydrochloric acid 36.461, potassium chloride 74.551, glucose 180.156, sucrose 342.297, ethanol 46.069 and water 18.0153 [2]. Custom substance takes any molar mass in g/mol or kg/mol. Mass concentration can be entered in g/L, mg/L, kg/mยณ, mg/mL or g/mL, amount concentration in mol/L or mmol/L, and volume in L, mL or mยณ.

g/L to Moles Formulas

c = C รท M [1]
cAmount concentration, or molarity (mol/L)
CMass concentration (g/L)
MMolar mass of the substance (g/mol)

Molarity from g/L

A g/L figure is grams of solute per litre and molarity is moles per litre, so dividing by the molar mass converts one to the other [1]. Sodium chloride at 10 g/L is 10 รท 58.443 = 0.171107 mol/L, or 171.107 mmol/L. There is no fixed g/L to mol/L factor: the same 10 g/L of glucose is only 0.055507 mol/L.

Total moles from g/L and volume

n = C ร— V รท M

n is the amount of substance in moles and V is the solution volume in litres. Two litres of 10 g/L sodium chloride hold 10 ร— 2 รท 58.443 = 0.342214 mol. A volume in litres converts to moles only together with a concentration, which is why this function asks for both.

Mass concentration from molarity

C = c ร— M

A 0.5 mol/L glucose solution contains 0.5 ร— 180.156 = 90.078 g/L.

Molar mass from concentrations

M = C รท c

A solution measured at 90.078 g/L and 0.5 mol/L has a solute with a molar mass of 90.078 รท 0.5 = 180.156 g/mol. Both concentrations must be greater than zero.

Moles from grams

n = m รท M [1]

m is the mass in grams, and no volume is needed [1]. 25 g of sodium chloride is 25 รท 58.443 = 0.427767 mol, or 427.767 mmol.

Limits of This Estimate

  • The molar mass has to match the exact chemical form. A hydrate weighs more per mole than the anhydrous salt, so the same g/L gives a lower molarity.
  • Preset molar masses are standard values rounded to three decimals [2]. For work that needs more digits, enter the molar mass as a custom substance.
  • Litres in every formula are litres of finished solution, not of solvent added. A g/L value measured at one temperature shifts slightly at another because the solution volume changes.

Sources

  1. NIST, Guide for the Use of the International System of Units (SP 811), Chapter 8: amount of substance from mass and molar mass, amount concentration and mass concentration
  2. NIST Chemistry WebBook, SRD 69: molecular weights of the eight preset substances