Molecular Mass & Molar Weight

Chemical Formula
Example Compounds
Molar Mass Unit
Relative Molar Mass
Unit
Mass Composition

Need the molar mass fast and without drama? This molar mass calculator guide walks you through the math, shows how to parse formulas, and gives real examples you can copy into the tool. You will get the molar mass in grams per mole and in kilograms per kilomole, plus a breakdown of each element’s contribution.

How molar mass is computed

The idea is simple. Count atoms, multiply by atomic masses, and add everything up. The formula is:

M = n₁ × A₁ + n₂ × A₂ + n₃ × A₃ + …

Here M is the molar mass, ni is the number of atoms of element i, and Ai is the atomic mass for that element in grams per mole. The calculator parses your formula, recognizes groups and multipliers, and reports the sum plus a per-element mass share chart.

Step by step example with real numbers

Example: sulfuric acid formula H2SO4. Count atoms and substitute the atomic masses from the reference table.

Atomic masses used:

  • H = 1.00794 g/mol
  • S = 32.065 g/mol
  • O = 15.999 g/mol

Compute contributions:

Hydrogen: 2 × 1.00794 = 2.01588 g/mol

Sulfur: 1 × 32.065 = 32.06500 g/mol

Oxygen: 4 × 15.999 = 63.99600 g/mol

Total M = 2.01588 + 32.06500 + 63.99600 = 98.07688 g/mol

The calculator formats this number as 98.077 g/mol and also shows 98.077 kg/kmol if you prefer that unit.

Parsing tricks and nested groups

Complex formulas often include brackets and hydration dots. The parser understands common forms such as hydrates and nested multipliers. Examples below show how the tool handles them and gives the numeric breakdown.

Example: magnesium sulfate heptahydrate MgSO4·7H2O

Breakdown

  • Mg: 1 × 24.305 = 24.305
  • S: 1 × 32.065 = 32.065
  • O (from sulfate): 4 × 15.999 = 63.996
  • Water part: 7 × (2 × 1.00794 + 1 × 15.999) = 7 × 18.01588 = 126.11116

M = 24.305 + 32.065 + 63.996 + 126.11116 = 246.47716 g/mol

What the calculator returns

You get the molar mass in g per mole and kg per kilomole, a table with atom counts, each element’s mass contribution and mass fraction, and a small pie chart showing the composition visually. There is an export to PNG for notes and reports.

👉 Atomic masses in the tool are average values that reflect natural isotopic mixes. For analytical work use isotopically resolved masses from lab reference tables. Be careful with charged species and radicals. If a formula includes a net charge or free radical notation, the atomic mass sum is the same but watch the chemical context for stoichiometry. For elemental formulas include explicit numbers for implied counts. For hydrates always use a centered dot between the salt and the water group.

Quick reference table of common atomic masses

Element Atomic mass g·mol⁻¹ Element Atomic mass g·mol⁻¹
H 1.00794 He 4.0026
Li 6.941 Be 9.0122
B 10.811 C 12.0107
N 14.0067 O 15.999
F 18.9984 Ne 20.1797
Na 22.98977 Mg 24.305
Al 26.9815 Si 28.0855
P 30.97376 S 32.065
Cl 35.453 Ar 39.948
K 39.0983 Ca 40.078
Sc 44.9559 Ti 47.867
V 50.9415 Cr 51.9961
Mn 54.938 Fe 55.845
Co 58.9332 Ni 58.6934
Cu 63.546 Zn 65.38
Ga 69.723 Ge 72.64
As 74.9216 Se 78.96
Br 79.904 Kr 83.798
Rb 85.4678 Sr 87.62
Y 88.9059 Zr 91.224
Nb 92.9064 Mo 95.96
Ru 101.07 Rh 102.9055
Pd 106.42 Ag 107.8682
Cd 112.411 In 114.818
Sn 118.71 Sb 121.76
Te 127.6 I 126.90447
Xe 131.293 Cs 132.90545
Ba 137.327 La 138.9055
Ce 140.116 Nd 144.242
Sm 150.36 Eu 151.964
Gd 157.25 Tb 158.9254
Dy 162.5 Ho 164.9303
Er 167.259 Yb 173.04
Lu 174.967 Hf 178.49
Ta 180.9479 W 183.84
Re 186.207 Os 190.23
Ir 192.217 Pt 195.084
Au 196.96657 Hg 200.59
Tl 204.3833 Pb 207.2
Bi 208.9804 Th 232.0381
U 238.0289

How to use this in the lab

Use the molar mass to convert grams to moles and back for solution prep and stoichiometry. Example: you need 0.250 mole of H2SO4. Mass required equals moles times molar mass.

m = 0.250 × 98.077 = 24.519 g

When making stock solutions, always calculate the grams required, weigh on a calibrated balance, and check that the molar mass units match the molarity units in your recipe.

Rounding, significant figures and reporting

Report molar mass rounded to the same number of significant figures as your measurements. For general lab work three to five significant digits are fine. For publication level work carry more digits and reference the exact atomic mass source.

📈 The tool can parse isotopic labels if you enter element masses explicitly. It flags formulas that cannot be parsed and shows a clear error message and a hint to correct common mistakes. For charged complexes the tool lists the neutral atomic mass sum and lets you annotate the charge for record keeping.

Books and resources for deeper reading

  • Quantities, Units and Symbols in Physical Chemistry by IUPAC
  • CRC Handbook of Chemistry and Physics edited by W. M. Haynes
  • Atkins’ Physical Chemistry by Peter Atkins and Julio de Paula
David Parry

David Parry — Senior Engineering Analyst

Specializing in electronics and physics-based simulations with 20+ years of engineering experience. David ensures the mathematical and physical accuracy of the tools at ProCalcLab.

0 / 5. Ratings 0

Help us improve this article

What was missing or unclear?