Hydrate Water Content / Water of Crystallization Calculator
Find the percent water of crystallization in any hydrate formula, or work backward from before-and-after heating masses to find the water content and the hydrate formula itself — with full step-by-step working.
Use a dot, middle dot (·), or asterisk before the water part — e.g. MgSO4·7H2O.
Common hydrates
CuSO4 · 5H2O — water of crystallization by mass
Total Molar Mass
Anhydrous + water
Anhydrous Molar Mass
CuSO4
Water Mass Contributed
n × 18.015 g/mol
Water Molecules (n)
Per formula unit
Composition & Comparison
See the water/anhydrous split as a donut chart, a full value table, and how your hydrate compares to other common hydrates by percent water.
The donut chart shows what fraction of the hydrate's total mass is water of crystallization versus the anhydrous compound itself.
Step-by-Step Solution
Here's exactly how this answer was calculated, one step at a time.
Given: Hydrate formula = CuSO4·5H2O
Step 1: Split the formula into anhydrous salt and water
The dot (or middle dot ·) separates the anhydrous compound from the number of attached water molecules.
CuSO4 · 5H2OStep 2: Find the molar mass of the anhydrous salt
Add up the atomic mass of every element in the anhydrous formula, multiplied by its subscript.
M(CuSO4) = 159.602 g/molStep 3: Find the mass contributed by the water
5 × M(H2O) = 5 × 18.015 = 90.075 g/molStep 4: Add both parts for the hydrate's total molar mass
159.602 + 90.075 = 249.677 g/molStep 5: Divide the water's mass by the total mass
(90.075 ÷ 249.677) × 100 = 36.08%Step 6: Final answer
Percent Water of Crystallization = 36.08%
The result is:
36.08% water
Free Online Hydrate Water Content Calculator
This hydrate water content calculator works out the percent water of crystallization in any hydrate formula, such as CuSO4·5H2O or MgSO4·7H2O, in one click. Type the formula and it instantly finds the molar mass of the anhydrous compound, the mass contributed by the attached water molecules, and the percent of the hydrate's total mass that is water — all with a complete step-by-step solution shown underneath.
It also runs the calculation the other way around, the way most chemistry labs actually do it: from real heating data. Enter the mass of the hydrate before heating and the mass of the dry residue left after heating, and the calculator finds how much water was driven off, the percent water by mass, and the whole-number ratio of water molecules to the anhydrous salt — so you can write the correct hydrate formula from your own experimental results.
What Is Water of Crystallization?
Many ionic compounds don't form as a plain, dry solid when they crystallize out of a water solution. Instead, a fixed number of water molecules get trapped inside the crystal lattice itself, locked into specific positions alongside the metal ions and other ions that make up the compound. This water is called water of crystallization, water of hydration, or simply hydration water, and the resulting solid is called a hydrate.
A hydrate is written with the anhydrous formula first, then a dot (sometimes a middle dot ·, sometimes a plain period, sometimes an asterisk) and a number that shows exactly how many water molecules are attached to every formula unit. For example, CuSO4·5H2O means every unit of copper(II) sulfate carries five water molecules with it — that's why it's called copper sulfate pentahydrate. Remove those water molecules by heating, and you're left with the anhydrous form, CuSO4, which is a completely different color and texture from the blue hydrated crystals most students see in a lab.
The Water of Crystallization Formula
Once you know the hydrate formula, the percent water is simple to calculate:
- Percent Water (%) = (Mass of water in the formula ÷ Total molar mass of the hydrate) × 100
- Mass of water in the formula = n × 18.015 g/mol, where n is the number written before H2O.
- Total molar mass = Molar mass of the anhydrous compound + Mass of water in the formula.
- Example: for CuSO4·5H2O, the anhydrous molar mass is 159.61 g/mol and the water contributes 5 × 18.015 = 90.08 g/mol, giving a total of 249.69 g/mol and a percent water of (90.08 ÷ 249.69) × 100 ≈ 36.1%.
Finding Water of Crystallization from Lab Data (Heating a Hydrate)
This is the classic hands-on chemistry lab experiment: weigh a sample of a hydrate, heat it steadily until no more mass is lost, then weigh what's left. The mass that disappeared is assumed to be water vapor driven out of the crystal, and the solid left behind is the anhydrous compound.
- Mass of water lost = Mass of hydrate (before heating) − Mass of anhydrous residue (after heating)
- Percent water (%) = (Mass of water lost ÷ Mass of hydrate) × 100
- Moles of water = Mass of water lost ÷ 18.015 g/mol
- Moles of anhydrous salt = Mass of residue ÷ Molar mass of the anhydrous salt
- n (water molecules per formula unit) = Moles of water ÷ Moles of anhydrous salt, rounded to the nearest whole number
How to Calculate Percent Water Step by Step
Working from a formula, first split it at the dot to separate the anhydrous part from the water part — for example, CuSO4·5H2O splits into CuSO4 and 5H2O. Add up the atomic masses in the anhydrous part to get its molar mass, then multiply the number in front of H2O by water's molar mass (18.015 g/mol) to get the mass contributed by hydration.
Add the two together for the hydrate's total molar mass, then divide the water's share by that total and multiply by 100. Working from lab masses instead, subtract the residue's mass from the starting mass to find the water lost, then divide that by the starting mass and multiply by 100 for the same percent-water answer — no molar masses needed for this part.
How to Find the Formula of a Hydrate from Experimental Data
Determining an unknown hydrate's formula is one of the most common titration-free lab exercises in general chemistry. After weighing the sample before and after heating and finding the moles of water lost and the moles of anhydrous salt left behind, divide the moles of water by the moles of salt.
This division gives the mole ratio of water to salt — in a correctly performed experiment, this number should come out close to a whole number, because water molecules attach to a crystal lattice in fixed, whole-number amounts. Round the ratio to the nearest whole number, call it n, and the hydrate formula is simply the anhydrous formula followed by ·nH2O. A ratio like 4.9 or 5.1 rounds cleanly to 5, confirming a pentahydrate; a ratio that lands nowhere near a whole number usually points to incomplete heating, sample loss, or a weighing error.
Worked Example: Finding % Water from a Formula
Magnesium sulfate heptahydrate, MgSO4·7H2O (Epsom salt), has an anhydrous molar mass of 120.37 g/mol. The seven water molecules contribute 7 × 18.015 = 126.11 g/mol, giving a total molar mass of 246.48 g/mol. Percent water = (126.11 ÷ 246.48) × 100 ≈ 51.2% — meaning over half the mass of Epsom salt crystals is simply water locked into the structure.
Worked Example: Finding a Hydrate Formula from Lab Data
A student heats 5.00 g of an unknown hydrated salt and is left with 3.20 g of anhydrous residue, which has a molar mass of 159.61 g/mol (matching copper(II) sulfate, CuSO4). The water lost is 5.00 − 3.20 = 1.80 g, which is 1.80 ÷ 18.015 = 0.0999 mol of water. The moles of anhydrous salt are 3.20 ÷ 159.61 = 0.0200 mol.
Dividing gives 0.0999 ÷ 0.0200 ≈ 5.0, so n = 5 and the hydrate is CuSO4·5H2O, matching copper(II) sulfate pentahydrate — with a percent water of (1.80 ÷ 5.00) × 100 = 36.0%, very close to the 36.1% found directly from the formula.
How to Use This Hydrate Calculator
Choose which information you have using the mode buttons at the top. If you already know the hydrate's chemical formula, pick 'From a Hydrate Formula' and type it in with the water part last, using a dot, middle dot, or asterisk as the separator — or just tap one of the common hydrates listed below the input to load it instantly.
If instead you're working from a real heating experiment, pick 'From Heating Lab Data' and enter the mass of the hydrate before heating, the mass of the dry residue after heating, and the molar mass of the anhydrous salt (you can look this up, calculate it with the Molar Mass Calculator, or tap a common hydrate to auto-fill it). Either way, scroll down for the full step-by-step solution, a donut chart of the water/anhydrous split, a value table, and a bar chart comparing your result to other common lab hydrates.
Common Hydrates and Their Approximate Water Content
Different hydrates hold very different amounts of water relative to their total mass, which is why percent water is such a useful number to check in the lab — it should match a known, expected value for a pure sample.
- Copper(II) sulfate pentahydrate, CuSO4·5H2O — about 36% water
- Magnesium sulfate heptahydrate (Epsom salt), MgSO4·7H2O — about 51% water
- Sodium carbonate decahydrate (washing soda), Na2CO3·10H2O — about 63% water
- Calcium sulfate dihydrate (gypsum), CaSO4·2H2O — about 21% water
- Cobalt(II) chloride hexahydrate, CoCl2·6H2O — about 45% water
- Sodium sulfate decahydrate (Glauber's salt), Na2SO4·10H2O — about 56% water
Why Hydrates Matter in Chemistry and Everyday Life
Hydrates aren't just a classroom curiosity — the amount of water locked into a compound's crystal structure affects its color, its solubility, how it's stored, and how it's used industrially. Anhydrous copper(II) sulfate is a pale, almost white powder, while the pentahydrate is a striking blue — a color change so reliable that anhydrous copper sulfate is used as a simple test for the presence of water in an unknown liquid, turning blue the instant it absorbs moisture.
- Desiccants — some hydrates, and their anhydrous forms, are used to absorb moisture from the air in packaging and labs.
- Fertilizers and plaster — gypsum (CaSO4·2H2O) is heated to drive off part of its water to make plaster of Paris.
- Pharmaceuticals — the exact hydrate form of a drug compound can affect its stability, solubility, and shelf life.
- Quality control — measuring percent water confirms a hydrate sample is pure and hasn't picked up or lost extra moisture in storage.
- Analytical chemistry — the classic 'heat and reweigh' method taught in labs is a real technique used to verify a compound's identity and purity.
Common Mistakes When Calculating Water of Crystallization
The most frequent mistake is dividing by the wrong mass — percent water should be the mass of water divided by the mass of the whole hydrate (before heating), not the mass of the anhydrous residue. Another common error is not heating the sample long enough, or heating it too strongly and decomposing the anhydrous salt itself, both of which throw off the mass measurements and push the calculated mole ratio away from a clean whole number.
It's also easy to mix up which segment of a written formula is the water part, especially with formulas that have multiple bracketed groups — remember the water of crystallization is always the last segment, written directly before H2O, after the final dot or middle dot in the formula.
Frequently Asked Questions
What is the formula for percent water in a hydrate? Percent Water = (Mass of water ÷ Total mass of the hydrate) × 100, whether you get the water mass from a formula or from before-and-after heating masses.
What is water of crystallization? It's water that becomes chemically bonded into a crystal's structure in a fixed ratio when the compound crystallizes from a water solution, and it can be driven off by heating.
How do you find the formula of a hydrate experimentally? Heat a weighed sample until the mass stops changing, then divide the moles of water lost by the moles of anhydrous residue left behind — round that ratio to the nearest whole number to get n in [Salt]·nH2O.
Why does the mole ratio need to be a whole number? Water molecules occupy fixed, specific positions in a hydrate's crystal lattice, so a correctly identified hydrate always has a whole-number ratio of water to the anhydrous compound.
Does this calculator work for any hydrate? Yes — as long as the formula is written with the water part last (like Na2CO3·10H2O), or you have before-and-after heating masses and a molar mass for the anhydrous salt, it works for any hydrate.
Frequently Asked Questions
What is the formula for percent water of crystallization?
Percent Water = (Mass of water ÷ Total mass of the hydrate) × 100. The water's mass can come from a written formula (n × 18.015 g/mol) or from the mass lost on heating a real sample.
How do I calculate the percent water in CuSO4·5H2O?
Add 5 × 18.015 = 90.08 g/mol for the water to CuSO4's molar mass of 159.61 g/mol, giving 249.69 g/mol total. Percent water = (90.08 ÷ 249.69) × 100 ≈ 36.1%.
How do you find the formula of an unknown hydrate?
Heat a weighed sample to constant mass, find the moles of water lost and the moles of anhydrous residue, then divide moles of water by moles of residue. Round that ratio to the nearest whole number to get n in [Salt]·nH2O.
Why do you heat a hydrate to find its water content?
Heating drives off the water of crystallization as vapor without decomposing most stable anhydrous salts, so the mass lost during heating is a direct, measurable stand-in for the mass of water that was locked in the crystal.
What if my mole ratio isn't a whole number?
A ratio like 4.8 or 5.2 usually still rounds to a whole number like 5, but a result that's far from any whole number usually points to incomplete heating, moisture reabsorbed after cooling, or a weighing mistake, rather than an unusual hydrate.
Is water of crystallization the same as water of hydration?
Yes, the two terms are used interchangeably in chemistry to describe water molecules that are structurally bound within a crystalline compound.