Hydrate Formula Calculator
Test cases replayed : 6 of 6 match · Methodology · No outside source listed
Weigh the hydrate, heat it until all the water of crystallization is driven off, and weigh the anhydrous salt that remains. Choose the salt or enter its molar mass; the calculator gives x in salt·xH₂O.
Result
Hydrate formula
Molar mass of the anhydrous salt used (g/mol)
- Mass of water lost (g)
- Moles of water (mol)
- Moles of anhydrous salt (mol)
- Moles of water per mole of salt (x)
- x rounded to the nearest whole number
- Water in the hydrate (% by mass)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Anhydrous salt: choose one of the 9 options in the list.
- Molar mass of your salt (used with “Other salt”), in g/mol: enter 0.001 or more.
- Mass of the hydrate before heating, in g: enter 0 or more.
- Mass of the anhydrous salt after heating, in g: enter 0 or more.
- Read the result: Hydrate formula; the panel also shows Molar mass of the anhydrous salt used (g/mol), Mass of water lost (g), Moles of water (mol), Moles of anhydrous salt (mol), Moles of water per mole of salt (x), x rounded to the nearest whole number and Water in the hydrate (% by mass).
How this calculator works
Mass of water = hydrate mass − anhydrous mass. Moles of water = water mass ÷ 18.015 g/mol; moles of salt = anhydrous mass ÷ molar mass of the salt. x = moles of water ÷ moles of salt, and the formula is salt·xH₂O with x rounded to a whole number.
Molar masses are summed from the IUPAC (CIAAW) abridged standard atomic weights, ciaaw.org/abridged-atomic-weights.htm, read October 28, 2026: H 1.0080, O 15.999, S 32.06, Cu 63.546, Mg 24.305, Ca 40.078, Na 22.990, Co 58.933, Ba 137.33, Cl 35.45, Fe 55.845. Water = 2 × 1.0080 + 15.999 = 18.015 g/mol.
Percent water = water mass ÷ hydrate mass × 100. If x is far from a whole number, the sample was probably not fully dehydrated, or it decomposed or absorbed moisture after heating.
Worked example
| Anhydrous salt | CuSO₄, copper(II) sulfate |
|---|---|
| Mass of the hydrate before heating | 2.5 g |
| Mass of the anhydrous salt after heating | 1.6 g |
| Molar mass of the anhydrous salt used (g/mol) | 159.602 |
|---|---|
| Mass of water lost (g) | 0.9 |
| Moles of water (mol) | 0.05 |
| Moles of anhydrous salt (mol) | 0.01 |
| Moles of water per mole of salt (x) | 4.98 |
| x rounded to the nearest whole number | 5 |
| Hydrate formula | CuSO₄·5H₂O |
| Water in the hydrate (% by mass) | 36.00 |
Frequently asked questions
A 2.50 g sample of copper(II) sulfate hydrate leaves 1.60 g after heating. What is its formula?
0.90 g of water is 0.0500 mol; 1.60 g of CuSO₄ is 0.0100 mol; x ≈ 4.98, so CuSO₄·5H₂O.
How do I know all the water is gone?
Heat, cool and weigh again until two weighings agree (heating to constant mass).
What if my salt is not in the list?
Choose “Other salt” and enter the molar mass of the anhydrous compound, summed from the atomic weights of its elements.