How to calculate pi bonds?
In the first case, we have to count the number of carbon atoms (X) and the number of hydrogen atoms (Y) in a given unsaturated hydrocarbon containing double bonds. The formula to calculate the number of π bonds or double bonds for an aliphatic straight chain olefin is
where, X = number of carbon atoms; Y = number of hydrogen atoms and P = number of π bonds/double bonds. E.g.: In C176H250, X = 176, Y = 250, therefore P = (2 x 176 – 250)/2 +1 = 51 + 1 = 52 number of π bonds or double bonds.