StatGardenREF. DESK
Calculators/Chemistry/Degree of unsaturation (DBE)
Chemistry

Degree of unsaturation (DBE) calculator

Number of rings and pi bonds in a molecule from its molecular formula.

Published 25 September 2026

What this calculator does

The degree of unsaturation counts rings plus pi bonds from the molecular formula alone. Benzene, C₆H₆, gives 4: three double bonds and one ring.

It cannot tell you which is which. A result of 1 for C₆H₁₂ means either one ring or one double bond, so cyclohexane and hexene are indistinguishable by this calculation. What it does give you, before any spectroscopy, is a hard constraint on what structures are possible.

The formula

FormulaDoU = (2C + 2 + N − H − X) / 2 (halogens X count as H; O and S ignored)

The formula is (2C + 2 + N − H − X) over 2. Halogens count as hydrogens because they occupy one bonding position each. Oxygen and sulfur are ignored entirely, since inserting a divalent atom into a chain changes no bonding count. Nitrogen adds one because it is trivalent.

TermMeaning
Degree of unsaturationRings plus pi bonds. Also called degrees of unsaturation or double bond equivalents.
DBEDouble bond equivalents, the same quantity under another name.
SaturatedZero degrees of unsaturation: no rings, no multiple bonds.
Why oxygen is ignoredA divalent atom inserted into a chain adds no constraint, so it does not affect the count.

The inputs explained

FieldWhat to enter
Carbon atoms (C)Number of carbon atoms.
Hydrogen atoms (H)Number of hydrogen atoms.
Nitrogen atoms (N)Number of nitrogen atoms. Each adds one to the numerator.
Halogen atoms (X)Number of halogen atoms. These count as hydrogens.

When to use it

Interpreting a mass spectrum

A molecular formula from high-resolution mass spectrometry immediately gives the degree of unsaturation, constraining the structure.

Checking a proposed structure

A drawn structure must have the same ring and pi bond count as its formula implies, which is a quick error check.

Identifying aromatics

A value of 4 or more in a small molecule strongly suggests a benzene ring.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

What does each hydrogen count imply?

The same carbon skeleton with different hydrogen counts.

Six carbons, no nitrogen or halogen
Hydrogen atomsDegree of unsaturationRings + π bondsInterpretation
C₆H64.04.0has rings and/or multiple bonds
C₆H102.02.0has rings and/or multiple bonds
C₆H121.01.0has rings and/or multiple bonds
C₆H140.00.0fully saturated, no rings or pi bonds
C₆H₁₄ is hexane, fully saturated at zero. Each pair of hydrogens removed adds one degree, so C₆H₁₂ could be cyclohexane or hexene, and C₆H₆ reaches 4, which for six carbons is the signature of benzene: three double bonds plus the ring.

Questions

Why is oxygen ignored?

Because oxygen is divalent, so inserting it into a chain simply lengthens the chain without changing how many hydrogens the molecule can hold. Ethanol and dimethyl ether are both C₂H₆O and both have zero unsaturation, exactly as their structures require.

Why do halogens count as hydrogens?

Because they are monovalent and occupy one bonding position each, exactly as a hydrogen does. Replacing a hydrogen with a chlorine changes nothing about the ring and pi bond count, so the formula treats them identically.

Can the result be a fraction?

Not for a valid neutral molecule. A half-integer result means the formula is wrong, usually a miscounted hydrogen, or that the species is a radical or an ion. It is a useful check on a formula before trusting it.

Does it tell me whether I have a ring or a double bond?

No, only the total. A degree of 1 is either one ring or one double bond, and the calculation cannot distinguish them. That is where infrared or NMR spectroscopy comes in, though the number still narrows the possibilities considerably.

For the formula from composition data, see the empirical formula calculator. For molar mass, see the molecular weight calculator.