Sulfuric acid H2SO4
Multiply each element's atomic weight by its number of atoms, then add the products.
- H 2 × 1.008 = 2.016
- S 1 × 32.06 = 32.06
- O 4 × 15.999 = 63.996
M(H2SO4) = 98.072 g/mol ≈ 98.07 g/mol
Open this example in the toolTool 01
Type a chemical formula, an ion or a common substance name to get its molar mass in grams per mole and the mass percentage of each element. Brackets, hydrates, charges and lower-case input are all understood.
Free, no account, and nothing you type leaves your browser.
Nested brackets, hydrate dots and ionic charges all parse. Try Ca(OH)2, CuSO4·5H2O or Fe2(SO4)3.
Multiply each element's atomic weight by its number of atoms, then add the products.
M(H2SO4) = 98.072 g/mol ≈ 98.07 g/mol
Open this example in the toolThe 2 after the bracket doubles everything inside it: two oxygen and two hydrogen atoms.
M(Ca(OH)2) = 74.092 g/mol ≈ 74.09 g/mol
Open this example in the toolA hydrate counts its water too: five H₂O add 10 hydrogen and 5 oxygen atoms to CuSO₄.
M(CuSO4·5H2O) = 249.677 g/mol ≈ 249.68 g/mol
Open this example in the toolEvery element in the formula contributes its standard atomic weight multiplied by how many atoms of it appear. Those weights are averages across each element's natural isotope mix, which is why they are rarely whole numbers — chlorine is 35.45 because roughly three quarters of natural chlorine is Cl-35 and one quarter Cl-37. Percentage composition is each element's total contribution divided by the whole.
Type formulas as you would write them by hand. Brackets can nest, a dot or · joins the parts of a hydrate (CuSO4·5H2O), and a number at the start multiplies the whole formula (2H2O). Lower-case input such as nacl is read with valid element symbols, and when there are two readings, as with co (CO or Co), both are shown. About 70 common substance names, such as table salt or baking soda, work in every language of the site.
Hydrate coefficients can be decimals or fractions, so CaSO4·0.5H2O, CaSO4·0,5H2O and CaSO4·1/2H2O all work. An entry can be up to 200 characters long.
A charge can follow a caret (SO4^2-), be written in superscript (SO₄²⁻), follow a bracket ([SO4]2-) or come straight after the formula. A bare charge is read the way chemists write it: with two digits before the sign, the last one is the charge (SO42- is sulfate, 2−); a single element followed by a digit and a sign is an ion with that charge (Fe3+); otherwise the digit belongs to the formula (NH4+ is ammonium, 1+). The result always shows how the input was read.
A sign written before the number gives the same charge: Fe+3 is Fe³⁺ and SO4-2 is SO₄²⁻. A subscript of 1 is never written, so in C6H12+ the 12 stays a subscript and the charge is 1+. A positive charge larger than the number of electrons the atoms have is reported as an error.
Balances molecular, ionic and redox equations exactly, with an atom and charge check.
OpenFull and noble-gas notation and an orbital diagram for all 118 elements, plus a trainer.
OpenTwo to four elements in one table, every bar scaled against all 118.
OpenTemperature, energy, pressure, moles and atomic lengths, with exact SI constants.
Open