How to read a formula 01 Type the formula the way it is written. CuSO4 for the anhydrous salt, CuSO4·5H2O for the pentahydrate; the dot belongs to the formula, not to a decimal number.02 Use brackets for groups. Al2(SO4)3 and Fe4[Fe(CN)6]3 both nest a group and multiply it.03 Keep fractional hydrate coefficients. CaSO4·0.5H2O is legal and means one water per two formula units of the salt.04 Read the mass and the table. The big number is g/mol; the table lists each element's count, its contribution and its percentage of the total. 05 Check an element. Type an element symbol or name in the lookup to see the atomic weight the panel used.
Worked example
Formula
Molar mass
Element breakdown (count · contribution · share)
Fe4[Fe(CN)6]3
859.239 g/mol
Fe 7 · 390.915 · 45.4955% ; N 18 · 252.126 · 29.3429% ; C 18 · 216.198 · 25.1616%
CaSO4·0.5H2O
145.1415 g/mol
O 4.5 · 71.9955 · 49.6037% ; Ca 1 · 40.078 · 27.6131% ; S 1 · 32.06 · 22.0888% ; H 1 · 1.008 · 0.6945%
CuSO4
159.602 g/mol
O 40.0972% ; Cu 39.8153% ; S 20.0875%
Al2(SO4)3
342.132 g/mol
O 56.1152% ; S 28.112% ; Al 15.7729%
SO4^2-
96.056 g/mol
O 66.6236% ; S 33.3764%
The comparison is instructive: moving from the hemihydrate's half water to gypsum's two waters raises the mass from 145.1415 to 172.164 g/mol , and the anhydrous CuSO4 at 159.602 is the pentahydrate's copper core without the crystal water. A charge suffix changes nothing: SO4^2- and neutral SO4 read the same 96.056 .
A weighted average of weighted averages Standard atomic weights are themselves averages: each element is a mixture of isotopes, and the value in the table is the abundance-weighted mean over the natural mixture — iron's 55.845 is mostly ⁵⁶Fe, not an integer. Molar mass then adds those averages in the proportions the formula gives: 7 iron atoms contribute 7 × 55.845 = 390.915 , 18 nitrogens contribute 252.126 , and the sum is the molar mass. Because the mole is an amount of entities, g/mol is simultaneously the mass of one mole and the number of grams per 6.02214076 × 10²³ formula units. The percentage column is the same arithmetic read sideways: each element's contribution divided by the total, so the shares always sum to 100%.
Limits and what it does not do
Average weights, not monoisotopic masses. For mass spectrometry the isotope-level mass differs slightly from the table value; a single molecule's mass is not this number.
The formula grammar is the only input. The parser reports an unknown element or an unclosed bracket rather than guessing, and an electron species is rejected because it has no molar mass.
The trap: the dot is chemistry CuSO4·5H2O is not CuSO4·5H2O with a decimal point somewhere — the middle dot multiplies a whole water molecule by five, while 0.5H2O multiplies it by one half. The parser distinguishes a dot inside a number from a dot between hydrates, and both can be written ·, * or ., so CaSO4.0.5H2O still reads as calcium sulfate hemihydrate. The second trap is the charge: ionic charge rides on electron count, and since the electron mass is only about 5.5 × 10⁻⁴ u — more than three orders of magnitude below an atomic mass unit — dropping it moves a molar mass such as SO₄²⁻ only in the fifth significant figure; the panel treats the charge suffix as bookkeeping, not a mass term.
Where it is used Bench arithmetic Read a molar mass, then scale a recipe: 1 mol L⁻¹ of Al2(SO4)3 needs 342.132 g per litre, and the element table tells you how much of that is sulfur. The percentage column is also the first step of an empirical-formula exercise, run backwards.
Checking a supplier's label Hydrate content changes the numbers a formula sheet reports. Comparing the hemihydrate at 145.1415 with gypsum at 172.164 separates a stale label from a different salt.
Privacy Formula parsing and the weighted sum run in your browser; nothing you type is sent anywhere.
References
CIAAW, Atomic weights of the elements — standard atomic weights and their intervals. ciaaw.org (访问日期:2026-10-07)
IUPAC, Periodic Table of Elements — the tabulated atomic weights. iupac.org (访问日期:2026-10-07)
Wikipedia, Molar mass — the mass of one mole in g/mol. en.wikipedia.org (访问日期:2026-10-07)
Wikipedia, Chemical formula — subscripts, brackets and hydrate dots. en.wikipedia.org (访问日期:2026-10-07)
NIST, SI Brochure / SP 811 — the mole and the Avogadro constant. nist.gov (访问日期:2026-10-07)
Calculators in this hub
Hand-picked tools, one click away. The mini versions compute live and carry your values into the full calculator.
Sources & review
Reviewed by CalcX Editorial Team
Updated 2026-10-07