Anyone attempting to live well within a society must have a concept of fairness; there’s a limit to how much debasement you should tolerate. You wouldn’t just let somebody cut in line in front of you, not only because you would have to wait longer, but it’s a matter of principle: it’s not **fair**. This isn’t unique to humans, even monkeys wouldn’t do the same job another monkey is doing, if the other monkey is receiving a grape, while he a cucumber slice. I wouldn’t do it either; I prefer grapes too.

If your potatoes are as good as the neighbor’s potatoes, but he sells them at $20, while you can only sell them at $10, either he is doing something right, you are doing something wrong, or your view of the world is incorrect, and your potatoes are not as good as you thought. It is a puzzle that must be solved, because those extra $10 might be the difference between survival, attracting a potential mate, or death.

You might not be able to solve every mystery of life and the universe, but surely you should be able to sell your potatoes at $20, and so you must.

This is the simplest explanation why we are hard-wired for fairness, and we refuse to be part of a system that exploits us. We might not understand every aspect of an extremely complex socio-economic system, but we recognize we should be paid the same amount as other cogs in the machine of the same level, at least.

### Inequality

We understand we can’t all have the same wealth, we can see people that work less than we do, or have less ability, so we should be paid more than them. If follows that other people provide more value than us, therefore certain level of inequality might be tolerated, if not even favored.

Many staunch capitalists shrug at the question of inequality. “You want everyone to have the same wealth?” they belch. Few things in this world are black-and-white, and inequality is no exception. The question is not “equality vs. inequality”, the question is “how much inequality?”.

It should not be surprising that high levels of inequality create social instability; large masses of people don’t like to be screwed over. If high levels of inequality are not rectified: crime increases, and eventually revolutions erupt. Ask Marine Antoinette if leveling the playing field a bit more wouldn’t have been a good policy, or rather–ask her detached head.

Therefore it should not be surprising either that elites pay close attention to inequality metrics as it stands to reason that nobody is fond of surprise revolutions. But more pressing than inequality metrics, are perceptions of inequality, because it doesn’t matter if large masses of people are being screwed over… If they don’t know it.

However, extremely high levels of inequality can’t be ignored forever, and eventually society descends into chaos. But what is that level? How much is way way too much?

### Morality

The first thing a right-wing capitalist would tell you is that “it doesn’t matter”. It doesn’t matter how much money your neighbor is making selling potatoes, as long as you are making good money. This feels wrong, just like it feels wrong to receive a cucumber slice instead of a grape, but perhaps it is our base instincts at play, and in fact there is nothing inherently wrong.

The phrase they often use is “a rising tide lifts all boats”. The idea is that rich people are the ones that provide the most value to the economy, so if they have a lot of profit, they will know how to use that money best, and therefore the whole economy would benefit, including you. This is also called trickle-down economics; the earnings of the rich trickle down to the poor.

However, it doesn’t take a genius to find a caveat: what if the rich hedge 100% of the earnings? How much do you get in that case? Well, **nothing**. Right-wing governments have tried time and time again to decrease the taxes for the rich, in order to incentivize the supposed “job-creators”, increase the economy, and receive more total taxes as a result. The latest instance is Trump’s Tax Reform. It has never worked.

What many dogmatic capitalists seem to forget is the first principle of economics: resources are limited. So therefore naturally there’s a limit to how many resources the rich may hedge before the poor classes start to starve.

There is no magic bullet: there is a limit to the amount of value an economy can create. And how you distribute the fruits of that value does matter, and that is the distribution of income.

### Numbers

So we start with two premises a) too much inequality is bad, and b) income is finite. We have to find a number to express how much inequality there is, that is certain, and anybody that lives in the real world understands you can’t give to four people half the pie each (4/2 ≠ 100%) (staunch capitalists seem to forget that).

I can tell that a nation has a R/P 10% of 23.05, a Gini of 48.86, or a top 1% share of 13.5, but what does that really say? I would have to explain what each metric means, and you would still not get a good picture. I could show the Lorenz curve as well, but I would have to explain it, and it still would be hard to see what is the problem, if there is any.

#### Example 1

Let’s say there’s an economy of two people, a total of value created of $100,000 (it doesn’t matter the units), and we divide that total evenly ($50,000, $50,000). This is perfect equality, or no inequality, something nobody is advocating for, or even possible. The Gini index is 0, but we’ll see later how to get that number in a more realistic example.

#### Example 2

A slightly more realistic example divides the value unevenly ($20,000, $80,000). In this case there is inequality, but how much?

The Gini index is often referred as a representation of the Lorenz curve of an income distribution, but we don’t need extra layers of complexity to understand what the value means. Another way to define Gini is in terms of the relative mean absolute difference: we find all the relative differences, and divide by *n*.

The total is $100,000, *x₁* is $20,000, *x₂* is $80,000, so: |*x₁* – *x₂*| / *total* →|$20,000 – $80,000| / $100,000 →$60,000 / $100,000 → 60%. The relative difference of *x₁* and *x₂* is 60%, and the other way around (*x₂* – *x₁*) is the same, so the sum is 120%, we divide that by *n* (2), and the result is 60%. The Gini index is half of the RMAD, so: **30**.

So when you see a Gini index of 30, you can picture the above distribution (20, 80), but is that a fair distribution? Well, 30 or above is considered medium inequality (30 < x < 50), but I leave it to you to decide if it actually is.

#### Example 3

Let’s move to a more complicated example ($7,000, $13,000, $20,000, $60,000):

At first this looks like it has more inequality, but in fact the economy follows the same distribution as the previous example, except with more granularity: *x₁* + *x₂* = $20,000, *x₃* + *x₄* = $80,000.

It’s much more tedious to calculate the Gini mathematically by hand, just the first element would be: (|*x₁* – *x₁*| + |*x₁* – *x₂*| + |*x₁* – *x₃*| + |*x₁* – *x₄*|) / *total* → ($0 + $6,000 + $13,000 + $53,000) / $100,000 → $72,000 / $100,000 → 72%. The whole RMAD is (72% + 60% + 60% + 140%) / 4 → 332% / 4 → 83%. So the Gini is **41.5**.

But wait a second! Why is the Gini higher in this case, if the distribution is the same? Well, that’s the **first** caveat of the Gini index: it depends entirely on the number of samples of the population: the more samples, the more precise it is.

But that’s not the only caveat. If you have been paying attention, you might have deduced already that there’s more than one set of four numbers whose relative absolute difference equals to 332%. Which means there’s many income distributions that result in the same Gini index, and there are:

So that’s the **second** caveat: a single Gini index cannot represent entirely a distribution of income. It is by far the best way to represent the economic inequality in a single number, but it cannot give you the whole picture.

The last example is particularly interesting, as the richest person earns 5.8 times more income than the average person, yet the Gini is exactly the same because the bottom 75% is quite homogeneous.

#### Example 4

Finally we arrive to the most realistic example ($2,000, $3,000, $4,000, $5,000, $6,000, $7,000, $8,000, $11,000, $15,000, $39,000):

This again follows the same distribution of the previous examples: add up the first five elements and it will give you $20,000, add the rest and it will give you $80,000. But the granularity makes the inequality more visible, the Gini index is increasing, and so is the ratio between the richest and the average person.

At this point I must confess that this is not an entirely fake economy; this is in fact a simplification of the economy of Mexico, and each example follows exactly the distribution of income in Mexico, which has a Gini of 48.86. As the granularity increases, the Gini index gets closer to the real value. Unfortunately even official sources list the Gini index as 47.13, but that’s because the economy has been simplified to ten values, when the real Gini is 48.86 (if you use the whole surveyed sample).

So we actually have reached the limit of official sources and we are going beyond.

### Real numbers

It’s time to move away from fake numbers to real ones, instead of sets of 4 or 10, to hundreds or millions. Values are adjusted to have a mean of $10,000, but the proportions are the same.

#### Real 10

If we divide the real sample into 10 values, we get a graph closely following our fake example #4 (these numbers are not rounded):

#### Real 100

Dividing the real sample into 100 values we start to see how the inequality shapes up. Also, the Gini index is very close to the real value.

If you pay attention to the richest person you would see his income keeps increasing as we add more samples. At this point he receives 21.6 times more income than the average person.

#### Real

Finally, if we plot the real sample as it is (122,643,890 weighted values), we get the following graph:

Does that graph looks remotely similar to a fair distribution of income? The richest person has an income of $4,400,000; 700 times what the average person gets. That doesn’t even reach the 50 index needed to be considered high inequality. 48.9 is still considered **medium**. And yes; this is real.

There is a final caveat to income surveys: the richest of the rich are extremely underrepresented. The richest person in Mexico doesn’t receive an income of $4,400,000, it’s closer to $4,000,000,000 (400,000 times the media), but the chances of interviewing that person in a random survey are virtually zero. The real number of entries in the survey are 70,000, with a mean household size of 3.6, so you can’t say much about the top 0.001%, except: they have an **insane** amount of income.

At which point does an economy becomes ridiculously unfair? Well, apparently it’s not with a Gini of 48.9 (or at least this distribution), because Mexico has not exploded into a revolution, although that might be due to ignorance. Perhaps if the population of Mexico knew how unfair the distribution of income is, they would do something about it. But at the moment it seems a Gini index of 50 is manageable.

### Conclusion

Hopefully after reading this article you have a better understanding of what the Gini index is, and why it’s a good measure of inequality, although not a perfect one. And what a distribution of income with a Gini of 50 looks like.

This article only scratches the surface of income distribution measurements. There are many ways to stratify the data: by area, by urban vs. rural areas, by number of habitants, by age, by work status (full-time vs. part-time), by sex, etc. The per capita income can be recalculated through equivalization, which increases it dramatically. And the top incomes can be calculated through other means. Plus, there are confidence intervals to take into consideration.

And we didn’t even mention wealth and income dynamics. The income distribution is the number that is more easily obtained, but what is most important is how that number changes, and increases the wealth of each individual. The distribution of wealth is a much more complicated subject, but suffice to say: it’s much more unequal than the distribution of income.

But all this doesn’t change the fact that an inequality in the distribution of income can be measured and visualized. Personally I think anyone with a pair of working eyes can say with confidence: yes, some distributions of income are **unfair**.