The gain from using more is yours; the wear is shared by everyone
Ten herding families share a pasture that is already close to what it can support. If you keep one more cow, you earn 100 yuan more a year. But the grass it eats costs the ten families 200 yuan in total. Split ten ways, you bear only 20 yuan, so you come out 80 yuan ahead; the ten families together come out 100 yuan behind. Each of the other nine families, doing its own sums, also comes out 80 yuan ahead.
When n families share, the net yuan you get from keeping one more cow is:
100−n200
The extra 100 yuan is all yours, while the 200 yuan of lost grass is split by family, and you bear only one nth of it. With just two families, you bear 100 yuan, which exactly cancels what you earn; with twenty, you bear only 10 yuan and come out 90 ahead. The more people share, the less using more hurts.
If you hold back, others take it anyway
The pasture can't keep outsiders out, so if you graze one cow fewer, someone else eats the grass you saved. Every family knows the grass will be eaten up in the end, yet no family can save it by holding back on its own. The less grass there is, the harder the cows are to raise; but since the grass can't be saved anyway, everyone just rushes to graze more before it's gone.
Rules that can be enforced can change the sums
The communities Elinor Ostrom studied spelled out clearly who could use the resource and how much each household could use. The users took part in making the rules themselves, someone patrolled, penalties got heavier with each offense, and there were cheap ways to settle disputes. That way, people who grazed extra cows had to pay more for it, and people who kept the rules could hold on to their share.
The tragedy of the commons fits best with resources where one person using more crowds out someone else's share and newcomers can't be kept out: coastal fishing grounds, groundwater, crowded network bandwidth. If a resource is shrinking because of pollution or climate, with nobody taking more, then it's not the thing to explain it. Hardin's essay is often read to mean that shared things can only be divided up among private owners or taken over by the state. But many of the irrigation communities, mountain forests and fisheries Ostrom visited had managed themselves with their own rules for decades or even centuries.