How to Calculate the Degree of Unsaturation From a Molecular Formula

The degree of unsaturation is a measure of how many rings and multiple bonds are present in a molecule compared with a fully saturated, acyclic structure. Also called the index of hydrogen deficiency (IHD), it helps chemists determine which structural features are possible from a molecular formula alone.

To calculate the degree of unsaturation, use the following formula:

Degree of unsaturation = (2C + 2 + N − H − X) ÷ 2

Here, C represents the number of carbon atoms, H the number of hydrogen atoms, N the number of nitrogen atoms, and X the total number of halogen atoms, including fluorine, chlorine, bromine, and iodine. Oxygen and sulfur do not appear in this equation under the usual assumptions for common organic compounds.

The result indicates the total number of rings and units of unsaturation contributed by double and triple bonds. A double bond contributes one degree, a triple bond contributes two degrees, and a ring contributes one degree. This makes the calculation a useful first step in identifying possible molecular structures.

What the degree of unsaturation tells you

A saturated, acyclic organic molecule contains the maximum number of hydrogen atoms possible for its carbon framework, assuming ordinary neutral valences. Saturated means that its carbon atoms are connected through single bonds, while acyclic means that the structure contains no rings.

For a typical acyclic compound containing only carbon and hydrogen, the maximum hydrogen count is given by the formula CₙH₂ₙ₊₂. Each ring or additional carbon–carbon multiple bond reduces the hydrogen count relative to this saturated reference structure.

The degree of unsaturation expresses that difference in a convenient numerical form. A value of zero indicates that the formula is consistent with a saturated, acyclic structure. A value of one indicates one ring or one double bond. A value of two could represent two double bonds, two rings, one triple bond, or a combination of structural features whose contributions add to two.

The calculation does not identify a unique structure. Instead, it establishes a constraint that any proposed structure must satisfy.

How to calculate the degree of unsaturation step by step

The calculation is straightforward once the molecular formula is known. Count the atoms of each relevant element, substitute those numbers into the equation, and simplify.

Step 1: Identify the number of carbon, hydrogen, nitrogen, and halogen atoms.

Read the molecular formula carefully. In C₄H₈, for example, there are four carbon atoms and eight hydrogen atoms. In C₆H₇N, there are six carbon atoms, seven hydrogen atoms, and one nitrogen atom.

If the formula contains halogens, add the number of fluorine, chlorine, bromine, and iodine atoms together. Each halogen is counted as one hydrogen equivalent because a halogen typically forms one bond in an ordinary neutral organic compound.

Step 2: Substitute the values into the equation.

Use:

Degree of unsaturation = (2C + 2 + N − H − X) ÷ 2

Multiply the number of carbon atoms by two, add two, add the number of nitrogen atoms, and subtract the hydrogen and halogen counts.

Step 3: Divide the result by two.

The final number is the degree of unsaturation. For a conventional neutral organic molecular formula with ordinary valences, the result should be a nonnegative integer. A negative value or a fractional result usually indicates an incorrect formula, an arithmetic error, or a molecular species that does not fit the assumptions of the standard calculation.

Step 4: Interpret the result.

Determine which combinations of rings and multiple bonds could account for the total. Remember that the calculation gives the total unsaturation, not the location or arrangement of individual structural features.

Worked examples of degree of unsaturation

Examples show how the formula works for different types of organic compounds.

Example 1: Ethane, C₂H₆

Ethane is a saturated hydrocarbon with two carbon atoms connected by a single bond.

Using the equation:

Degree of unsaturation = 2(2)\+2−62(2) \+ 2 − 6 ÷ 2

= (4 + 2 − 6) ÷ 2

= 0

Ethane has a degree of unsaturation of zero. Its formula matches the maximum hydrogen count for a two-carbon, acyclic hydrocarbon.

Example 2: Ethene, C₂H₄

Ethene contains a carbon–carbon double bond.

Degree of unsaturation = 2(2)\+2−42(2) \+ 2 − 4 ÷ 2

= (4 + 2 − 4) ÷ 2

= 1

The result is one because the double bond reduces the hydrogen count by two compared with the corresponding saturated compound, ethane. That missing pair of hydrogen atoms corresponds to one degree of unsaturation.

Example 3: Ethyne, C₂H₂

Ethyne, also called acetylene, contains a carbon–carbon triple bond.

Degree of unsaturation = 2(2)\+2−22(2) \+ 2 − 2 ÷ 2

= (4 + 2 − 2) ÷ 2

= 2

Ethyne has two degrees of unsaturation because a triple bond contributes two: one from the first bond beyond a single bond and another from the second.

Example 4: Cyclohexane, C₆H₁₂

Cyclohexane is a six-carbon ring with only single bonds.

Degree of unsaturation = 2(6)\+2−122(6) \+ 2 − 12 ÷ 2

= (12 + 2 − 12) ÷ 2

= 1

Although cyclohexane has no double or triple bonds, its degree of unsaturation is one because the ring reduces the hydrogen count by two compared with an acyclic saturated six-carbon hydrocarbon, hexane, C₆H₁₄.

This example demonstrates why the term degree of unsaturation does not mean simply the number of multiple bonds.

Example 5: Benzene, C₆H₆

Benzene is a six-carbon aromatic ring commonly represented with alternating double bonds.

Degree of unsaturation = 2(6)\+2−62(6) \+ 2 − 6 ÷ 2

= (12 + 2 − 6) ÷ 2

= 4

Benzene has four degrees of unsaturation. Its conventional structural representation contains one ring and three double bonds, giving a total of four.

Benzene’s actual bonding is more accurately described using a delocalized system of π electrons, but the degree-of-unsaturation calculation remains valid regardless of how its bonding is drawn.

Example 6: A compound containing nitrogen, C₃H₇N

Nitrogen changes the hydrogen-count relationship because a neutral nitrogen atom commonly forms three bonds rather than the two bonds typical of oxygen.

Degree of unsaturation = 2(3)\+2\+1−72(3) \+ 2 \+ 1 − 7 ÷ 2

= (6 + 2 + 1 − 7) ÷ 2

= 2 ÷ 2

= 1

The formula has one degree of unsaturation. Depending on the actual structure, that degree could arise from a ring or a double bond. The molecular formula alone does not distinguish between those possibilities.

Example 7: A compound containing a halogen, C₂H₅Cl

Chloroethane contains two carbon atoms, five hydrogen atoms, and one chlorine atom.

Degree of unsaturation = 2(2)\+2−5−12(2) \+ 2 − 5 − 1 ÷ 2

= (4 + 2 − 5 − 1) ÷ 2

= 0

The chlorine atom is counted as a hydrogen equivalent. Chloroethane is consistent with a saturated, acyclic structure and therefore has a degree of unsaturation of zero.

Why oxygen and sulfur are omitted from the formula

Oxygen and sulfur are generally omitted because their usual bonding patterns do not change the basic hydrogen-count relationship used in the calculation.

A neutral oxygen atom commonly forms two bonds. It can replace a carbon–hydrogen connection or appear in a functional group without changing the maximum hydrogen count predicted by the standard equation for a given carbon framework.

For example, ethanol has the molecular formula C₂H₆O. Its degree of unsaturation is:

Degree of unsaturation = 2(2)\+2−62(2) \+ 2 − 6 ÷ 2

= 0

Ethanol is saturated and acyclic, so the result is consistent with its structure.

The same general treatment applies to many ordinary organic compounds containing sulfur. However, unusual bonding arrangements, charged species, and compounds with elements in less common valence states may require more careful interpretation.

How rings, double bonds, and triple bonds affect the result

Each ring or multiple bond changes the hydrogen count in a predictable way. Understanding these relationships makes the calculated value easier to interpret.

A ring contributes one degree of unsaturation. Closing an acyclic carbon chain into a ring creates an additional connection between atoms. For a typical carbon framework, this reduces the maximum hydrogen count by two.

A double bond contributes one degree of unsaturation. A carbon–carbon double bond has one more bond than a single bond. Forming it generally replaces two carbon–hydrogen bonds with an additional carbon–carbon bond, reducing the hydrogen count by two.

A triple bond contributes two degrees of unsaturation. Compared with a single bond between the same carbon atoms, a triple bond has two additional bonds. It generally reduces the hydrogen count by four, corresponding to two degrees of unsaturation.

These contributions are additive. A molecule with one ring and one double bond has two degrees of unsaturation. A molecule with two triple bonds has four. A molecule with one ring, one double bond, and one triple bond has four.

The same principle applies to aromatic compounds, which contain cyclic, conjugated bonding systems. A conventional six-membered aromatic ring such as benzene contributes four degrees of unsaturation: one from the ring and three from the double bonds in its familiar structural representation.

How to interpret unusual or unexpected results

For standard neutral organic molecules with ordinary valences, the degree of unsaturation should be a whole number equal to or greater than zero. Results outside this range deserve a closer look.

A negative value can indicate that the molecular formula contains more hydrogen and halogen atoms than expected for the assumed carbon and nitrogen framework. Check the atom counts, especially subscripts and parentheses, and confirm that the formula represents the intended compound.

A fractional value, such as 1.5, may indicate an arithmetic error or a formula that does not satisfy the assumptions of the standard equation. It can also occur when applying the formula directly to certain charged or unusual molecular species without accounting for their electronic structure and valence patterns.

A nonnegative integer does not prove that a molecular formula corresponds to a stable compound. It only indicates that the atom counts are compatible with a particular total degree of unsaturation under the method’s assumptions. Additional chemical knowledge is needed to establish whether a proposed structure is chemically reasonable.

For molecules containing multiple kinds of atoms, the formula also requires appropriate treatment of valence. Halogens are counted as hydrogen equivalents, nitrogen contributes positively to the standard expression, and oxygen is omitted. These rules are based on common valence patterns, not on an assertion that every atom of a given element always behaves identically.

Using degree of unsaturation to identify molecular structures

The degree of unsaturation is especially useful when interpreting results from mass spectrometry, elemental analysis, or other methods that help establish a molecular formula. Once the formula is known, the calculated value limits the structural possibilities.

For example, a degree of unsaturation of four could be consistent with a benzene ring, a structure containing four double bonds, two triple bonds, or several other combinations of rings and multiple bonds. If additional evidence suggests that the compound contains an aromatic ring, the possibilities narrow considerably.

Chemists combine the calculated value with other information, including infrared spectroscopy, nuclear magnetic resonance spectroscopy, mass-spectral fragmentation, and chemical behavior. These methods can help identify functional groups, distinguish between isomers, and establish how atoms are connected.

The degree of unsaturation is therefore a structural clue rather than a complete identification method. Two compounds can share the same molecular formula and degree of unsaturation while having different arrangements of atoms and different chemical properties.

Common mistakes to avoid

One frequent mistake is to count only double and triple bonds while ignoring rings. Every ring contributes one degree, even when all its bonds are single bonds.

Another error is to forget nitrogen or subtract halogens incorrectly. Nitrogen is added in the numerator, while all halogen atoms are subtracted alongside hydrogen. Oxygen is omitted under the standard assumptions.

It is also important not to interpret a degree of unsaturation as a direct count of all bonds beyond single bonds. A triple bond contributes two degrees, not one, and a ring contributes one even though it contains no multiple bonds.

Finally, do not assume that the calculated value identifies a unique structure. It provides the total number of unsaturation units, while the actual molecular arrangement must be established using additional evidence.

The central principle

Calculating the degree of unsaturation from a molecular formula involves comparing the molecule’s hydrogen and halogen count with the maximum expected for a saturated, acyclic framework. The standard equation is:

Degree of unsaturation = (2C + 2 + N − H − X) ÷ 2

The result counts the combined contributions of rings, double bonds, and triple bonds, with each ring or double bond contributing one and each triple bond contributing two. Used correctly, this simple calculation helps chemists evaluate molecular formulas, narrow down possible structures, and interpret more detailed evidence about a compound’s chemical identity.

Looking For Something Else?