How is the GPI calculated?

The GPI is calculated by dividing the number of female students enrolled in a particular level of education.