🌾 Tragedy of the Commons — Shared Resource Depletion
Interactive Tragedy of the Commons simulation. A shared resource pool regrows logistically while cooperators and free-riders harvest it. Adjust the population mix and a harvest quota to see collapse or sustainability.
🌾 Tragedy of the Commons — Shared Resource Depletion
A shared resource pool regrows logistically while cooperators harvest modestly and free-riders take as much as they can. Watch the pool stabilize, oscillate, or collapse depending on the population mix — then toggle a harvest quota to see whether policy can save it.
🔬 What It Demonstrates
The classic tragedy of the commons: individually rational harvesting decisions can collectively deplete a shared resource, even though everyone would be better off if total harvest stayed below the resource's regrowth rate. The gap between private incentive and collective outcome is the core of the problem.
🎮 How to Use
Raise the free-rider percentage to see the pool shrink faster. Adjust regrowth rate and harvest intensity to explore the boundary between sustainability and collapse. Enable Quota Policy to cap total harvest at the maximum sustainable yield and watch the pool stabilize even with free-riders present.
💡 Did You Know?
Ecologist Garrett Hardin popularized the term in a 1968 Science essay, but the underlying economics — the "maximum sustainable yield" of a logistic-growth resource — comes from 1950s fisheries science, where it is exactly rK/4, the same formula used in this simulation.
About Tragedy of the Commons — Shared Resource Depletion
This simulation models a shared resource pool — such as a fishery, pasture, or aquifer — that regrows logistically at a rate proportional to how far it is below its carrying capacity. Twenty-four agents harvest from the pool every step: cooperators take a modest, conservative share, while free-riders take as much as they can get away with. Because no single agent bears the full cost of depleting the shared pool, individually rational harvesting can push total extraction above the regrowth rate, causing the resource to shrink even when every agent would prefer a sustainable outcome. The chart on the right tracks the resource level against its carrying capacity (K) and its maximum-sustainable-yield equilibrium (K/2), the same reference points fisheries economists use in real stock assessments.
The term "tragedy of the commons" was popularized by ecologist Garrett Hardin in a widely cited 1968 essay in Science, though the mathematics of overexploitation was already established in 1950s and 60s fisheries bioeconomics, notably in the work of H. Scott Gordon and Milton Schaefer. Elinor Ostrom later won the 2009 Nobel Memorial Prize in Economics partly for showing that real-world commons are frequently managed sustainably through community institutions — rules, monitoring, and graduated sanctions — without requiring either privatization or top-down government control, which this simulation's quota-policy toggle loosely represents.
Frequently Asked Questions
What is the tragedy of the commons?
The tragedy of the commons describes a situation where individuals acting in their own rational self-interest deplete a shared resource, even though this outcome is worse for everyone, including themselves, than if they had cooperated. It arises whenever a resource is non-excludable (anyone can use it) but rivalrous (one person's use reduces what's left for others), such as ocean fisheries, groundwater, grazing land, or the atmosphere's capacity to absorb carbon.
How do I use this simulation?
Start by watching the default 50/50 mix of cooperators and free-riders. Increase the "Free-riders" slider to see the resource pool shrink and the line chart dip toward zero. Raise "Regrowth rate" to make the resource more resilient, or "Harvest intensity" to push it toward collapse faster. Click "Quota Policy ON" to cap total harvest at the maximum sustainable yield and watch even a free-rider-heavy population stabilize.
What does "maximum sustainable yield" mean?
For a resource that regrows logistically, the maximum amount that can be harvested indefinitely without depleting it — the maximum sustainable yield, or MSY — occurs when the resource is held at exactly half its carrying capacity, and equals rK/4, where r is the regrowth rate and K is the carrying capacity. This simulation displays that value live and lets you test a policy that enforces it as a hard cap.
Why does logistic regrowth create an equilibrium at K/2?
Logistic growth follows dR/dt = rR(1 − R/K), which is zero at R=0 and R=K but positive in between, peaking at R=K/2 where the derivative of rR(1−R/K) with respect to R is zero. At that point, the regrowth rate itself (not just the stock) is at its maximum, equal to rK/4. Harvesting exactly that much per unit time, starting from R=K/2, keeps the stock at a stable equilibrium indefinitely — any harvest above that rate causes R to drift downward permanently, since regrowth can never fully replace what was removed.
Who first described the mathematics of overharvesting?
The bioeconomic theory behind sustainable yield was developed by fisheries economist H. Scott Gordon in a 1954 paper and formalized by biologist Milton Schaefer around the same period, giving rise to what is now called the Gordon-Schaefer model. Ecologist Garrett Hardin's 1968 Science essay "The Tragedy of the Commons" later popularized the term for a broader audience, applying the same underlying logic to grazing land, population growth, and pollution.
Is privatization the only solution to the tragedy of the commons?
No. Political economist Elinor Ostrom's field research, which earned her the 2009 Nobel Memorial Prize in Economic Sciences, documented hundreds of real-world commons — irrigation systems, forests, fisheries — that communities managed sustainably for centuries through local institutions: clearly defined boundaries, monitoring by the users themselves, graduated sanctions for violators, and low-cost conflict resolution. Her work showed that neither pure privatization nor centralized government regulation is strictly necessary; well-designed community governance can also avoid the tragedy.
How does the free-rider problem relate to this simulation?
A free-rider benefits from a shared resource while contributing less than their fair share to sustaining it — in this simulation, by harvesting at a much higher rate than the resource's regrowth can support without restraint from others. Because their gain is immediate and private while the cost (a depleted pool) is delayed and shared among everyone, free-riding is individually rational even when it is collectively destructive, which is precisely the incentive structure this simulation is built to visualize.
What real-world examples does this model apply to?
Classic examples include overfishing in international waters (such as the collapse of the North Atlantic cod fishery in the early 1990s), overgrazing of communal pastures, groundwater aquifer depletion in agricultural regions, deforestation of unregulated forests, and the atmosphere's limited capacity to absorb greenhouse gases without triggering climate change. In each case, a resource with logistic or similarly bounded regrowth is harvested or used by many independent actors with no built-in incentive to individually limit their extraction.
Does a harvest quota always fix the problem?
A quota that caps total harvest at the maximum sustainable yield, as toggled in this simulation, prevents collapse in principle, but real-world quotas face enforcement challenges: monitoring costs, illegal harvesting, and disputes over how the quota should be allocated among users. Quotas work best when combined with credible monitoring and low-cost enforcement — exactly the kind of community institutions Elinor Ostrom documented — rather than being imposed purely top-down without buy-in from resource users.
How does this connect to game theory?
The tragedy of the commons is a multiplayer generalization of the Prisoner's Dilemma: mutual cooperation (restrained harvesting) produces the best collective outcome, but any individual gains more by defecting (free-riding) regardless of what others do, so the Nash equilibrium of unrestricted access tends toward overharvesting. The Game Theory and Axelrod Tournament simulations on this site explore the two-player version of this same cooperate-versus-defect tension in more depth.
A shared resource pool regrows logistically while cooperators and free-riders harvest it. Adjust the population mix and a harvest quota to see collapse or sustainability.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install