Counting the cost of inequality