Degree of Unsaturation Calculator

Calculate the degree of unsaturation (also called DBE or IHD) from molecular formula.

Science DoU = DBE = IHD Rings + π bonds Charged ions
Rate this calculator · 3.0 (1)

Degree of unsaturation

(2C + 2 + N − H − X + q) / 2

Instructions — Degree of Unsaturation Calculator

  1. Enter atom counts — number of carbons (C), hydrogens (H), nitrogens (N), and halogens combined (X = F + Cl + Br + I). Oxygen, sulfur, and selenium are ignored — they don't change the count.
  2. Add charge if the species is an ion — q = +1 for cations, −1 for anions, 0 for neutral molecules.
  3. Read the result — the number equals total rings plus π bonds. A triple bond counts as 2 degrees, a double bond as 1, each ring as 1.
  4. Use a preset — benzene, pyridine, acetone, chloroform autofill for verification.

Formulas

Main formula: DoU = (2C + 2 + N − H − X + q) / 2

Variables: C = carbon count, H = hydrogen count, N = nitrogen count, X = halogen count (F + Cl + Br + I), q = net charge (positive for cation, negative for anion).

What DoU counts: DoU = number of rings + number of π bonds. A triple bond contains 2 π bonds and counts as 2 DoU. A double bond counts as 1. Each ring closure counts as 1.

Saturated hydrocarbon baseline: H_max = 2C + 2 for neutral CₙH_(2n+2). Every missing pair of hydrogens adds one degree of unsaturation.

Why oxygen is ignored: Oxygen is divalent and substitutes for two hydrogens, leaving the count unchanged. Sulfur, selenium behave identically.

Reference

DoU = 4 is the benzene signature. One aromatic ring (1) plus three π bonds (3) = 4 degrees. Spotting DoU = 4 plus an aromatic IR signal is the fastest way to identify a phenyl group from a molecular formula.

Halogens behave like hydrogen. F, Cl, Br, I each take one bonding position that would otherwise hold H. CHCl₃ has DoU = 0 because chlorine fills three H slots without removing degrees.

Nitrogen adds, not subtracts. Trivalent N replaces a CH unit and gains one H — that's why the formula adds N, not subtracts it. A useful sanity check: aniline (C₆H₇N) has DoU = 4, matching its benzene ring.

Article — Degree of Unsaturation Calculator

Degree of unsaturation calculator: rings plus π bonds

Degree of unsaturation (DoU), also written as DBE or IHD, equals the total number of rings plus π bonds in a molecule. Compute it from molecular formula with DoU = (2C + 2 + N − H − X + q) / 2. Benzene scores 4. Saturated alkanes score 0.

Organic chemists reach for this number the moment a mass spectrum hands them an empirical formula. Before drawing structures or running NMR, DoU narrows the candidate list by ruling out impossible architectures. A formula scoring zero rules out rings and double bonds entirely; a formula scoring four with an aromatic IR signal almost certainly contains a phenyl group.

What is degree of unsaturation?

Degree of unsaturation counts the total hydrogen deficit relative to a fully saturated reference compound. A saturated, neutral hydrocarbon CₙH_(2n+2) sets the baseline — methane, ethane, propane all score zero. Every time the molecule loses two hydrogens, either by forming a ring or by introducing a π bond, the score rises by one.

The same parameter goes by three names: degree of unsaturation (DoU), double bond equivalent (DBE), and index of hydrogen deficiency (IHD). They mean the same thing — the count of rings plus π bonds — and use the same formula. Pick whichever name your textbook prefers.

Did you know

The concept predates spectroscopy. Nineteenth-century chemists used hydrogen-deficit reasoning to deduce molecular structures from elemental analysis alone. Before instruments, the formula was almost everything you had.

The degree of unsaturation formula

The standard formula uses five inputs:

Degree of unsaturation
DoU = (2C + 2 + N − H − X + q) / 2
C carbon atoms
H hydrogen atoms
N nitrogen atoms
X halogens (F + Cl + Br + I)
q net charge (+1 cation, −1 anion)

Oxygen, sulfur, and selenium are ignored. Group 16 elements form two bonds, so swapping an O for a CH₂ leaves the hydrogen count unchanged. Halogens act like hydrogens — one halogen replaces one H — and subtract from the numerator. Nitrogen is trivalent and uniquely adds to the numerator, raising the saturated baseline by one H per N atom.

How to calculate degree of unsaturation

The recipe is four mechanical steps:

  1. List atom counts from the molecular formula. Combine all halogens into a single X value.
  2. Compute the numerator 2C + 2 + N − H − X + q.
  3. Divide by 2 to get DoU.
  4. Interpret the integer result: each unit is either a ring or a π bond.

Naphthalene illustrates: C₁₀H₈ gives (20 + 2 − 8)/2 = 7. The molecule has two fused benzene rings (2 rings) plus five C=C double bonds (5 π bonds), totaling 7. The arithmetic doesn't care whether unsaturation is split between rings and π bonds — it returns the total.

Worked degree of unsaturation examples

Five canonical molecules to anchor the intuition:

  • Methane CH₄ → DoU = (2 + 2 − 4)/2 = 0. Saturated alkane.
  • Ethene C₂H₄ → DoU = (4 + 2 − 4)/2 = 1. One C=C double bond.
  • Acetylene C₂H₂ → DoU = (4 + 2 − 2)/2 = 2. One C≡C triple bond (2 π bonds).
  • Benzene C₆H₆ → DoU = (12 + 2 − 6)/2 = 4. One ring + three π bonds.
  • Chloroform CHCl₃ → DoU = (2 + 2 − 1 − 3)/2 = 0. Halogen substitutes for H.
DoU 4
Benzene
1 ring + 3 π
Aromatic, planar, six C atoms
DoU 1
Cyclohexane
1 ring, 0 π
Same C count, fully saturated

Degree of unsaturation in spectroscopy

DoU shines as a sanity check during structure elucidation. Mass spectrometry gives a molecular formula. IR shows which functional groups are present. NMR shows the carbon-hydrogen framework. DoU ties everything together: it must equal the sum of rings, double bonds, and triple bonds in any structure you propose.

If DoU = 5 and IR shows a strong C=O stretch near 1715 cm⁻¹, one degree is the carbonyl. The remaining four points to an aromatic ring (4 degrees from one benzene). The whole structure must contain at least one phenyl group plus a carbonyl — and you arrived there from formula and one IR band.

Tip

Match DoU to functional-group signatures: 1 = alkene, alkyne (2), or ring. 4 with aromatic IR (1600 cm⁻¹) = phenyl. 5 with C=O signal = phenyl + carbonyl. 7 = naphthalene or substituted benzene with carbonyl. 10+ = polyaromatic.

Charged ions and radicals

Mass spectrometry produces charged species, so the q term matters. For an even-electron cation like CH₃⁺, q = +1: DoU = (2 + 2 − 3 + 1)/2 = 1. The methyl cation has a vacant orbital that counts like a double-bond half — chemically it's an empty p orbital, but the bookkeeping treats it as one degree.

Radicals are trickier. An odd-electron species like the methyl radical CH₃· has an unpaired electron with no formal charge. Standard DoU returns a fractional value for radicals — that's the giveaway. If the formula scores 0.5 DoU, you're looking at a radical or you miscounted hydrogens.

Half-integer DoU means trouble

A degree of unsaturation that comes out as 0.5, 1.5, 2.5 etc. signals an odd numerator. Either the formula is wrong (most common cause), the charge was forgotten, or the species is a radical. Double-check before drawing any structure.

Degree of unsaturation pitfalls

Three errors trap students:

  • Counting halogens like hydrogens but adding them — they subtract. Treat F, Cl, Br, I exactly as you treat H.
  • Adding oxygen to the numerator — don't. Group 16 elements are invisible to DoU.
  • Forgetting that DoU doesn't distinguish rings from π bonds — cyclohexane and 1-hexene both score 1.

One more subtlety: phosphorus behaves like nitrogen (trivalent, adds to numerator) when it appears with three bonds. Five-coordinate phosphorus in phosphates is more complex and usually handled by treating PO₄ as a unit and computing DoU on the carbon skeleton alone. For routine organic chemistry the standard formula with C, H, N, X covers 99% of cases.

Did you know

Modern high-resolution mass spectrometers can determine empirical formulas to within parts per million. Combined with DoU, this often narrows a molecular formula to a single likely structure before any NMR data arrives — a workflow that's been standard in pharma analysis since the early 2000s.

FAQ

Degree of unsaturation (DoU), also called index of hydrogen deficiency (IHD) or double bond equivalent (DBE), counts the total number of rings plus π bonds in a molecule. Formula: DoU = (2C + 2 + N − H − X + q) / 2. A triple bond contributes 2 DoU; a double bond or ring contributes 1.
Benzene is C₆H₆. DoU = (2·6 + 2 + 0 − 6 − 0) / 2 = 8/2 = 4. That matches the structure: one ring plus three C=C π bonds. Any DoU = 4 with an aromatic IR signature points to a phenyl group.
Oxygen is divalent — it forms two bonds. Replacing a CH₂ unit with O leaves the hydrogen count unchanged, so oxygen contributes nothing to DoU. The same applies to sulfur, selenium, and tellurium (group 16 chalcogens).
Halogens (F, Cl, Br, I) substitute for hydrogen — one halogen replaces one H. Subtract them from the formula numerator just like hydrogen. CHCl₃ (chloroform) has C=1, H=1, X=3, giving DoU = (2+2−1−3)/2 = 0. Saturated, exactly as the structure shows.
It narrows the possibilities. DoU = 0 means a saturated alkane. DoU = 1 is one double bond or one ring. DoU = 4 strongly suggests benzene (verify with IR). For values above 5, expect polycyclic or polyunsaturated systems. DoU cannot distinguish isomers — cyclohexane and 1-hexene both score 1.
For cations (positive charge), add q to the numerator (q > 0 reduces the apparent hydrogen deficit). For anions, q is negative. Example: methyl cation CH₃⁺ has DoU = (2 + 2 − 3 + 1)/2 = 1. Always include the charge term when working with ions in mass spectrometry.
A half-integer DoU usually means the formula is wrong or you forgot a charge. Real molecules have integer DoU. Recheck the H count, the halogen count, and whether the species is a radical (odd electron count). Fractional DoU is a red flag, not a real chemical state.