The IHD formula refers to the number of cycles or double or triple bonds (the latter count as two double bonds) in a compound. It can be useful in identifying the type of structure, and is calculated from the molecular formula using the following equation:
IHD = (2 × nºC – nºH + nºN) / 2 + 1