Logo

MonoCalc

/

Hydrate Formula Calculator

Chemistry

Work out x in salt·xH₂O from masses before and after heating, crucible weighings, or percent water.

e.g. CuSO4, KAl(SO4)2, K4[Fe(CN)6]; CuSO4·xH2O also works
For percent error against the textbook value

Experimental water count

x = 4.98

Suggested formula:

CuSO₄·5H₂O

Water lost

0.900 g

Moles of H₂O

0.04996 mol

Moles of CuSO₄

0.01002 mol

Water, experimental

36.00 %

Water in CuSO₄·5H₂O

36.08 %

Theoretical residue

1.598 g

theoretical water 0.902 g

Error in water mass

−0.21 %

vs the suggested formula

Mass split of the sample

CuSO₄: 1.600 g (64.0 %)

H₂O: 0.900 g (36.0 %)

ideal split for CuSO₄·5H₂O

Where x falls

Shaded band: ±0.15 around the nearest integer.

01234567x = 4.98

Formula unit (experimental)

CuSO₄

1 formula unit of CuSO₄ with 4.98 H₂O; the part-filled drop is the fraction

Working

m(H₂O) = m(hydrate) − m(residue) = 2.5000 g − 1.6000 g = 0.9000 g

M(H₂O) = 18.015 g/mol; M(CuSO₄) = 159.602 g/mol

n(H₂O) = 0.9000 g ÷ 18.015 g/mol = 0.04996 mol

n(CuSO₄) = 1.6000 g ÷ 159.602 g/mol = 0.010025 mol

x = n(H₂O) ÷ n(CuSO₄) = 0.04996 ÷ 0.010025 = 4.98

|4.98 − 5| = 0.02 ≤ 0.15 → CuSO₄·5H₂O

Theoretical m(H₂O) for CuSO₄·5H₂O = 2.5000 g × 36.08 % = 0.9019 g

% error in water mass = (0.9000 g − 0.9019 g) ÷ 0.9019 g × 100 = −0.21 %

e.g. MgSO4·7H2O, CaSO4·½H2O, Na2CO3*10H2O
To get water lost and residue for your sample

M(CuSO₄·5H₂O)

249.677 g/mol

Water by mass

36.08 %

CuSO₄ by mass

63.92 %

M(CuSO₄)

159.602 g/mol

water 90.075 g per mol

Water lost on heating

1.082 g

Residue left

1.918 g

Moles of hydrate

0.01202 mol

Moles of water

0.06008 mol

Mass split of your sample

CuSO₄: 1.918 g (63.9 %)

H₂O: 1.082 g (36.1 %)

Formula unit

CuSO₄

1 formula unit of CuSO₄ with 5 H₂O

Working

M(CuSO₄) = 159.602 g/mol; M(H₂O) = 18.015 g/mol

M(CuSO₄·5H₂O) = 159.602 + 5 × 18.015 = 249.677 g/mol

% water = 100 × 5 × 18.015 ÷ 249.677 = 36.08 %

Water lost = 3.0000 g × 36.08 % = 1.0823 g

Residue = 3.0000 g × 159.602 ÷ 249.677 = 1.9177 g

n(hydrate) = 3.0000 g ÷ 249.677 g/mol = 0.01202 mol; n(H₂O) = 5 × that = 0.06008 mol

The bottle on the shelf, e.g. CuSO4·5H2O
Anhydrous or another hydrate, e.g. CuSO4

Weigh out

15.644 g

of CuSO₄·5H₂O in place of 10.000 g of CuSO₄.

M(A) = 249.677 g/mol, M(B) = 159.602 g/mol, n(salt) = 0.06266 mol

What that mass of CuSO₄·5H₂O contains

CuSO₄: 10.000 g (63.9 %)

H₂O: 5.644 g (36.1 %)

Working

M(A) = M(CuSO₄·5H₂O) = 159.602 + 5 × 18.015 = 249.677 g/mol

M(B) = M(CuSO₄) = 159.602 g/mol

n(salt) = m(B) ÷ M(B) = 10.0000 g ÷ 159.602 g/mol = 0.06266 mol

m(A) = n(salt) × M(A) = 0.06266 mol × 249.677 g/mol = 15.644 g

Shortcut: m(A) = m(B) × M(A) ÷ M(B) = 10.0000 × 249.677 ÷ 159.602 = 15.644 g

About This Tool

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.

Reading the percent error
If x is too high, more mass was lost than expected: spattering, decomposition of the salt, or a damp sample are the usual causes. If x is too low, the sample was not heated to constant mass or the residue picked up moisture while cooling. Cool crucibles in a desiccator before weighing.

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*5H2O and CuSO4 5H2O are all read the same way.
  • Water counts can be decimals, fractions or ½, for example CaSO4·1/2H2O. Use xH2O when 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.
Not every hydrate can be dehydrated cleanly
Some salts hydrolyse, oxidise or decompose when heated in air, so the residue is not the anhydrous salt. Magnesium and iron(III) chlorides lose HCl, nitrates decompose to oxides, and ammonium salts lose ammonia. The calculator flags these when you choose them.

Frequently Asked Questions

Is the Hydrate Formula Calculator free?

Yes, Hydrate Formula Calculator is totally free :)

Can I use the Hydrate Formula Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Hydrate Formula Calculator?

Yes, any data related to Hydrate Formula Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

How does this hydrate calculator work?

It converts the mass of water driven off and the mass of anhydrous residue into moles, using molar masses computed from the formula you enter. The ratio of moles of water to moles of salt is x, which is then rounded to the nearest sensible whole or half number to suggest a formula.

Why is my value of x not a whole number?

Real lab data always carries some error from weighing, incomplete heating or moisture picked up while cooling. A result within 0.15 of a whole number is reported as that integer; a result far from any whole or half number usually points to a mistake in the masses or the formula.

Can a hydrate have a fractional number of waters?

Yes. Plaster of Paris is CaSO₄·0.5H₂O, meaning two formula units of calcium sulfate share one water molecule. The calculator checks for half-integer values such as 0.5 or 1.5 when x is not close to a whole number.

How do I weigh out a hydrate when a recipe calls for the anhydrous salt?

Multiply the recipe mass by the ratio of molar masses: mass of hydrate = mass of anhydrous salt × M(hydrate) ÷ M(anhydrous). For example, 10.00 g of anhydrous CuSO₄ is supplied by 15.644 g of CuSO₄·5H₂O.

Which hydrates give misleading results when heated?

Salts that hydrolyse or decompose on heating, such as MgCl₂·6H₂O, FeCl₃·6H₂O, metal nitrates and ammonium salts, leave a residue that is not the anhydrous salt, so the mass lost is not just water. The tool shows a caution when you pick one of these.

How accurate are the results?

The arithmetic uses IUPAC standard atomic weights, so the result is only as good as your masses. Heat to constant mass, cool the crucible in a desiccator and weigh to at least 0.001 g for an x within a few percent of the accepted value.