Degree of Unsaturation Formula: How to Calculate It
The degree of unsaturation formula tells you how many rings and pi bonds a molecule contains, using only its molecular formula. Each ring or double bond counts as one, and each triple bond counts as two. For a compound made of carbon, hydrogen, nitrogen and halogens (oxygen and sulfur are ignored):

Degrees of unsaturation = (2C + 2 + N − H − X) ÷ 2
Here C, N, H and X are the numbers of carbon, nitrogen, hydrogen and halogen atoms. A result of 0 means a saturated molecule with no rings and no multiple bonds. Chemists also call this number the index of hydrogen deficiency (IHD).
What does a degree of unsaturation mean?
One degree of unsaturation is either one ring or one pi bond. A saturated, open-chain hydrocarbon has the maximum possible number of hydrogens: 2C + 2. Every ring or pi bond removes two hydrogens from that maximum, which is why the formula divides by 2.
| Feature | Degrees of unsaturation |
|---|---|
| Ring | 1 |
| Double bond (C=C or C=O) | 1 |
| Triple bond | 2 |
| Benzene ring (1 ring + 3 double bonds) | 4 |
If you need a reminder of what a pi bond is, read sigma and pi bonds.
How to calculate degrees of unsaturation
- Write down the molecular formula, for example C₆H₈.
- Count C, H, N and the halogens (F, Cl, Br, I).
- Treat each halogen as if it were a hydrogen: add X to H.
- Ignore oxygen and sulfur.
- Add 1 for every nitrogen atom.
- Put the numbers into the formula and divide by 2.
The result must be a whole number. If it is a fraction or negative, recheck the formula.
Degrees of unsaturation examples
| Compound | Formula | Calculation | Result | Meaning |
|---|---|---|---|---|
| Ethane | C₂H₆ | (4 + 2 − 6) ÷ 2 | 0 | Saturated |
| Ethene | C₂H₄ | (4 + 2 − 4) ÷ 2 | 1 | One C=C |
| Ethyne | C₂H₂ | (4 + 2 − 2) ÷ 2 | 2 | One C≡C |
| Cyclohexane | C₆H₁₂ | (12 + 2 − 12) ÷ 2 | 1 | One ring |
| Benzene | C₆H₆ | (12 + 2 − 6) ÷ 2 | 4 | Ring + 3 C=C |
| Chloroethane | C₂H₅Cl | (4 + 2 − 5 − 1) ÷ 2 | 0 | Saturated |
| Ethanol | C₂H₆O | (4 + 2 − 6) ÷ 2 | 0 | Oxygen ignored |
| Pyridine | C₅H₅N | (10 + 2 + 1 − 5) ÷ 2 | 4 | Ring + 3 C=C/C=N |
| Glucose | C₆H₁₂O₆ | (12 + 2 − 12) ÷ 2 | 1 | One ring (or one C=O) |
Take C₄H₈O. Oxygen is ignored, so the sum is (8 + 2 − 8) ÷ 2 = 1. That could be a ring, as in tetrahydrofuran, or a C=O, as in butanone, or a C=C, as in an unsaturated alcohol. The formula alone cannot tell them apart.
Why are oxygen and halogens treated differently?
Oxygen and sulfur form two bonds, so they can slot into a chain without changing the hydrogen count. They do not affect the number of rings or pi bonds. Halogens form one bond, so they take the place of a hydrogen; that is why you add them to H. Nitrogen forms three bonds, so each nitrogen lets the molecule hold one extra hydrogen, hence the +N.
Limits of the formula
- It does not tell you whether a degree of unsaturation is a ring or a pi bond.
- It cannot separate a C=C from a C=O.
- It does not work for ions, radicals or inorganic salts.
- Use infrared and NMR data, or the functional groups in the functional groups guide, to decide what the unsaturation actually is.
Common mistakes
- Counting oxygen. Leave O and S out.
- Forgetting nitrogen. Add 1 for each N.
- Subtracting halogens twice. Subtract X once, as you would H.
- Counting a triple bond as one. A triple bond is two degrees.
- Forgetting benzene is 4. Any ring with three double bonds is already four degrees.
Frequently asked questions
What is the degrees of unsaturation formula?
The formula is DoU = (2C + 2 + N − H − X) ÷ 2, where C, N, H and X are the numbers of carbon, nitrogen, hydrogen and halogen atoms. Oxygen and sulfur are ignored. The answer is the total number of rings plus pi bonds in the molecule.
How do you calculate degrees of unsaturation with nitrogen?
Add one to the top of the formula for every nitrogen atom. For pyridine, C₅H₅N, the calculation is (2×5 + 2 + 1 − 5) ÷ 2 = 4. Nitrogen forms three bonds, so each N supports an extra hydrogen compared with a carbon-only chain.
What does a degree of unsaturation of 4 mean?
A value of 4 often points to a benzene ring, which counts as one ring plus three double bonds. It can also be other combinations, such as four rings or two triple bonds. Spectroscopy is needed to confirm the actual structure.
Is index of hydrogen deficiency the same as degrees of unsaturation?
Yes. Index of hydrogen deficiency (IHD), double bond equivalents (DBE) and degrees of unsaturation are three names for the same number, calculated with the same formula.
Try it yourself
Build C₂H₄, C₂H₂ and C₆H₆ in the Molecule Builder and count each ring and each extra line in a double or triple bond. Then check your count against the formula and the table above.
See it for yourself, in 3D and free.
Try it in the Molecule Builder