Degree of Unsaturation Calculator

By: Calculator Grid

Degree of Unsaturation Calculator

Estimate rings and π bonds from a molecular formula using the index of hydrogen deficiency.

Formula: C₆H₆ DoU: 4 Whole-number result

Molecular formula counts

atoms

Required whole number, 0 – 100000.

atoms

Required whole number, 0 – 200000.

atoms

Required whole number, 0 – 100000.

atoms

Total F, Cl, Br, and I atoms.

Live result

Degree of unsaturation (DoU)
4

Four total rings and/or π bonds are required by the formula.

Saturated hydrogen count
14
Hydrogen deficiency
8
Result type
Whole number
Molecular formula
C₆H₆

Calculation breakdown

Step Expression Value
Oxygen and sulfur are omitted from this standard calculation because divalent atoms do not change the hydrogen-deficiency count. The result narrows structural possibilities but does not identify a unique structure.

How to use this degree of unsaturation calculator

What this calculator does

This calculator converts the atom counts in a molecular formula into the degree of unsaturation, also called the index of hydrogen deficiency or ring-and-double-bond equivalent. The result is an exact arithmetic identity for formulas that fit the usual neutral organic-compound model. It tells you how many rings and π bonds must exist in total, but it cannot decide how that total is distributed among double bonds, triple bonds, aromatic rings, or other structural arrangements. The IUPAC Gold Book definition of ring and double bond equivalent provides the formal terminology behind the calculation.

When to use it

Use the tool when checking a proposed molecular formula, narrowing possible structures after mass-spectrometry work, preparing an organic chemistry exercise, or verifying whether a formula is consistent with a saturated acyclic compound. It is especially useful before interpreting infrared or NMR data because the unsaturation count gives a fast structural constraint.

How to calculate

  1. The calculator opens with benzene, C₆H₆, as a complete demonstration and the Excel workbook is immediately available.
  2. Replace the four atom counts with your molecule's values. Results update as you type.
  3. Read the main DoU result, then inspect the saturated hydrogen count, hydrogen deficiency, result type, molecular formula, and calculation breakdown.
  4. Select Download Excel to export the current validated inputs and results. Reset clears the demonstration values and disables export until a complete valid formula is entered again.

Input guide

Number of carbon atoms (C) is a required nonnegative whole number, such as 6. More carbon increases the saturated hydrogen capacity and usually raises the DoU unless hydrogen rises accordingly. Number of hydrogen atoms (H) is required and must also be a nonnegative whole number, such as 6; adding two hydrogens lowers DoU by one. Number of nitrogen atoms (N) is required, with 0 allowed; each nitrogen raises the hydrogen capacity by one and therefore adds one-half to the raw index. Number of halogen atoms (X) is the combined count of fluorine, chlorine, bromine, and iodine; halogens replace hydrogen in the formula and are therefore subtracted with hydrogen. Enter only ordinary base-10 integers without symbols, commas, decimals, or scientific notation. A common mistake is entering oxygen or sulfur in the halogen field; do not do that.

Output guide

Degree of unsaturation (DoU) is the primary count of rings plus π bonds. A value of 0 is compatible with a saturated acyclic formula; 1 could be one ring or one double bond; 2 could be two such features or one triple bond. Saturated hydrogen count is 2 + 2C + N – X, the hydrogen count expected before unsaturation is introduced. Hydrogen deficiency is that saturated count minus the entered hydrogen count; dividing this difference by two gives DoU. Result type flags a whole, half, negative, or otherwise unusual value. Molecular formula restates the entered composition, and the breakdown table shows every arithmetic stage.

Worked example

For the startup formula C₆H₆, the saturated hydrogen count is 2 + 2×6 + 0 – 0 = 14. The formula contains 14 – 6 = 8 fewer hydrogens than the saturated reference. Dividing 8 by 2 gives a degree of unsaturation of 4, matching the first-open result. Benzene uses those four units as one ring plus three π bonds. The same method is illustrated in the LibreTexts degree-of-unsaturation lesson.

Formula, assumptions, and interpretation

DoU = (2 + 2C – H + N – X) ÷ 2

The equation compares the observed formula with the maximum hydrogen count for an acyclic saturated framework. Every ring closure or double bond removes two hydrogens relative to that reference, so each contributes one DoU. A triple bond removes four hydrogens and contributes two. Halogens are counted with hydrogen because they occupy one valence position; nitrogen adds one available hydrogen position under the standard convention. Oxygen and sulfur normally do not appear in the equation because their common divalent forms do not alter the comparison.

A negative result usually means the formula does not fit the assumed neutral closed-shell model, a count was entered incorrectly, or charge and unusual valence must be considered. A half-integer result can be chemically meaningful for radical ions or special formulas, but for many introductory neutral-organic problems it is a signal to recheck the molecular formula. Review the broader structural explanation in the LibreTexts index-of-hydrogen-deficiency overview.