MolarMass logo
Accurate molar mass data for homework, exams & labs

Molar Mass Calculator, Formula & Compound List

What is Molar Mass?

Molar mass is the mass of one mole of a substance. It is expressed in grams per mole (g/mol).

It acts as a conversion factor between grams and moles, allowing you to convert between the amount of a substance and its mass.

How to use this calculator

  • Enter a formula (H2O) or a compound name (for example water or oxygen).
  • While typing a name, matching compounds appear in a list under the field (scroll if the list is long). On phones and tablets, close it with the X or by choosing a compound. On desktop, it also closes when you click elsewhere on the page.
  • Press Calculate or choose a quick example.
  • Read the final answer in g/mol and element-by-element breakdown.

Enter a valid formula or compound name (for example H2SO4 or Ca(OH)2).

For instant numbers, use the calculator above or practice with the Molar Mass Practice Worksheet.

Calculate molar mass quickly, review the element-by-element breakdown, and open compound pages for worked examples.

How to Calculate Molar Mass

1. Identify elements and subscripts

Read the formula and list each element with its atom count from subscripts and parentheses.

2. Find atomic masses

Use the periodic table for element atomic masses (amu) in the formula.

3. Multiply by atom counts

For each element, multiply atomic mass by the number of atoms of that element.

4. Sum to total molar mass

Add all contributions. Report the final value in g/mol (grams per mole).

Molar Mass Formula

Molar mass is calculated by adding the atomic masses of all atoms in a compound.

M = Σ (atomic mass × number of atoms)

CO2 → (1 × 12.01) + (2 × 16.00)

Ca(OH)2 → (1 × Ca) + (2 × O) + (2 × H)

Parentheses indicate that all atoms inside the group are multiplied by the subscript outside.

How can I find the molar mass of an element?

Find the element's atomic mass on the periodic table. That value is the molar mass in g/mol. For example, carbon has an atomic mass of 12.01, so its molar mass is 12.01 g/mol.

Remember the seven diatomic elements in their natural form: H2, N2, O2, F2, Cl2, Br2, and I2.

How can I find the molar mass of a chemical compound?

Add the masses of all atoms in the formula. Multiply each element's atomic mass by its atom count, including any counts affected by subscripts and parentheses.

Example: NaCl → (1 × 22.99) + (1 × 35.45) = 58.44 g/mol. Example: FeCl2 → (1 × 55.85) + (2 × 35.45) = 126.75 g/mol.

For grouped formulas such as Zn(NO3)2, multiply atoms inside parentheses by the outside subscript before adding each element's total mass.

Common Mistakes

  • Forgetting or misreading subscripts (for example H2O vs H2O2).
  • Using wrong or rounded-too-early atomic masses before the final sum.
  • Unit confusion: molar mass belongs in g/mol; watch mass vs moles in word problems.

Quick Reference

Molar mass vs molecular weight

In classroom chemistry they are often used the same way; molar mass is the standard term for values in g/mol.

Units of molar mass

Always g/mol (grams per mole) for molar mass in this site's tables and calculator output.

How to find molar mass quickly

List each element, multiply atomic mass by atom count, add once at the end—or enter the formula in the calculator.

Common Molar Mass Reference Chart (All Compounds)

#CompoundFormulaMolar mass
1WaterH2O18.02 g/mol
2Carbon DioxideCO244.01 g/mol
3Carbon MonoxideCO28.01 g/mol
4OxygenO232.00 g/mol
5OzoneO348.00 g/mol
6NitrogenN228.01 g/mol
7Nitric OxideNO30.01 g/mol
8Nitrogen DioxideNO246.01 g/mol
9Nitrous OxideN2O44.01 g/mol
10Sulfur DioxideSO264.06 g/mol
11Sulfur TrioxideSO380.06 g/mol
12ChlorineCl270.90 g/mol
13HydrogenH22.02 g/mol
14AmmoniaNH317.03 g/mol
15Hydrogen SulfideH2S34.08 g/mol
16Hydrofluoric AcidHF20.01 g/mol
17Hydrochloric AcidHCl36.46 g/mol
18Hydrobromic AcidHBr80.91 g/mol
19Hydroiodic AcidHI127.91 g/mol
20Nitric AcidHNO363.01 g/mol
21Sulfuric AcidH2SO498.07 g/mol
22Sulfurous AcidH2SO382.07 g/mol
23Phosphoric AcidH3PO497.99 g/mol
24Carbonic AcidH2CO362.02 g/mol
25Acetic AcidC2H4O260.05 g/mol
26Formic AcidHCOOH46.02 g/mol
27Sodium HydroxideNaOH40.00 g/mol
28Potassium HydroxideKOH56.11 g/mol
29Calcium HydroxideCa(OH)274.09 g/mol
30Magnesium HydroxideMg(OH)258.32 g/mol
31Sodium ChlorideNaCl58.44 g/mol
32Potassium ChlorideKCl74.55 g/mol
33Calcium ChlorideCaCl2110.98 g/mol
34Magnesium ChlorideMgCl295.21 g/mol
35Sodium CarbonateNa2CO3105.99 g/mol
36Sodium BicarbonateNaHCO384.01 g/mol
37Potassium CarbonateK2CO3138.20 g/mol
38Calcium CarbonateCaCO3100.09 g/mol
39Sodium SulfateNa2SO4142.04 g/mol
40Potassium SulfateK2SO4174.25 g/mol
41Calcium SulfateCaSO4136.13 g/mol
42Copper(II) SulfateCuSO4159.60 g/mol
43Silver NitrateAgNO3169.87 g/mol
44Sodium NitrateNaNO384.99 g/mol
45Potassium NitrateKNO3101.10 g/mol
46BenzeneC6H678.11 g/mol
47TolueneC7H892.14 g/mol
48MethanolCH3OH32.04 g/mol
49EthanolC2H6O46.07 g/mol
50PropanolC3H8O60.10 g/mol
51AcetoneC3H6O58.08 g/mol
52GlucoseC6H12O6180.16 g/mol
53SucroseC12H22O11342.30 g/mol
54StyreneC8H8104.15 g/mol
55Propionic AcidC3H6O274.08 g/mol
56MethaneCH416.04 g/mol
57EthaneC2H630.07 g/mol
58PropaneC3H844.10 g/mol
59ButaneC4H1058.12 g/mol
60PentaneC5H1272.15 g/mol
61HexaneC6H1486.18 g/mol
62HeptaneC7H16100.20 g/mol
63OctaneC8H18114.23 g/mol
64NonaneC9H20128.26 g/mol
65DecaneC10H22142.29 g/mol
66UndecaneC11H24156.31 g/mol
67DodecaneC12H26170.34 g/mol
68TridecaneC13H28184.37 g/mol
69TetradecaneC14H30198.39 g/mol
70PentadecaneC15H32212.42 g/mol
71HexadecaneC16H34226.45 g/mol
72HeptadecaneC17H36240.47 g/mol
73OctadecaneC18H38254.50 g/mol
74NonadecaneC19H40268.53 g/mol
75EicosaneC20H42282.56 g/mol
76HeneicosaneC21H44296.58 g/mol
77DocosaneC22H46310.61 g/mol
78TricosaneC23H48324.64 g/mol
79TetracosaneC24H50338.66 g/mol
80PentacosaneC25H52352.69 g/mol

509 compounds shown

How to write formulas (best format)

  • Use correct element symbols: one capital + optional lowercase (e.g. Na, Cl, Mg).
  • Put subscripts as digits after each symbol or group, e.g. H2SO4, Mg(OH)2.
  • Parentheses group atoms that repeat together, e.g. Ca(OH)2 (the digit after the closing parenthesis multiplies the whole group).

Why Molar Mass Matters

Students use molar mass to convert grams to moles in exam questions.

Lab work uses it to measure exact reactant amounts for accurate results.

It also helps check reaction balance and reduce calculation mistakes.

How Molar Mass is Used in Real Life

In chemistry labs, students use molar mass to decide exact sample quantities before reactions start. For example, preparing solutions for Sodium Chloride (NaCl) and Sulfuric Acid (H2SO4) always depends on molar-mass accuracy.

In medicine and industry, measured compounds are converted between grams and moles to keep dosage and production consistent. That is why molar mass is treated as a core skill, not just an exam topic.

The lightest possible chemical that one can have under normal conditions is hydrogen gas, or H2. There is no limit to how heavy a chemical compound can be - it is not uncommon for macromolecules (large organic or bioorganic compounds such as DNA) to weigh thousands of grams per mole.

Beginner Chemistry Guide

New to molar mass? Read the short definition, work through the step-by-step guide, then try Water (H2O), Carbon dioxide (CO2), or Sodium chloride (NaCl) from the chart above.

FAQ

What is a molar mass calculator used for?
A molar mass calculator helps convert a chemical formula into grams per mole using atomic mass values.
Are these values useful for stoichiometry?
Yes. Molar masses are foundational for stoichiometric conversions between grams and moles.
Can I navigate between related compounds easily?
Yes. Every compound page includes related compounds, same-element links, and category clusters.