Degree of Unsaturation Calculator

Enter a molecular formula and instantly calculate the degree of unsaturation (IHD) to count rings and pi bonds in an organic compound.

Molecular Formula

Enter the molecular formula using standard element symbols. Supported: C, H, N, O, S, F, Cl, Br, I.

Common Examples

Enter a molecular formula to calculate the degree of unsaturation

Summary

Enter a molecular formula and instantly calculate the degree of unsaturation (IHD) to count rings and pi bonds in an organic compound.

How it works

  1. Enter the molecular formula using standard element symbols (e.g. C6H6 or C8H10N4O2).
  2. The calculator parses each element and its count from the formula string.
  3. It applies the IHD formula: DoU = (2C + 2 + N - H - X) / 2, where X = halogen count.
  4. Oxygen and sulfur atoms do not affect the degree of unsaturation and are ignored in the formula.
  5. The result panel shows the DoU value and interprets it as rings, double bonds, or triple bonds.
  6. Use the Examples panel to load common molecules instantly.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-28 · Reviewed by Nham Vu