The Formula Is Already Talking
In the previous guide you saw that a molecular formula cannot name a molecule — C4H8 might be a butene or a cyclobutane. But you also caught a first glimpse of something quietly powerful: every pair of hydrogens a formula is missing points to one ring or one extra bond. That little observation has a name, the [[degree-of-unsaturation|degree of unsaturation]] (also called the [[index-of-hydrogen-deficiency|index of hydrogen deficiency]], or IHD), and this guide turns it into a tool you can wield in seconds.
Start from the most generous case. An open-chain alkane — no rings, no double bonds, every carbon saturated with as many hydrogens as it can hold — follows the pattern CnH(2n+2). Two carbons carry six hydrogens (ethane, C2H6); five carbons carry twelve (C5H12). This is the hydrogen ceiling: for a given number of carbons, you simply cannot pack on any more H. A molecule sitting right at that ceiling is called saturated, and its degree of unsaturation is zero.
Now ask: what does it cost, in hydrogens, to fold or unsaturate that skeleton? Close two ends of a chain into a ring and the two carbons that join up must each give up one hydrogen to bond to each other instead — you lose exactly two H. Replace a single C-C bond with a double bond and again the two carbons each shed one H to share a second pair of electrons — again two H gone. So a ring and a double bond cost the same: one degree of unsaturation, two hydrogens each.
The Formula You Actually Use
For a molecule of carbon and hydrogen only, the recipe is just bookkeeping: figure out how many H a saturated chain of that many carbons would carry (2n+2), subtract the H you actually have, and divide by 2. That quotient is the degree of unsaturation. For C6H6 (benzene), a saturated six-carbon chain would hold 14 hydrogens; you have 6, so you are short 8, and 8 divided by 2 gives four degrees — one ring plus three double bonds, exactly the ring-with-alternating-bonds picture of benzene.
Other elements need small corrections, and each one has a tidy reason. Halogens (F, Cl, Br, I) act exactly like hydrogen — they cap one bond and take up one slot — so you simply add the number of halogens to your hydrogen count. Oxygen (and sulfur) you ignore entirely: a divalent atom slots into a chain without changing the hydrogen budget, like adding a bead to the middle of a necklace. Nitrogen is the odd one: being trivalent, each N actually lets the molecule carry one extra hydrogen, so you subtract the number of nitrogens.
DoU = ( 2*C + 2 + N - H - X ) / 2 C = carbons H = hydrogens N = nitrogens X = halogens (F,Cl,Br,I) O, S = ignore (divalent, no effect) examples: C6H6 -> (12+2+0-6-0)/2 = 4 (benzene) C4H8 -> (8+2+0-8-0)/2 = 1 (butene OR cyclobutane) C2H3Cl -> (4+2+0-3-1)/2 = 1 (vinyl chloride: one C=C) C5H5N -> (10+2+1-5-0)/2 = 4 (pyridine: ring + 3 'double bonds')
What One Degree Can Be
Here is the crucial honesty: the degree of unsaturation counts rings plus pi bonds, but it does not tell you which is which. One degree could be a single ring, like a cyclopropane. Or it could be one carbon-carbon double bond, an alkene. Or it could be a C=O of a carbonyl, the C=N of an imine — any one pi bond, anywhere, in any kind of bond. The formula sets the total budget; it stays silent on how you spend it.
And a triple bond is not a special new case — it is simply two pi bonds stacked on the same pair of carbons, so it eats two degrees, not one. An alkyne like HC≡CH (C2H2) has 2n+2 = 6 expected hydrogens but carries only 2, missing 4, giving two degrees — and indeed its triple bond is two pi bonds bundled together. Once you see that rings, double bonds, and triple bonds are all just ways of spending degrees, the arithmetic stops feeling like a trick and starts feeling like counting change.
Walking a Real Formula
Let the formula be C4H8O — say, a compound you suspect from a smell or a label. Do not panic about the oxygen; remember it is invisible to the count. Run the arithmetic and let the single degree it returns hand you a short, finite list of structures to consider, instead of an open-ended fog.
- Saturated ceiling for 4 carbons: 2n+2 = 2*4+2 = 10 hydrogens. Oxygen does not change this — ignore it.
- You actually have 8 H. Missing hydrogens: 10 - 8 = 2.
- Degrees of unsaturation: 2 / 2 = 1. So the molecule hides exactly one ring or one pi bond — no more, no less.
- Spend that one degree as a C=O and you land on butanal (an aldehyde) or butanone (a ketone). Spend it as a ring instead and you get oxetane or a methyl-oxirane (a small oxygen-containing ring). A C=C plus an O-H gives an unsaturated alcohol like but-3-en-1-ol.
Look at what just happened. From four atoms' worth of formula you cut the infinite question 'what is this?' down to a handful of named candidates, sorted by where you choose to place that single degree. You have not solved the structure — but you have built the suspect list, and built it before consulting any instrument.
Why It Earns Its Keep — and Where It Stops
The degree of unsaturation is the first move in structure elucidation, the detective craft of going from a sample to a structure. Much later you will read spectra — an IR band that screams carbonyl, an NMR pattern that maps the carbon skeleton — but those tools are most powerful when you already know the budget they have to fit inside. If the formula gives four degrees and the spectrum shouts 'aromatic ring,' those four degrees are likely spent and you should not go hunting for an extra hidden double bond.
Be honest about the limits, because beginners over-trust this number. It tells you the total of rings plus pi bonds and nothing else — not their identity, not their position, not how the atoms connect. A degree of unsaturation of zero is the one genuinely strong statement: zero means a saturated, acyclic molecule, with no rings and no multiple bonds anywhere. Any positive number is an invitation to draw possibilities, not a verdict. And the count assumes ordinary valences (carbon 4, nitrogen 3, oxygen 2); exotic species with charges, radicals, or higher-valent atoms can quietly break the simple formula.