Chemistry Calculator — Molar Mass, Moles & Molarity | StudentCalcs

Chemistry Calculator

Get molar mass with a full element breakdown and percent composition, then convert grams, moles, molecules and molarity. Handles nested brackets and hydrates, with IUPAC-accurate atomic weights.

Molar mass

Element breakdown & percent composition

Amount of substance
Why it is better

Your digital lab assistant

Smart parser

Nested brackets like Fe2(SO4)3, organics like CH3COOH, and hydrates like CuSO4.5H2O all parse correctly.

Full breakdown

Not just the total. See each element's atom count, mass contribution and percent composition instantly.

IUPAC accurate

Current standard atomic weights, e.g. chlorine at 35.45, for analytical-grade precision.

The complete chemistry calculator

This chemistry calculator does more than a molar mass lookup. Type any formula and it returns the total molar mass, a per-element breakdown, and the percent composition by mass, then lets you convert between grams, moles, molecules and molarity in the second tab. Every atomic weight is hardcoded to current IUPAC standards for lab-grade accuracy.

How to enter a formula

  • Case matters: capitalise the first letter, lowercase the second. Use NaCl, not nacl, so the tool tells Co (cobalt) from CO (carbon monoxide).
  • Subscripts are numbers: write H2O for two hydrogens. A missing number means one.
  • Groups use brackets: polyatomic ions like ammonium sulfate go in as (NH4)2SO4.
  • Hydrates use a dot: enter copper(II) sulfate pentahydrate as CuSO4.5H2O (a dot or an asterisk both work).

Compound weight quick reference

CompoundFormulag/mol
WaterH2O18.015
GlucoseC6H12O6180.156
Sulfuric acidH2SO498.079
Ammonium sulfate(NH4)2SO4132.14
EthanolC2H5OH46.068

From grams to molarity

Moles = mass / molar mass. Molecules = moles × Avogadro's number (6.022 × 10²³). Molarity = moles / volume in litres. The Moles & molarity tab does all three at once, so you go from a weighed sample straight to a solution concentration.

FAQ

Frequently asked questions

Molar mass vs molecular weight?
Numerically identical, conceptually different. Molecular weight is the mass of one molecule in atomic mass units; molar mass is the mass of one mole in g/mol. This tool reports g/mol.
Why does 'na' or 'NACL' fail?
Symbols follow periodic-table grammar: first letter capital, second lowercase. Sodium is Na, sodium chloride is NaCl.
Can it calculate molarity?
Yes. In the Moles & molarity tab, enter grams, molar mass and volume in litres. It returns moles, molecules and molarity together.
Does it handle hydrates?
Yes. Write the dot notation directly, e.g. CuSO4.5H2O. The parser adds the water molecules to the total.
Are rounded periodic-table values wrong?
No. School tables often round (carbon as 12.0). This tool uses exact standard values, so small decimal differences are higher precision, not errors.
Explore more

Related tools

Scroll to Top