Understanding science, for all. Home About
Novadette› 🧪 Chemistry› Reactions & Formulas› Molar Mass Calculator
🧪 Reactions & Formulas

Molar Mass Calculator

Type any chemical formula — including brackets and hydrates — to get its molar mass and the mass percentage of every element. Then convert between grams and moles.

StoichiometryCompositionMoles
Inputs
Input examples
Type _ for a subscript (H_2O gives H₂O); plain H2O works too. The keyboard button in the field has a chemistry tab with elements, subscripts and brackets. Type a formula such as Ca(OH)2 or CuSO4·5H2O (use ·, * or . for hydrates). Element symbols are case-sensitive: Co is cobalt, CO is carbon monoxide.
H_{2}SO_{4}
Mass ↔ moles — optional

What is Molar Mass?

The molar mass M is the mass of one mole of a substance — 6.022×1023 particles. Numerically it equals the sum of the atomic masses in the formula, expressed in grams per mole.

Molar mass is the bridge between what you can weigh (grams) and what reacts (numbers of particles). Every stoichiometry calculation starts by turning grams into moles with n = m / M.

H₂O18.015 g/mol
1 mol6.022×1023 particles
( )₂brackets multiply
·5H₂Owater of crystallisation

Mass Composition

H₂SO₄
Result
Enter a formula above

Common Compounds

CompoundFormulaM (g/mol)
WaterH₂O18.015
Carbon dioxideCO₂44.009
Table saltNaCl58.44
EthanolC₂H₅OH46.07
GlucoseC₆H₁₂O₆180.16
Sulfuric acidH₂SO₄98.07
Calcium carbonateCaCO₃100.09

Working with Formulas

Summing Atomic Masses

Multiply each element’s atomic mass by how often it appears, then add everything up. Atomic masses come from the periodic table.

Example: 
Mass Percentage

The share of the total mass that comes from one element — useful for analysing ores, fertilisers and empirical formulas.

Example: 
Grams to Moles

Divide a mass by the molar mass to count moles — the first step of every reaction calculation.

Example: 

Sources & Verification

References
  1. S. S. Zumdahl & S. A. Zumdahl, Chemistry, 10th ed., Cengage, 2018 — Ch. 3 (Stoichiometry).
  2. T. Prohaska et al., “Standard atomic weights of the elements 2021 (IUPAC Technical Report)”, Pure and Applied Chemistry 94(5), 573–600 (2022) — atomic weights.