How is inequality in education calculated?

Inequality in the education dimension is approximated only by inequality in years of schooling of the adult population drawn from nationally representative household surveys. For some countries this inequality is computed from the education attainment tables of the UNESCO Institute for statistics.