Degree of Unsaturation Calculator

Quick answer

The degree of unsaturation calculator finds how many rings and π bonds a molecule has from its numbers of carbon, hydrogen, nitrogen and halogen atoms or straight from a molecular formula, and can also work backwards to the hydrogen count that fits a given degree of unsaturation.

Degree of unsaturation (rings + π bonds)
5
Formula used
C₁₀H₁₄N₂
Hydrogens in the saturated, acyclic analogue
24
Missing hydrogens
10
What it means
5 rings and π bonds in total. Four or more with six or more carbons often points to a benzene ring (one ring + three C=C).
Calculation
Saturated reference: C10 with 2 N and 0 halogens could carry 2×10 + 2 + 2 − 0 = 24 hydrogens. It has 14, so it lacks 10 hydrogens = 5 pairs. Oxygen and sulfur do not change the result.

The degree of unsaturation (DoU), also called the index of hydrogen deficiency (IHD) or rings plus double bonds, is the first thing organic chemists work out when they meet a new molecular formula. It counts how many pairs of hydrogen atoms the molecule is “missing” compared with a saturated, open-chain compound with the same skeleton, and every missing pair corresponds to one ring or one π bond.

An acyclic alkane CₙH₂ₙ₊₂ has DoU = 0. Each ring or double bond (C=C, C=O, C=N) removes two hydrogens and adds one to the count; a triple bond removes four and adds two. Halogens take the place of hydrogens, so they are counted like H. Nitrogen brings one extra bonding position, so each N allows one more hydrogen. Oxygen and sulfur slot into a chain without changing the hydrogen count, so they are simply ignored.

The number narrows down the possible structures before you even look at a spectrum: DoU = 4 with six or more carbons strongly suggests a benzene ring, DoU = 1 in a compound with oxygen hints at a C=O or a ring, and a negative or fractional value tells you the formula has been copied wrongly.

How to use the Degree of Unsaturation Calculator

  1. What do you know?
  2. Molecular formula: e.g. C6H6, C5H5N, C2H3Cl, C9H8O4 (aspirin)
  3. Carbon atoms (C)
  4. Hydrogen atoms (H)
  5. Nitrogen atoms (N)
  6. Halogen atoms (X = F, Cl, Br, I)
  7. Oxygen / sulfur atoms (no effect)
  8. Degree of unsaturation

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

Enter the atom counts or type a formula (C and Si count as tetravalent, H and halogens as monovalent, N and P as trivalent; O, S and Se are ignored). The calculator works out the hydrogen count of the saturated reference, subtracts the actual number of hydrogens and halves the difference. In the reverse mode it starts from the degree of unsaturation and returns the number of hydrogens.

Worked example

Nicotine has C = 10, H = 14, N = 2 and no halogens. A saturated, acyclic compound with that skeleton could carry 2·10 + 2 + 2 = 24 hydrogens. Nicotine has 14, so 10 hydrogens (5 pairs) are missing: DoU = (24 − 14) / 2 = 5. The structure has a pyridine ring (one ring + three double bonds = 4) and a pyrrolidine ring (1), which adds up to 5. Working backwards, a C₆ compound with DoU = 4 and no N or X must have 2·6 + 2 − 2·4 = 6 hydrogens: C₆H₆, benzene.

Degree of unsaturation of familiar molecules

Compound Formula DoU Rings + π bonds
Hexane C₆H₁₄ 0 none
Cyclohexane C₆H₁₂ 1 1 ring
Ethene C₂H₄ 1 1 C=C
Acetone C₃H₆O 1 1 C=O
Glucose C₆H₁₂O₆ 1 1 ring (or C=O in the open form)
Acetylene C₂H₂ 2 1 C≡C
Benzene C₆H₆ 4 1 ring + 3 C=C
Pyridine C₅H₅N 4 1 ring + 2 C=C + 1 C=N
Aspirin C₉H₈O₄ 6 benzene ring + 2 C=O
Naphthalene C₁₀H₈ 7 2 rings + 5 C=C

Tips

  • Count halogens like hydrogens and ignore oxygen and sulfur in degree-of-unsaturation formulas.
  • Balance combustion with O₂ last: it is the easiest to adjust.
  • Use dry mass for combustion analysis and protein content.
  • Everything is calculated in your browser.

Common mistakes to avoid

  • Counting nitrogen like a hydrogen in degree of unsaturation (it subtracts one H).
  • Forgetting that one mole of CO₂ contains one mole of C.
  • Using the wrong Kjeldahl factor (6.25 is generic).

Formula

DoU = (2C + 2 + N − H − X) / 2 · H(saturated) = 2C + 2 + N − X · H = 2C + 2 + N − X − 2·DoU · O and S are ignored

Worked example

Inputs: What do you know?: Atom counts – find DoU; Carbon atoms (C): 10; Hydrogen atoms (H): 14; Nitrogen atoms (N): 2; Halogen atoms (X = F, Cl, Br, I): 0; Oxygen / sulfur atoms (no effect): 0.
Results: Degree of unsaturation (rings + π bonds) = 5; Number of hydrogen atoms = 14; Formula used = C₁₀H₁₄N₂; Hydrogens in the saturated, acyclic analogue = 24; Missing hydrogens = 10; What it means = 5 rings and π bonds in total. Four or more with six or more carbons often points to a benzene ring (one ring + three C=C)..

Key terms

Degree of unsaturation (DoU)
Number of rings plus π bonds in a molecule, calculated from the molecular formula.
Index of hydrogen deficiency (IHD)
Another name for DoU: pairs of hydrogens missing relative to the saturated acyclic compound.
π bond
The second (and third) bond in a double or triple bond.
Saturated compound
A compound with only single bonds and no rings, CₙH₂ₙ₊₂ for alkanes.

Frequently asked questions

What is the formula for degree of unsaturation?

DoU = (2C + 2 + N − H − X) / 2, where C, H, N and X are the numbers of carbon, hydrogen, nitrogen and halogen atoms. Oxygen and sulfur are left out.

What is the degree of unsaturation of benzene?

C₆H₆: (2·6 + 2 − 6) / 2 = 4, which is one ring plus three C=C double bonds.

Why are oxygen atoms ignored?

Oxygen is divalent: inserting it into a C–H or C–C bond (–O–) does not change the number of hydrogens, so CH₃CH₃ and CH₃OCH₃ both have DoU = 0.

Why does nitrogen add one?

Trivalent nitrogen has one more bonding position than it uses in a chain, so a saturated amine carries one extra hydrogen: CH₃NH₂ is CH₅N, and (2 + 2 + 1 − 5) / 2 = 0.

Does a triple bond count as one or two?

Two. C≡C or C≡N removes four hydrogens, so acetylene C₂H₂ has DoU = 2, the same as a diene, which is why the formula alone cannot tell them apart.

What is the degree of unsaturation of aspirin?

C₉H₈O₄: (18 + 2 − 8) / 2 = 6, which is the benzene ring (4) plus two C=O groups.

What does a degree of unsaturation of 4 or more mean?

With six or more carbons it often signals an aromatic ring. Nicotine, C₁₀H₁₄N₂, has DoU = 5: a pyridine ring (4) and a saturated pyrrolidine ring (1).

Can the degree of unsaturation be negative or a fraction?

Not for a neutral, stable molecule. A negative value means too many hydrogens; a half-integer value means an odd count of H + X + N, i.e. a radical, an ion or a typo.

Sources

  1. OpenStax: Organic Chemistry
  2. IUPAC Compendium of Chemical Terminology (Gold Book)
  3. LibreTexts Chemistry

Cite this calculator

Speedy Calculator. (2026). Degree of Unsaturation Calculator. Speedy Calculator. https://speedycalculator.com/calculators/chemistry/degree-of-unsaturation/