Hydrate Formula Calculator – Find the Water of Crystallisation
Many ionic salts crystallise with water molecules locked into their lattice. Blue copper sulfate is CuSO₄·5H₂O, Epsom salt is MgSO₄·7H₂O and gypsum is CaSO₄·2H₂O. The number after the dot, usually written x, is the water of crystallisation: the number of moles of water bound to one mole of the salt. This calculator works out x from lab data, gives the composition of any known hydrate, and converts recipe masses between hydrated and anhydrous forms of the same salt.
How to find the formula of a hydrate
The classic experiment heats a weighed sample of hydrate until all the water has been driven off, then weighs the anhydrous residue. The mass lost is water. Converting both masses to moles gives the ratio:
m(H₂O) = m(hydrate) − m(residue)x = [m(H₂O) ÷ 18.015] ÷ [m(residue) ÷ M(salt)]
For example, 2.50 g of hydrated copper sulfate that leaves 1.60 g of anhydrous CuSO₄ lost 0.90 g of water. That is 0.04996 mol of water and 0.010025 mol of CuSO₄, so x = 4.98, which rounds to the pentahydrate. If you only know the percent water (or percent mass lost on heating), the tool uses a 100 g basis and the same arithmetic.
Entering crucible weighings
In the lab you rarely weigh the hydrate directly. Instead you record the empty crucible, the crucible with hydrate, and the crucible with residue after each heating. Choose Crucible entry and add up to three heating readings. The calculator subtracts the crucible for you, uses the last reading, and warns you if the last two differ by more than 0.005 g or 0.2 % of the residue, which means the sample has not yet reached constant mass.
Rounding x to a sensible ratio
Experimental x is never exactly a whole number. The tool rounds it to the nearest integer when it is within 0.15, and otherwise checks for a half-integer hydrate within 0.10, such as CaSO₄·0.5H₂O (plaster of Paris). If neither fits, it says so and shows the nearest integer as a tentative answer. These thresholds are a practical convention, not a law of chemistry. A number line shows where your result falls relative to the tolerance bands and, if you enter one, the accepted value.
Percent water in a known hydrate
In Composition mode, enter a formula such as MgSO4·7H2O or a salt plus a water count. The hydrate molar mass is M(salt) + x × 18.015, and the percent water is 100 × x × 18.015 ÷ M(hydrate). CuSO₄·5H₂O is 36.08 % water by mass, and MgSO₄·7H₂O is 51.17 %. Add a sample mass to see how much water it will lose on heating and how much residue it will leave.
Substituting one hydrate for another
Recipes and procedures often name the anhydrous salt while the bottle on the shelf is a hydrate. Because both forms contain the same number of moles of salt per formula unit, the conversion is a ratio of molar masses: m(A) = m(B) × M(A) ÷ M(B). Replacing 10.00 g of anhydrous CuSO₄ takes 15.644 g of the pentahydrate. For a solution, enter the molarity and volume instead: 250 mL of 0.100 M CuSO₄ needs 6.242 g of CuSO₄·5H₂O.
Formula input tips
- Separate the salt and water with
·,*,.or a space:CuSO4·5H2O,CuSO4*5H2OandCuSO4 5H2Oare all read the same way. - Water counts can be decimals, fractions or
½, for exampleCaSO4·1/2H2O. UsexH2Owhen the count is what you are solving for. - Element symbols are case-sensitive, and brackets work as usual:
K4[Fe(CN)6],KAl(SO4)2.