Molecular Weight Calculator
PrintCalculating molecular weight (relative molecular mass) and molar mass is a foundational step in general, analytical, and organic chemistry. Whether you are balancing chemical equations, calculating molarity in solution chemistry, or analyzing stoichiometry for laboratory syntheses, determining the exact mass of a chemical compound from its formula is essential.
Our free online Molecular Weight Calculator uses the abridged standard atomic weights published by the International Union of Pure and Applied Chemistry (IUPAC) to compute:
- Molar Mass (g/mol): The mass of exactly one mole ($6.02214076 \times 10^{23}$) of molecules or formula units.
- Relative Molecular Mass: The dimensionless ratio of a molecule’s mass to the atomic mass constant.
- Elemental Mass Composition: The percentage breakdown of each constituent element within a compound.
Key Chemistry Definitions: Atomic Weight, Molar Mass, and Moles
To understand chemical mass calculations, it is helpful to clarify core definitions:
| Chemistry Term | Scientific Definition | Standard Units |
|---|---|---|
| Atom | The basic unit of a chemical element, consisting of a dense nucleus (protons and neutrons) surrounded by electrons. Defined by atomic number (proton count). | Dimensionless (Atomic Number Z) |
| Isotope | Atoms of the same element containing equal numbers of protons but different numbers of neutrons (e.g., Magnesium-24, Magnesium-25, and Magnesium-26). | Mass Number (A = Protons + Neutrons) |
| Mole (mol) | The SI unit for amount of substance. Contains exactly 6.02214076 × 1023 (Avogadro’s number) elementary entities. | mol |
| Atomic Weight | The weighted average of the atomic masses of naturally occurring isotopes of an element, relative to the atomic mass constant. | Dimensionless / Dalton (Da) / g/mol |
| Molar Mass | The total mass of one mole of a chemical substance. Numerically equivalent to relative molecular mass for practical lab work. | g/mol |
How to Calculate Molecular Weight: Step-by-Step Examples
Calculating molar mass involves three main steps:
- Identify and count the number of atoms of each element in the chemical formula.
- Look up the abridged standard atomic weight for each element from the periodic table.
- Multiply each element’s atomic weight by its atom count and sum all products together.
Example 1: Simple Molecule — Water (H2O)
Water consists of 2 Hydrogen (H) atoms and 1 Oxygen (O) atom:
- Hydrogen (H):
1.008 g/mol × 2 = 2.016 g/mol - Oxygen (O):
15.999 g/mol × 1 = 15.999 g/mol - Molar Mass of H2O:
2.016 + 15.999 = 18.015 g/mol
Example 2: Polyatomic Parentheses — Aluminum Sulfate [Al2(SO4)3]
Parentheses indicate that everything inside is multiplied by the outer subscript:
- Aluminum (Al):
26.982 g/mol × 2 = 53.964 g/mol - Sulfur (S):
32.060 g/mol × (1 × 3) = 96.180 g/mol - Oxygen (O):
15.999 g/mol × (4 × 3) = 191.988 g/mol - Molar Mass of Al2(SO4)3:
53.964 + 96.180 + 191.988 = 342.132 g/mol
Example 3: Hydrate Crystals — Copper(II) Sulfate Pentahydrate (CuSO4·5H2O)
Hydrates contain water molecules bound within their crystal structure:
- Anhydrous CuSO4:
63.546 (Cu) + 32.060 (S) + 63.996 (O4) = 159.602 g/mol - Water of Crystallization (5H2O):
5 × 18.015 g/mol = 90.075 g/mol - Molar Mass of CuSO4·5H2O:
159.602 + 90.075 = 249.677 g/mol
IUPAC Abridged Standard Atomic Weights Table (Elements 1–118)
Below is the complete table of standard atomic weights published by the International Union of Pure and Applied Chemistry (IUPAC), used by this calculator:
| Z | Symbol | Element Name | Atomic Weight (g/mol) | Density (g/cm³) | State at Room Temp |
|---|---|---|---|---|---|
| 1 | H | Hydrogen | 1.008 | 0.00008988 | Gas |
| 2 | He | Helium | 4.0026 | 0.0001785 | Gas |
| 3 | Li | Lithium | 6.940 | 0.534 | Solid |
| 4 | Be | Beryllium | 9.0122 | 1.850 | Solid |
| 5 | B | Boron | 10.810 | 2.340 | Solid |
| 6 | C | Carbon | 12.011 | 2.267 | Solid |
| 7 | N | Nitrogen | 14.007 | 0.0012506 | Gas |
| 8 | O | Oxygen | 15.999 | 0.001429 | Gas |
| 9 | F | Fluorine | 18.998 | 0.001696 | Gas |
| 10 | Ne | Neon | 20.180 | 0.0009002 | Gas |
| 11 | Na | Sodium | 22.990 | 0.968 | Solid |
| 12 | Mg | Magnesium | 24.305 | 1.738 | Solid |
| 13 | Al | Aluminium | 26.982 | 2.700 | Solid |
| 14 | Si | Silicon | 28.085 | 2.329 | Solid |
| 15 | P | Phosphorus | 30.974 | 1.823 | Solid |
| 16 | S | Sulfur | 32.060 | 2.070 | Solid |
| 17 | Cl | Chlorine | 35.450 | 0.0032 | Gas |
| 18 | Ar | Argon | 39.950 | 0.001784 | Gas |
| 19 | K | Potassium | 39.098 | 0.890 | Solid |
| 20 | Ca | Calcium | 40.078 | 1.550 | Solid |
| 26 | Fe | Iron | 55.845 | 7.874 | Solid |
| 29 | Cu | Copper | 63.546 | 8.960 | Solid |
| 47 | Ag | Silver | 107.870 | 10.490 | Solid |
| 79 | Au | Gold | 196.970 | 19.300 | Solid |
| 80 | Hg | Mercury | 200.590 | 13.534 | Liquid |
| 92 | U | Uranium | 238.030 | 19.100 | Solid |
To convert molar mass measurements across metric mass units, use our Conversion Calculator. For solution density calculations in chemistry labs, visit our Density Calculator or Volume Calculator.
Frequently Asked Questions (FAQ)
What is the difference between molecular weight and molar mass?
Molecular weight (relative molecular mass) is a dimensionless ratio comparing a molecule’s mass to the atomic mass constant ($1/12\text{ of } {}^{12}\text{C}$). Molar mass is the mass of one mole ($6.022 \times 10^{23}$) of the substance expressed in grams per mole (g/mol). For practical lab calculations, both terms share identical numerical values.
Why is atomic weight a decimal number rather than a whole integer?
Atomic weight represents the natural weighted average of all stable isotopes of an element. Because different isotopes have different numbers of neutrons (e.g., Chlorine-35 and Chlorine-37), the weighted abundance average produces a decimal value (e.g., 35.45 g/mol for Chlorine).
How do I type parentheses or hydrates into the calculator?
Enter formulas using standard uppercase and lowercase chemical symbols:
- Use parentheses for polyatomic ions:
Ca(NO3)2for Calcium Nitrate. - Use a period or asterisk for hydrates:
CuSO4.5H2OorCuSO4*5H2Ofor Copper(II) Sulfate Pentahydrate.
What is Avogadro’s constant?
Avogadro’s constant is defined as exactly 6.02214076 × 1023 mol-1. It represents the exact number of constituent particles (atoms or molecules) contained in one mole of any chemical substance.