The gender parity index is a socioeconomic index usually designed to measure the relative access to education of males and females. In its simplest form, it is calculated as the quotient of the number of females by the number of males enrolled (or graduating) in a given stage of education (primary, secondary, etc.).
Source: World Bank