How is the GDI calculated?

To calculate the GDI, the HDI is calculated separately for females and for males using the same methodology as in the HDI. The same goalposts as in the HDI are used for transforming the indicators into a scale lying between zero and one. The only exception is life expectancy at birth where the goalposts are adjusted for the average of 5 years biological advantage that women have over men.