Skip to content

Degree of Unsaturation Calculator | DoU & IHD Calculator

This tool finds a molecule's degree of unsaturation (DoU) from its formula, showing how many rings and double or triple bonds it must contain.

Degree of Unsaturation Calculator

Enter a molecular formula like C6H12O6 or CH3COOH (results appear automatically)

How to Enter Formulas

Use standard chemical notation (e.g., H2O, C2H5OH). Uppercase for elements, numbers for quantity.
Loading calculator...
๐Ÿ“š

Documentation

What Is Degree of Unsaturation?

The degree of unsaturation (DoU) is a number that shows how many rings and ฯ€-bonds (double or triple bonds) a molecule contains, calculated only from its molecular formula. It is also called the index of hydrogen deficiency (IHD), because it measures how many hydrogen atoms are missing compared to a fully saturated molecule with the same carbon count. A chemist who knows a compound's formula but not its structure can use DoU as a first clue about what that structure might look like.

For example, the molecular formula of caffeine is Cโ‚ˆHโ‚โ‚€Nโ‚„Oโ‚‚. Its DoU works out to 6, which tells a chemist that the molecule must contain six rings and/or multiple bonds in total, before any spectroscopy is done.

Degree of Unsaturation Formula

The standard formula, valid for molecules built from carbon, hydrogen, nitrogen, phosphorus, halogens, and monovalent metals, is:

DoU=2C+N+Pโˆ’Hโˆ’Xโˆ’M+22\text{DoU} = \frac{2C + N + P - H - X - M + 2}{2}

  • C = number of carbon atoms
  • N = number of nitrogen atoms
  • P = number of phosphorus atoms
  • H = number of hydrogen atoms
  • X = number of halogen atoms (F, Cl, Br, I)
  • M = number of monovalent metal atoms (Li, Na, K, Rb, Cs, Fr)

Oxygen and sulfur are left out of the formula. Both are divalent (they form two bonds), so adding one to a formula does not change how many hydrogens the molecule can hold. Cโ‚‚Hโ‚†O (ethanol) and Cโ‚‚Hโ‚† (ethane) therefore have the same DoU.

The formula comes from atomic valence, the number of bonds an atom normally forms. Carbon forms four bonds, nitrogen three, oxygen two, and hydrogen one. Every carbon adds two "bonding slots" beyond a chain atom, every nitrogen adds one, and every hydrogen, halogen, or monovalent metal removes one. A ring or a double bond uses up two of those slots that would otherwise be filled by two more hydrogens, so each one adds exactly 1 to the DoU. A triple bond uses up four slots, so it adds 2.

This calculator also accepts silicon and germanium, which behave like carbon (four bonds each), and boron and aluminium, which behave like nitrogen (three bonds each). Selenium behaves like oxygen and sulfur and does not affect the result. Elements without a fixed valence, such as most transition metals, are not supported and produce an error.

How to Calculate Degree of Unsaturation

  1. Count every atom of each element in the molecular formula.
  2. Insert the counts into DoU = (2C + N + P โˆ’ H โˆ’ X โˆ’ M + 2) / 2.
  3. Read the result: 0 means no rings or multiple bonds, 1 means one ring or one double bond, and so on. Each triple bond counts as 2.

The total is the sum of every ring and ฯ€-bond in the molecule, but it does not say where they are or what type they are. A DoU of 4 could mean a benzene ring (one ring plus three double bonds), four separate double bonds, or two rings plus two double bonds. Further data, such as NMR or infrared spectroscopy, is needed to tell these apart.

Worked Examples

Ethane, Cโ‚‚Hโ‚†. C = 2, H = 6. DoU = (2ร—2 โˆ’ 6 + 2) / 2 = 0. Ethane is a saturated hydrocarbon with no rings or multiple bonds.

Ethene, Cโ‚‚Hโ‚„. C = 2, H = 4. DoU = (2ร—2 โˆ’ 4 + 2) / 2 = 1. This matches ethene's single C=C double bond.

Cyclohexane, Cโ‚†Hโ‚โ‚‚. C = 6, H = 12. DoU = (2ร—6 โˆ’ 12 + 2) / 2 = 1. Cyclohexane has one ring and no double bonds.

Benzene, Cโ‚†Hโ‚†. C = 6, H = 6. DoU = (2ร—6 โˆ’ 6 + 2) / 2 = 4. Benzene has one ring plus three double bonds, which add up to 4.

Caffeine, Cโ‚ˆHโ‚โ‚€Nโ‚„Oโ‚‚. C = 8, H = 10, N = 4 (O is ignored). DoU = (2ร—8 + 4 โˆ’ 10 + 2) / 2 = 6. Caffeine's fused-ring structure accounts for all six degrees.

Common Mistakes

A fractional result, such as 2.5, always signals an error in the formula, since DoU must be a whole number for any real molecule. A negative result means the formula is chemically impossible, usually from an extra hydrogen or a mistyped subscript. A result of 0 is not an error; it simply means the compound is fully saturated, like propane (Cโ‚ƒHโ‚ˆ) or a long-chain fatty acid.

Using the Calculator

Type a molecular formula into the input field, such as C6H12O6 or CH3COOH, using standard capitalization: element symbols start with an uppercase letter, and a second letter, if present, is lowercase (for example Cl, not CL). Numbers follow each element and can be left off when there is only one atom. The result, the element counts, and a short explanation appear as soon as a valid formula is entered. An invalid element or a malformed formula produces an error message describing the problem.

Uses in Chemistry

DoU is most useful right after a molecular formula becomes known, for instance from mass spectrometry, but before the structure has been worked out. It sets an upper bound on how many rings and multiple bonds must be present, which narrows down the possible structures before spectroscopy begins. NMR spectroscopy then shows where the double bonds and hydrogens sit; infrared spectroscopy identifies functional groups such as a carbonyl group from its characteristic absorption near 1715 cmโปยน; and X-ray crystallography can give a complete three-dimensional structure when crystals are available. Chemists commonly use DoU as a quick check that a proposed structure is consistent with the formula: if the calculated DoU does not match the rings and multiple bonds in a proposed structure, the structure is wrong.

History

The idea behind DoU grew out of 19th-century efforts to connect molecular formulas with structure. After Friedrich August Kekulรฉ proposed in the 1850s that carbon always forms four bonds, and later described the ring structure of benzene in 1865, chemists had a framework for treating rings and double bonds as countable structural features. The counting method that became the modern DoU formula was in common use in organic chemistry by the early 20th century. The alternative name, index of hydrogen deficiency, became popular in the mid-20th century because it describes directly what the number measures.

Frequently Asked Questions

What is the degree of unsaturation in chemistry? It is the total number of rings and ฯ€-bonds (double or triple bonds) in a molecule, calculated from its molecular formula. A DoU of 0 means a fully saturated molecule with no rings or multiple bonds.

How is degree of unsaturation calculated from a molecular formula? Count the atoms of each element, then apply DoU = (2C + N + P โˆ’ H โˆ’ X โˆ’ M + 2) / 2, where X is the total halogen count and M is the total count of monovalent metals such as sodium or potassium.

Can the degree of unsaturation be a fraction? No. Any valid molecular formula gives a whole-number DoU. A fractional result means the atom counts in the formula are wrong.

Can the degree of unsaturation be negative? No, not for a real molecule. A negative result means the formula has too many hydrogens for its carbon count and describes an impossible structure.

Why isn't oxygen included in the formula? Oxygen and sulfur are divalent, forming exactly two bonds, so adding one to a formula never changes the hydrogen count needed for saturation. Ethanol (Cโ‚‚Hโ‚†O) and ethane (Cโ‚‚Hโ‚†) have the same DoU.

How much does a triple bond add to the degree of unsaturation? A triple bond adds 2, twice as much as a ring or a double bond. Acetylene (Cโ‚‚Hโ‚‚), which has one triple bond, has a DoU of 2.

Is index of hydrogen deficiency the same as degree of unsaturation? Yes. DoU and IHD are two names for the same quantity, calculated with the same formula. "Degree of unsaturation" is more common in current textbooks.

References

  1. Vollhardt, K. P. C., & Schore, N. E. (2018). Organic Chemistry: Structure and Function (8th ed.). W. H. Freeman and Company.
  2. Clayden, J., Greeves, N., & Warren, S. (2012). Organic Chemistry (2nd ed.). Oxford University Press.
  3. IUPAC. "Compendium of Chemical Terminology (Gold Book)." https://goldbook.iupac.org/
  4. Chemistry LibreTexts. "Degree of Unsaturation." https://chem.libretexts.org/Bookshelves/Organic_Chemistry/Supplemental_Modules_(Organic_Chemistry)/Fundamentals/Degree_of_Unsaturation