← SciSim / Biology

Food Web Simulator: How Living Things Depend on Each Other

🌍 Tier: Middle School → High School Biology / Life Science
In an ecosystem, every living thing depends on others for food. Explore a 3D grassland with grass, shrubs, grasshoppers, rabbits, mice, frogs, snakes, foxes, hawks and decomposers. Click any living thing, then remove it, double it or halve it, and watch the effects ripple through the food web, the population graph and the energy pyramid. Try the prediction challenges: guess first, then test.

🌍 Interactive 3D Grassland Food Web

A balanced grassland

Every population is at its normal level.

Speed
🕸️ Food web (arrows show the flow of energy: food → eater)

Click a circle to select it. Thicker arrows = more food flowing along that link right now.

🐇
Rabbits
Population
—
Compared with normal
—
Gets food from
Eaten by

📈 How the populations change

100% = the normal, balanced population. The selected species is drawn thicker. Yellow lines mark what you changed.

Year
0
Kinds still living
10 / 10
Plant food
100%
Soil nutrients
100%
Biggest change
—

Living things

View

Nature

Wet and dry years make every population wobble around normal. Turn it off to see exact balance points. It is always off during a challenge.

💡This simulation was requested by a SciSim visitor for teaching how organisms depend on each other. Is there a topic you wish you could see? Request a simulation →

💡 The Idea, Step by Step

Start — everything needs food

Every living thing needs energy. Plants make their own food from sunlight by photosynthesis, so they are called producers. Animals cannot, so they eat plants or other animals; they are consumers. A food chain shows one path the energy takes: grass → grasshopper → frog → snake → hawk. The arrow means “is eaten by”, and it points the way the energy flows.

Build — chains join into a web

Most animals eat more than one kind of food, and most are eaten by more than one predator. A mouse eats grass seeds and grasshoppers, and is hunted by snakes, foxes and hawks. When all the food chains in an ecosystem are joined together, they make a food web. Animals that eat only plants are herbivores (primary consumers); animals that eat other animals are carnivores (secondary or tertiary consumers); animals that eat both are omnivores. Decomposers such as fungi and bacteria break down dead things and return nutrients to the soil, so the plants can grow again.

Build — change one, change many

Because they are linked, the populations depend on each other. Remove the foxes, and fewer rabbits are eaten, so the rabbits increase; then the extra rabbits eat more grass and shrubs, so the plants decrease. A change can travel two or three links away: with no frogs, grasshoppers multiply and eat more grass. This chain reaction is called a trophic cascade. Changes can also start at the bottom (a drought means less plant food for everyone, all the way up to the hawks) or in the soil (no decomposers means fewer nutrients, so less plant growth).

Deepen — energy pyramids and the 10% rule

Each feeding step is a trophic level. Only a small part of the energy in one level ends up in the next, typically around 10% (it varies from about 5 to 20%), because most is used for living, lost as heat or never eaten. That is why there are thousands of grasshoppers but only a few hawks, and why food chains rarely have more than 4 or 5 levels. Open the Biomass pyramid tab: the mass of living things shrinks at each level up, because each level is fed by only a small share of the energy of the level below. In a balanced ecosystem, negative feedback keeps populations fairly steady: more rabbits feed more foxes, and more foxes then eat more rabbits.

Try this in the sim above

(1) Select Foxes and press Remove; follow the rabbits, then the grass. (2) Press Reset, remove the Frogs, and see what happens to the grass even though frogs never eat grass. (3) Remove the Decomposers and watch the soil nutrients fall. (4) Double the Rabbits and watch the population return to normal. (5) Try every Prediction challenge and see how many you get right.

📋 Roles & Results

Key facts. Food chain = one path of energy · food web = all the connected food chains in an ecosystem · arrows point from food to eater (the way energy flows) · producers make food by photosynthesis · consumers eat other living things · decomposers recycle nutrients · about 10% of the energy passes from one trophic level to the next · energy flows through an ecosystem (and is lost as heat), while matter cycles (decomposers return it to the soil).
RoleIn this grasslandWhat it does
ProducerGrass, shrubs & berriesMakes food from sunlight (photosynthesis); the energy source for the whole web
Primary consumerGrasshoppers, rabbits, miceHerbivores (or omnivores) that eat producers
Secondary consumerFrogs, mice, snakes, foxes, hawksEat primary consumers
Tertiary consumerSnakes, foxes, hawksEat secondary consumers (snakes eat frogs; foxes, snakes and hawks eat mice, which eat grasshoppers; hawks eat snakes)
Top predatorHawksNothing here eats them
DecomposersFungi and bacteria (helped by detritivores such as worms)Break down dead matter and return nutrients to the soil

Many animals feed at more than one level, which is why some appear in two or three rows. A food web shows this; a single food chain cannot.

What happens if…? (results from this simulation after 20 years, with the weather held steady)

ChangeMain effectsWhy
Foxes removedRabbits ↑ to ~160%, shrubs ↓ ~70%, grass ↓ ~85%, hawks ↑ ~160%Fewer rabbits eaten; more rabbits eat more plants and feed more hawks
Frogs removedGrasshoppers ↑ to ~190%, grass ↓ ~70%, snakes ↓ ~35%Trophic cascade: no frogs → more grasshoppers → less grass
Grasshoppers removedFrogs die out, grass ↑ ~125%, mice ↑ ~160%Frogs had only one food; grass is eaten less; mice get more seeds
Hawks removedSnakes ↑ to ~155%, frogs ↓ ~85%Snakes lose their only predator and eat more frogs
Rabbits removedFoxes die out, shrubs ↑ ~145%, mice and snakes ↑Foxes here depend mostly on rabbits; plants are eaten less
Decomposers removedGrass ↓ to ~50%; every animal fallsNutrients stay locked in dead matter, so plants grow slowly
DroughtEvery population ↓; hawks ~75%, snakes ~60%Bottom-up effect: less plant energy enters the food web

Real-world examples

EcosystemWhat happenedLesson
Rocky shore, USAWhen ecologist Robert Paine removed the predatory starfish Pisaster, mussels took over and many other species disappeared (Paine 1966)A keystone species can hold a whole community together
Kelp forests, North PacificWhere sea otters were hunted out, sea urchins multiplied and ate the kelp forests; where otters returned, the kelp recovered (Estes & Palmisano 1974)A classic trophic cascade
Yellowstone, USAWolves were reintroduced in 1995–96; elk numbers fell and willows and aspens recovered in some places. Scientists still debate how much of the recovery is due to the wolvesTop predators can affect plants, but real ecosystems have many causes at once
AustraliaEuropean rabbits released in the 1800s spread with few predators, stripped vegetation and harmed native animalsInvasive species can upset a food web

About this model

Each population grows when it has food and shrinks when it is eaten, starves or dies of old age, using simple predator–prey equations (Lotka–Volterra type) with numbers chosen so that every species starts in balance and the biomass ratios between levels are set near 10%. Decomposers recycle nutrients that help the plants grow. With Weather varies switched on, plant growth goes up or down by about 15% in wetter and drier years (a slowly wandering random number), so all the populations wobble by roughly 5–15% around normal, as real populations do; switch it off to see the exact balance. In the 3D view a fox, a rabbit or a hawk is not one real animal: the number of animals shown follows the model’s population, and when a population has to fall, a predator is usually shown chasing and catching one. Real ecosystems have many more species, seasons, migration and chance events, and real animals switch foods, so real results are less tidy, but the direction of the effects follows the same logic. The animals shown in 3D are a sample; the counts are in the species card.

References: Lindeman (1942), “The trophic-dynamic aspect of ecology”, Ecology 23:399–417; Paine (1966), “Food web complexity and species diversity”, American Naturalist 100:65–75; Estes & Palmisano (1974), “Sea otters: their role in structuring nearshore communities”, Science 185:1058–1060; Ripple & Beschta (2012), “Trophic cascades in Yellowstone: the first 15 years after wolf reintroduction”, Biological Conservation 145:205–213; for a more sceptical view, Kauffman, Brodie & Jules (2010), “Are wolves saving Yellowstone’s aspen? A landscape-level test of a behaviorally mediated trophic cascade”, Ecology 91:2742–2755; NGSS MS-LS2-1 to MS-LS2-4 and HS-LS2-4 (interdependent relationships, energy flow and cycling of matter in ecosystems).

❓ FAQ

Conceptual What is a food web?►

A food web is a diagram of all the feeding relationships in an ecosystem: who eats whom. It is made of many food chains joined together, because most animals eat more than one kind of food and are eaten by more than one predator. Arrows point from the food to the animal that eats it, showing the direction in which energy flows.

Key takeaway: a food web = all the connected food chains in an ecosystem.
Basics What is the difference between a food chain and a food web?►

A food chain shows a single path of energy, for example grass → rabbit → fox. A food web shows many chains connected together, so it is closer to real life. In a web you can see that one animal can have several foods and several predators, and that a change to one population can affect many others.

Key takeaway: a chain is one path; a web is many paths linked together.
Diagrams Which way do the arrows point in a food web?►

From the food to the eater: grass → rabbit means the rabbit eats the grass. The arrow shows the direction that energy (and matter) moves. A common mistake is to draw the arrow from the eater to the food.

Key takeaway: arrows follow the energy: food → eater.
Interdependence What happens to a food web if one species is removed?►

The species that ate it lose a food source and may decline or switch to other foods. The species it ate lose a predator or consumer and often increase. These changes then spread to other species linked to them. For example, removing foxes lets rabbits increase, which then reduces the grass and shrubs. Try it in the simulation.

Key takeaway: removing one species affects its food, its predators, and others further along the web.
Roles What are producers, consumers and decomposers?►

Producers (plants, algae) make their own food by photosynthesis. Consumers eat other organisms: herbivores eat plants, carnivores eat animals and omnivores eat both. Decomposers (fungi, bacteria) break down dead organisms and wastes, returning nutrients to the soil for producers to use again.

Key takeaway: producers make food, consumers eat it, decomposers recycle it.
Energy Why are there fewer top predators than herbivores?►

Only about 10% of the energy at one trophic level is passed on to the next. The rest is used for movement, growth and keeping warm, is lost as heat, or is in parts that are not eaten. So each level can support far less living material than the one below: many grasshoppers, fewer frogs and snakes, and only a few hawks.

Key takeaway: about 90% of the energy is lost at each step, so top levels are small.
Deep What is a trophic cascade?►

A trophic cascade is when a change in a predator affects not just its prey but the level below that too. For example, when sea otters were hunted out, sea urchins (their prey) multiplied and ate the kelp forests. In this simulation, removing frogs lets grasshoppers multiply, which reduces the grass.

Key takeaway: effects that pass down through two or more feeding levels.
Deep What is a keystone species?►

A keystone species has a much larger effect on its ecosystem than its numbers suggest, like the keystone that holds up an arch. Ecologist Robert Paine showed that removing the starfish Pisaster from rocky shores let mussels crowd out many other species. Top predators and ecosystem engineers such as beavers are often keystone species.

Key takeaway: remove a keystone species and the whole community changes.
Applied Why are decomposers important in a food web?►

Without decomposers, dead plants, dead animals and droppings would pile up, and the nutrients locked inside them (such as nitrogen and phosphorus) would not return to the soil. Plants would run short of nutrients and grow less, and every animal that depends on plants would decline. Matter cycles in an ecosystem; decomposers keep the cycle going.

Key takeaway: decomposers recycle nutrients so plants can keep growing.
Deep Why do the populations go up and down even when nothing has changed?►

Real populations are never perfectly steady. Rainfall, temperature and disease change from year to year, so plants grow more in some years and less in others, and that change is passed up the food web to the herbivores and then the predators. Ecologists say a balanced ecosystem is in dynamic equilibrium: the numbers wobble around a normal level instead of staying exactly on it. Switch Weather varies on and off in the simulation to compare.

Key takeaway: a balanced ecosystem wobbles around normal levels (dynamic equilibrium).
Applied How do invasive species affect food webs?►

An invasive species is one brought to a new place where it spreads and causes harm. It may have no natural predators there and compete with native species for food, or prey on animals that have no defence against it. European rabbits in Australia stripped vegetation and harmed native wildlife.

Key takeaway: invasive species can upset the balance of a food web.

⚠️ Misconceptions & Common Errors

❌ "The arrows in a food web point from the eater to its food."✅ Arrows point from the food to the eater, the direction energy flows: grass → rabbit → fox.🔍 Follow the energy: food → eater.
❌ "A change in one population only affects the populations it directly eats or is eaten by."✅ Effects spread along the web. Removing frogs affects the grass, even though frogs never eat grass, because grasshoppers multiply.🔍 Indirect effects are real: watch the trophic cascades.
❌ "If one population changes, all the others change in the same direction."✅ Some go up and some go down. Remove the foxes and rabbits rise, but grass and shrubs fall.🔍 Predators and prey often move in opposite directions.
❌ "A change in the number of prey has no effect on the predators."✅ Predators depend on prey. Double the rabbits and the foxes and hawks increase because they have more food.🔍 Prey numbers control predator numbers, and the other way round.
❌ "Big, fierce animals are carnivores and small ones are herbivores."✅ What an animal eats, not its size, decides its role. Frogs and snakes are small carnivores; deer and elephants are large herbivores.🔍 Classify animals by their diet, not their size.
Sources: Griffiths & Grant (1985), “High school students’ understanding of food webs: identification of a learning hierarchy and related misconceptions”, Journal of Research in Science Teaching 22(5):421–436; Gallegos, Jerezano & Flores (1994), “Preconceptions and relations used by children in the construction of food chains”, Journal of Research in Science Teaching 31(3):259–272.