Calculators · Formula weights

Molar Mass Calculator

Molecular mass from a written formula

Type any formula with brackets and hydrates; get molar mass, per-element breakdown and percentage composition.

BracketsHydrates% compositionIUPAC weights
Elements
118
Precision
4 dp
Uploaded
0 B

Molar Mass Calculator

Runs in your browser · nothing uploaded
The compound
Molar mass
249.6770 g/mol
Moles in sample
0.0501 mol
Heaviest element
O 57.67%
Elements
4

Mass contribution · O · Cu · S · H. Bar chart with 4 steps across the term, falls from 57.670910816775276% at the first step, to 12.840590042334696% at the midpoint, to 4.037216083179468% by the final step.

Standard IUPAC atomic weights (natural-abundance averages).
Percentage composition
Element breakdown by mass
ElementCountMassShare
O · Oxygen9143.991057.67%
Cu · Copper163.546025.45%
S · Sulfur132.060012.84%
H · Hydrogen1010.08004.04%

01 — How to use Molar Mass Calculator

1 Type a formula Element symbols with their usual capitalisation, subscripts as ordinary digits or as subscript characters. H2O, NaCl, C6H12O6 all work.
2 Use brackets and hydrates freely Ca(OH)2, Al2(SO4)3 and nested groups like K4(Fe(CN)6) parse correctly, as does hydrate notation: CuSO4·5H2O.
3 Read the breakdown Molar mass in grams per mole, then each element with its count, mass contribution and percentage of the total — ordered by contribution.
4 Convert a sample to moles Enter a sample mass in grams and the number of moles it represents is calculated from the formula weight.

02 — Getting good results

Capitalisation is not optional CO is carbon monoxide; Co is cobalt. The parser follows the convention exactly — a capital starts a new element — which is why a lowercase formula is rejected rather than guessed at.
The hydrate multiplier covers everything after the dot In CuSO4·5H2O the 5 multiplies the whole water molecule, giving ten hydrogens and five extra oxygens. Tools that apply it only to the hydrogen produce a mass about 80 too low.
Percentage composition is the useful output For gravimetric work, the mass fraction of each element matters more than the total. It is what lets you work back from a measured mass of product to the amount of a specific element present.

03 — Questions

No. The element table is built into the page and the parsing is done in this browser tab. There is no lookup service involved.

04 — More about Molar Mass Calculator

61 more tools
where this came from.

Same shell, same shortcuts, same promise: nothing leaves your browser.

Browse all 62