A degree of unsaturation calculator tells you how many rings and double or triple bonds a molecule has, using only its molecular formula. Enter the number of carbon, hydrogen, nitrogen and halogen atoms and it returns the degree of unsaturation, also called the index of hydrogen deficiency or the double bond equivalents.
How to use the degree of unsaturation calculator
- Enter the number of carbon and hydrogen atoms.
- Add nitrogen and halogen atoms if the formula has them.
- Press Calculate.
What it measures
The degree of unsaturation is the total number of rings plus π bonds in a molecule [1]. Each double bond is one π bond and each triple bond is two, so a triple bond counts 2. The page notes that the number does not tell you how the total divides between rings and bonds [1]. It is a quick first step in working out a structure from a formula, for example before reading a spectrum.
The formula
The page writes the simplified formula as rings plus π bonds = C − H/2 − X/2 + N/2 + 1, where C, H, X and N are the numbers of carbon, hydrogen, halogen and nitrogen atoms [1]. It gives the same expression in its explanation section as IHD = C + 1 + N/2 − H/2 − X/2 [1]. The calculator uses it as written. Each halogen is treated like a hydrogen, and each nitrogen adds one half.
Oxygen and sulfur
Oxygen and other atoms with a valence of two do not contribute, because the general formula gives each atom of valence v a contribution of v − 2, which is zero for them [1]. That is why the calculator has no box for oxygen. Sulfur has the same valence of two in its usual compounds, so it is also left out, which is our own inference from the rule. The general formula, DU = ½ Σ nᵢ (vᵢ − 2) + 1, sums over all atoms [1].
Worked examples
The pages that we read give no numeric examples, so these are our own calculations. Benzene, C₆H₆, has 6 + 1 − 3 = 4: three double bonds and one ring. Cyclohexane, C₆H₁₂, has 6 + 1 − 6 = 1, the ring. Hexane, C₆H₁₄, has 0 and is saturated and acyclic. Pyridine, C₅H₅N, has 5 + 1 + 0.5 − 2.5 = 4. Chloroethane, C₂H₅Cl, has 2 + 1 − 2.5 − 0.5 = 0. Ethanol, C₂H₆O, also has 0, because oxygen does not count.
Reading the result
A result of 0 means a saturated, non-cyclic molecule. A result of 1 means one ring or one double bond. A result of 4 or more in a molecule with six or more carbons suggests an aromatic ring, since benzene has exactly 4. Combine the number with other data, such as infrared or NMR spectra, to decide among the possibilities.
Invalid results
The answer must be a whole number that is not negative for a normal neutral molecule. A half-integer such as 2.5 means that an atom count is wrong, since the hydrogens and halogens together must have the same parity as the carbon and nitrogen valences allow. A negative value means the formula has too many hydrogens for the carbons. The calculator then asks you to check the formula.
Beyond the basic formula
Phosphorus, with a valence of three or five, and charged species follow the general formula with the right valence. The calculator keeps to the four atoms in the simplified formula, which covers most organic compounds in a textbook problem. For others, apply the general formula by hand.
From formula to structure
Once you have the number, list the ways it could be made up. A value of 2 could be two double bonds, one triple bond, two rings, or one ring and one double bond. Spectra settle the choice: infrared shows carbonyl and triple bond stretches, and proton and carbon NMR show the carbons in double bonds and rings. The calculator narrows the search, but does not replace the spectra.
Using it with mass spectrometry
A mass spectrum often gives the molecular formula, through a high-resolution mass. Enter the formula you obtain and check the result for sense: a very high number for a small molecule is a sign that the assignment is wrong. A whole number is also a quick check that the hydrogen count is plausible, since an odd count of hydrogens plus halogens with no nitrogen can never fit.
Practice
Try caffeine, C₈H₁₀N₄O₂, which gives 8 + 1 + 2 − 5 = 6, two rings and four double bonds. Try acetic acid, C₂H₄O₂, which gives 1, the carbonyl double bond. Try styrene, C₈H₈, which gives 5: the benzene ring contributes 4 and the vinyl group 1. Each result matches the structure you would draw.
A note on ions and radicals
The formula is written for stable, neutral molecules. For an ion, adjust the hydrogen count by the charge first, and for a radical, expect a half-integer result. If you are working with a salt, apply the calculation to the organic part only.
Common mistakes
- Counting oxygen. Oxygen does not change the result.
- Forgetting halogens. Each halogen counts like a hydrogen.
- Reading 4 as four double bonds only. The number includes rings.
- Entering the ionic formula of a salt. The formula is meant for covalent molecules.
What next
Use this often? Add Degree of Un to your Home screen.
Frequently asked questions
What is a degree of unsaturation calculator?
A tool that gives the number of rings plus pi bonds in a molecule from its molecular formula.
What is the formula?
DoU = C + 1 + N/2 − H/2 − X/2, where X is the number of halogens. Oxygen does not count.
What is the degree of unsaturation of benzene?
4, which is three double bonds and one ring.
Does oxygen affect the result?
No. Oxygen and other divalent atoms contribute zero.
What does a degree of unsaturation of zero mean?
The molecule is saturated and has no rings.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.