Organic Chemistry · Alkenes: Structure and Reactivity
Calculating the Degree of Unsaturation
On this page 9 sections
In 30 seconds
Given only a molecular formula The exact atom count of a molecule, e.g., C4H8. Full entry →, how much can you know before drawing anything? The degree of unsaturation (also called the index of hydrogen deficiency, IHD) is the first piece of structural information a chemist extracts from a formula: the total number of rings plus π bonds. A single number instantly separates a saturated alkane from an alkene and flags a benzene ring A closed loop of atoms in a molecule. Full entry → (IHD 4) long before any spectroscopy.
The calculation is bookkeeping built on one reference point — the saturated, acyclic alkane CnH2n+2. Every ring or π bond removes two hydrogens from that reference, so the IHD is half the "missing" hydrogen count. This topic develops the formula, explains the special handling of halogens, nitrogen, and oxygen, and shows how the result is used with IR and NMR data to propose structures.
Why this matters
IHD is the standard first step of every structure-determination problem and a routine exam question. When mass spectrometry gives the molecular formula of an unknown, your first calculation is the IHD, because it immediately narrows the possibilities: IHD 0 means no rings and no π bonds; IHD 4 with six carbons strongly suggests an aromatic ring; IHD 2 might be a diene, an enyne, a ring plus an alkene, or an alkyne. It also matters in real analytical chemistry — drug impurity identification, flavor chemistry, and metabolomics all begin with formula-level reasoning. The halogen and nitrogen corrections are classic trap points, which is exactly why this topic deserves careful study.
The college version
Core Concepts
The reference: a saturated acyclic alkane
For a hydrocarbon, the saturated, acyclic reference is CnH2n+2: methane (CH4), ethane (C2H6), and octane (C8H18) all fit. The formula follows from tetravalent carbon: in a chain of n carbons, the two ends each carry three hydrogens and the n-2 interior carbons carry two, giving 2 × 3 + (n-2) × 2 = 2n + 2 hydrogens.
What removes hydrogens: rings and π bonds
Forming a ring joins two chain ends, removing two hydrogens (the ends no longer need terminal C–H bonds). Forming a double bond also removes two hydrogens (two carbons each give up one H to share the extra bond pair). A triple bond removes four hydrogens — it counts as two units of unsaturation. Each ring or π bond therefore represents one "degree of unsaturation":
Degree of unsaturation = 12(2nC + 2 - nH) (hydrocarbons only)
For example, ethene C2H4: (2 × 2 + 2 - 4)/2 = 1, matching its one double bond. Cyclohexane C6H12: (12 + 2 - 12)/2 = 1, matching its one ring.
Handling halogens, oxygen, and nitrogen
Real molecules contain heteroatoms, and each needs a rule:
- Halogens (F, Cl, Br, I) are monovalent and occupy the same "slot" as hydrogen — count each halogen as a hydrogen: add nX to nH.
- Oxygen (and sulfur) are divalent and insert into the skeleton without changing the hydrogen count — ignore them.
- Nitrogen is trivalent: compared with the carbon-only reference, each nitrogen adds one hydrogen to the count — add nN.
The complete formula is:
IHD = 2nC + 2 + nN - nH - nX2
where nX is the total number of halogen atoms. Check with methylamine, CH3NH2: (2 + 2 + 1 - 5)/2 = 0 — correct, a saturated acyclic amine.
Reading the result
The IHD counts rings and π bonds together; it does not tell you which. An IHD of 1 could be one ring or one double bond; an IHD of 2 could be two double bonds, one triple bond, a ring plus a double bond, or two rings. Combine the IHD with other evidence: IR shows which functional groups are present (Topic 12.6), NMR shows connectivity, and IHD 4 in a six-carbon molecule usually means an aromatic ring (3 π bonds + 1 ring). The IHD must be a non-negative integer; a fractional or negative result means the formula (or the heteroatom bookkeeping) is wrong.
The nitrogen rule tie-in
The IHD formula also explains the classic mass-spectrometry fact that an odd molecular mass indicates an odd number of nitrogens. With no nitrogen, a saturated acyclic molecule has an even hydrogen count (2n + 2), so C, H, O, and halogens sum to an even nominal mass. Each nitrogen adds one hydrogen (and contributes an even mass of 14), flipping the parity — which is why a chemist seeing an odd molecular ion immediately suspects nitrogen. Same parity logic, same bookkeeping.
Common Confusions
| Do Not Confuse | With | Difference |
|---|---|---|
| Halogens in the formula | ignored heteroatoms | Halogens are monovalent and count as hydrogens (subtract them); oxygen and sulfur are ignored. |
| Nitrogen contribution | hydrogen contribution | Each nitrogen adds 1 to the numerator; forgetting this makes nitrogen compounds come out one unit too low. |
| IHD = 1 meaning | a double bond specifically | IHD 1 is one ring OR one double bond; additional data decide. |
| Triple bond IHD | double bond IHD | A triple bond is 2 units of unsaturation (removes 4 H). |
| Degree of unsaturation | number of rings | IHD counts rings and π bonds together, not rings alone. |
| Fractional IHD | valid result | IHD must be a non-negative integer; a fraction signals an incorrect formula. |

Eli explains
The same idea, in plain words
Explain it like I’m 10
Imagine a line of kids holding hands. A "saturated" line has every kid holding two neighbors' hands, with the two end kids each holding one hand out. If two kids at the ends join hands to make a circle, or two neighbors hold both hands with each other, two free hands disappear. The degree of unsaturation counts how many times free hands disappeared — one point for every circle or double-hold.
Worked example
Example 1 — Butene isomers. The formula C4H8 describes several compounds. Calculate the IHD, then list what structures are possible. Write the formula, substitute:
IHD = 2(4) + 2 - 82 = 10 - 82 = 1
An IHD of 1 means either one ring (cyclobutane, methylcyclopropane) or one double bond (1-butene, 2-butene, 2-methylpropene). The formula alone cannot choose among them — confirming that IHD narrows, but does not identify.
Example 2 — A molecule with nitrogen and halogen. Calculate the IHD of C3H6ClN (the formula of 1-chloro-2-propanamine). Apply the full formula with nN = 1 and nX = 1:
IHD = 2(3) + 2 + 1 - 6 - 12 = 6 + 2 + 1 - 72 = 22 = 1
The molecule has one degree of unsaturation — a double bond or a ring — consistent with, for example, the allylic chloride CH2=CH–CH(Cl)–NH2 (IHD 1, from the double bond).
Example 3 — The aromatic fingerprint. Calculate the IHD of benzene, C6H6:
IHD = 2(6) + 2 - 62 = 14 - 62 = 4
Four degrees of unsaturation = three π bonds plus one ring. Whenever a formula like CnH2n-6 (IHD 4) appears with six or more carbons, an aromatic ring is the leading hypothesis.
Example 4 — Checking with dimensional logic. A student reports the formula C5H11 and computes IHD = (10 + 2 − 11)/2 = 0.5. Explain the error. Answer: The count of hydrogens is wrong — a neutral molecule of five carbons with one double bond would be C5H10 (IHD 1) and a saturated one C5H12 (IHD 0). C5H11 has an odd hydrogen count, impossible for a neutral hydrocarbon, and the fractional IHD flags the mistake. (An odd H count is only possible with an odd number of nitrogens, which would change the formula.)
Key takeaways
- IHD = number of rings + number of π bonds in a molecule.
- Formula: IHD = (2nC + 2 + nN - nH - nX)/2.
- Halogens count as hydrogens; oxygen and sulfur are ignored; each nitrogen adds 1.
- A triple bond counts as 2 units (one σ + two π, removing 4 H).
- Benzene C6H6: IHD = 4 (3 π bonds + 1 ring) — the classic aromatic fingerprint.
- IHD = 0 means saturated, acyclic: all single bonds, no rings.
- IHD must be a non-negative integer; fractional results indicate an error.
- Use IHD together with IR/NMR to decide between ring vs. π bond possibilities.
Check yourself
6 review questions from the chapter. Try each one, then open the answer.
Write the general IHD formula and define each term.
Show answer
IHD = (2nC + 2 + nN - nH - nX)/2, where nC, nN, nH, nX are the counts of carbons, nitrogens, hydrogens, and halogens.
Calculate the IHD of C4H6 and list two structural interpretations.
Show answer
IHD = (8 + 2 - 6)/2 = 2. Interpretations: one triple bond (e.g., 1-butyne), two double bonds (1,3-butadiene), or a ring plus a double bond (e.g., methylenecyclopropane).
Why are halogen atoms counted as hydrogens in the formula?
Show answer
Because halogens are monovalent like hydrogen: replacing an H with a halogen does not change the hydrogen count of the reference, so each halogen is "returned" to the count as if it were H.
What is the IHD of C7H8 (toluene), and what does it suggest?
Show answer
IHD = (14 + 2 - 8)/2 = 4 — consistent with an aromatic ring (3 π + 1 ring), as in toluene.
A compound has the formula C5H9NO. Calculate the IHD.
Show answer
IHD = (10 + 2 + 1 - 9)/2 = 4/2 = 2. Two units: e.g., a ring plus a carbonyl, or two π bonds.
Why must a neutral hydrocarbon have an even number of hydrogens?
Show answer
The saturated acyclic reference CnH2n+2 has an even hydrogen count, and every ring or π bond removes hydrogens two at a time, so parity is preserved.
Study tools & related lessonsKey vocabulary · Related
Key vocabulary
- degree of unsaturation (IHD)
- The number of rings plus π bonds implied by a molecular formula.
- saturated compound
- A molecule with only single bonds and no rings (alkanes).
- π bond
- A bond formed by sideways overlap of p orbitals; part of double and triple bonds.
- ring
- A closed loop of atoms in a molecule.
- nitrogen rule
- A molecule with an odd nominal mass contains an odd number of nitrogens.
- molecular formula
- The exact atom count of a molecule, e.g., C4H8.
Sources & references
This lesson was adapted from the open educational references above; their licenses and attributions are preserved. See Copyright & Licensing.
Educational content only. It is not medical, legal or professional advice. Found an error? Tell us.

