Molarity Calculator

Molarity Calculator

Choose what you want to find, type the chemical formula (or the molar mass) and the two values you know. The calculator works out the molar mass from IUPAC standard atomic weights, the moles, and the missing mass, volume or concentration — with the working shown.

Case matters: Co is cobalt, CO is carbon monoxide. Hydrates: CuSO4·5H2O (a period or * also works).
Leave empty to use the formula. Type a value for a protein, polymer or mixture.
Mass unit
The final volume of the solution, not the volume of water you add.
Volume unit
Concentration unit
Molarity (mol/L)1
Amount of substance (mol)0.5
Molar mass (g/mol)58.44
Mass of solute (g)29.22
Volume of solution (mL)500
Molarity (mmol/L)1,000
Mass concentration (g/L)58.44

n = m ÷ M = 29.22 g ÷ 58.44 g/mol = 0.5 mol; c = n ÷ V = 0.5 mol ÷ 0.5 L = 1 mol/L.

Molar mass by element
ElementAtomsAtomic weightg/molMass %
Na122.9897722.9939.34%
Cl135.4535.4560.66%

Calculated on your device · formulas checked against known results · How we test

How to use the molarity calculator

Pick what you want to find. Molarity needs the mass you dissolved and the final volume of the solution. Mass of solute tells you how much to weigh for a target concentration and volume — the most common lab task. Volume tells you how far to fill up a given mass, and molar mass works backwards from a solution of known concentration. The last mode turns the mass percent and density printed on a bottle of concentrated acid or ammonia into molarity.

Type the formula of the solute and the calculator finds its molar mass. It understands brackets (Ca(OH)2, Al2(SO4)3, [Cu(NH3)4]SO4), hydrates written with a dot (CuSO4·5H2O, MgSO4·7H2O — a period or an asterisk works too) and subscript digits pasted from a document (H₂SO₄). Capital letters matter: Co is cobalt but CO is carbon monoxide. For a protein, a polymer or a reagent sold as a mixture, type its molar mass (from the label or certificate) into the optional field instead.

The formulas

Molarity is the amount of substance per liter of solution: c = n ÷ V, in mol/L (the symbol M). The amount comes from the mass: n = m ÷ M, where M is the molar mass in g/mol. Together they give m = c × V × M — the mass to weigh — and every other arrangement the calculator uses. The volume is the volume of the finished solution, not the volume of water you start with: dissolving a solid changes the volume, which is why solutions are made up to the mark in a volumetric flask.

For a concentrated reagent, one liter weighs 1000 × ρ grams, and the mass percent w of that is solute, so c = w × 10 × ρ ÷ M (w in %, ρ in g/mL). Hydrochloric acid at 37% with a density of 1.19 g/mL is 37 × 10 × 1.19 ÷ 36.458 ≈ 12.08 mol/L.

Worked examples

Molar mass, molecular weight and units

Molar mass in g/mol is numerically equal to the relative molecular mass (molecular weight, formula weight) printed on reagent labels. One mmol/L (mM) is a thousandth of a mol/L and one µmol/L (µM) a millionth; g/L equals mg/mL. The table under the result splits the molar mass by element, with each element's share by mass — handy for checking a formula or for elemental composition.

Atomic weights used

The calculator uses the standard atomic weights of the IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW, Atomic Weights 2021, with the 2024 revisions of gadolinium, lutetium and zirconium). Elements whose atomic weight varies in nature, such as hydrogen, carbon, oxygen and chlorine, use IUPAC's conventional values. Elements in brackets have no standard atomic weight; the mass number of their longest-lived isotope is used, as on periodic tables.

ZSymbolAtomic weightZSymbolAtomic weight
1H1.00847Ag107.8682
2He4.00260248Cd112.414
3Li6.9449In114.818
4Be9.012183150Sn118.71
5B10.8151Sb121.76
6C12.01152Te127.6
7N14.00753I126.90447
8O15.99954Xe131.293
9F18.99840316255Cs132.90545196
10Ne20.179756Ba137.327
11Na22.9897692857La138.90547
12Mg24.30558Ce140.116
13Al26.981538459Pr140.90766
14Si28.08560Nd144.242
15P30.97376199861Pm[145]
16S32.0662Sm150.36
17Cl35.4563Eu151.964
18Ar39.9564Gd157.249
19K39.098365Tb158.925354
20Ca40.07866Dy162.5
21Sc44.95590767Ho164.930329
22Ti47.86768Er167.259
23V50.941569Tm168.934219
24Cr51.996170Yb173.045
25Mn54.93804371Lu174.96669
26Fe55.84572Hf178.486
27Co58.93319473Ta180.94788
28Ni58.693474W183.84
29Cu63.54675Re186.207
30Zn65.3876Os190.23
31Ga69.72377Ir192.217
32Ge72.6378Pt195.084
33As74.92159579Au196.96657
34Se78.97180Hg200.592
35Br79.90481Tl204.38
36Kr83.79882Pb207.2
37Rb85.467883Bi208.9804
38Sr87.6284Po[209]
39Y88.90583885At[210]
40Zr91.22286Rn[222]
41Nb92.9063787Fr[223]
42Mo95.9588Ra[226]
43Tc[97]89Ac[227]
44Ru101.0790Th232.0377
45Rh102.9054991Pa231.03588
46Pd106.4292U238.02891

Tips for accurate solutions

Frequently asked questions

How do I calculate molarity?

Divide the moles of solute by the liters of solution: c = n ÷ V. If you know the mass, first find the moles with n = m ÷ M, using the molar mass from the formula.

How many grams do I need for a 1 M solution?

For one liter, weigh the molar mass in grams: 58.44 g of NaCl or 40.00 g of NaOH, dissolved and filled up to 1 L. For other volumes and concentrations use m = c × V × M.

How do I enter a hydrate like CuSO4·5H2O?

Type the dot (·), a period or an asterisk between the salt and the water: CuSO4·5H2O, CuSO4.5H2O or CuSO4*5H2O all give 249.68 g/mol.

What is the difference between molarity and molality?

Molarity is moles per liter of solution; molality is moles per kilogram of solvent. For dilute water solutions near room temperature the two are close.

How do I convert % and density to molarity?

Choose "Molarity from mass % and density": c = w × 10 × ρ ÷ M. For 96% sulfuric acid with a density of 1.84 g/mL that is about 18 mol/L.

Embed this calculator on your website

Free for any website or blog. Paste this code where you want the calculator to appear:

All free calculator widgets

Last updated: October 19, 2026

Menu

Categories

Finance Calculators31 calculatorsBusiness & Shopping Calculators9 calculatorsHealth & Fitness Calculators16 calculatorsMath & School Calculators25 calculatorsDate & Time Calculators21 calculatorsHoliday Countdowns17 calculatorsEveryday Tools57 calculatorsMic, Camera & Sound Tools13 calculatorsDeveloper Tools11 calculatorsImage & PDF Tools23 calculatorsEngineering Calculators7 calculators

CalcWorthy

AboutContactPrivacy PolicyTerms of Use

Language

Language
EnglishEnglishالعربيةArabicবাংলাBanglaDeutschGermanEspañolSpanishفارسیPersianFrançaisFrenchעבריתHebrewहिन्दीHindiBahasa IndonesiaIndonesianItalianoItalian日本語Japanese한국어KoreanBahasa MelayuMalayNederlandsDutchPolskiPolishPortuguêsPortugueseРусскийRussianไทยThaiTürkçeTurkishУкраїнськаUkrainianاردوUrduTiếng ViệtVietnamese简体中文Simplified Chinese