PublicSoftTools
Tools16 min read·PublicSoftTools Team·May 2026

Food Web Builder — Create and Explore Food Webs Online

A food web maps the feeding relationships between organisms in an ecosystem — who eats whom. Unlike a simple food chain (a single linear sequence), a food web shows the complex network of interconnected chains, reflecting how most organisms eat multiple things and are eaten by multiple predators. The food web builder on PublicSoftTools lets you add organisms, define feeding relationships, and visualise energy flow through any ecosystem.

Trophic Levels

Trophic levelType of organismEnergy sourceExamples
Level 1: Producers (Autotrophs)Plants, algae, phytoplankton, cyanobacteriaPhotosynthesis (light) or chemosynthesisGrass, oak trees, seaweed, wheat, pond algae
Level 2: Primary consumers (Herbivores)Animals that eat only producers~10% of producer energy capturedRabbits, caterpillars, deer, zooplankton, aphids
Level 3: Secondary consumers (Carnivores/omnivores)Animals that eat primary consumers~10% of primary consumer energyFoxes, ladybirds (eat aphids), small fish, frogs
Level 4: Tertiary consumersAnimals that eat secondary consumers~10% of secondary consumer energyEagles, sharks, killer whales, large predatory fish
Apex predatorsTop predators with no natural predatorsTop of the chainOrca, polar bear, tiger, great white shark
Decomposers / detritivoresBreak down dead organic matterDead organisms at any trophic levelBacteria, fungi, earthworms, woodlice, dung beetles

How to Use the Food Web Builder

  1. Open the food web builder.
  2. Add organisms using the Add organism button. Categorise each as producer, primary consumer, secondary consumer, tertiary consumer, or decomposer.
  3. Draw arrows between organisms to show "is eaten by" relationships. Arrows point from prey to predator (or from producer to consumer).
  4. The tool automatically calculates trophic levels and visualises energy flow.
  5. Use the energy pyramid view to see how energy decreases at each trophic level.
  6. Delete organisms to simulate extinction events and see how the web is affected (cascade effects).

Food Chain Examples Across Ecosystems

EcosystemFood chainTrophic levelsNotes
UK woodlandOak leaves → Caterpillar → Blue tit → Sparrowhawk4 trophic levelsClassic British woodland food chain; sparrowhawks are apex predators in this chain
Ocean (pelagic)Phytoplankton → Zooplankton → Herring → Tuna → Orca5 trophic levelsMarine chain; tuna at level 4; orca apex predator
Grassland (savanna)Grass → Wildebeest → Lion3 trophic levelsSimple savanna chain; lions are apex predators
Freshwater pondAlgae → Water flea (Daphnia) → Small fish → Pike4 trophic levelsUK pond ecosystem; pike are apex freshwater predators
Arctic tundraLichen → Lemming → Arctic fox → Polar bear4 trophic levelsArctic food chain; highly seasonally variable

The 10% Energy Rule

When energy passes from one trophic level to the next, approximately 90% is lost — used by the organism for respiration, movement, heat production, and non-digestible material (waste). Only around 10% of the energy stored in biomass at one level is transferred to the next level. This is the 10% rule (also called the Lindeman efficiency).

Consequences:

Food Webs vs. Food Chains

A food chain shows a single linear pathway: A → B → C → D. A food web shows the full network of feeding relationships:

Food chains are useful for teaching and illustrating specific pathways. Food webs are more realistic but also more complex — they show that removing one species rarely eliminates a predator because alternative prey exists. However, removing a keystone species (one with disproportionate influence) can destabilise the whole web.

Keystone Species

A keystone species has a disproportionately large effect on its ecosystem relative to its biomass. Removing a keystone species causes cascading changes throughout the food web — trophic cascade:

Decomposers and Nutrient Cycling

Decomposers (bacteria, fungi) and detritivores (earthworms, woodlice, dung beetles) break down dead organic material from all trophic levels. They are not part of the main energy transfer pathway but are essential to ecosystem function:

The carbon cycle and nitrogen cycle both depend critically on decomposition. Decomposers are sometimes drawn at the base of the food web (receiving input from all levels) or as a separate parallel pathway.

Common Questions

What is the difference between a producer, consumer, and decomposer?

Producers (autotrophs) make their own food from inorganic substances using energy from sunlight (photosynthesis) or chemical reactions (chemosynthesis). Consumers (heterotrophs) cannot make their own food — they obtain energy by eating other organisms. Decomposers are a special type of consumer that break down dead organisms and waste, recycling nutrients back to the environment.

Can an organism be in more than one trophic level?

Yes — omnivores (bears, humans, pigs, badgers) eat both producers and consumers, placing them at multiple trophic levels simultaneously depending on what they eat. This is why food webs (not food chains) better represent reality. Trophic level can also be expressed as a fractional value when averaging across a varied diet.

What happens when an apex predator is removed?

Removing an apex predator causes a trophic cascade. Without the top predator controlling prey populations, the prey (often herbivores) increase in number, increasing grazing pressure on producers. This can lead to vegetation loss, soil erosion, and collapse of habitat that supports many other species. The reintroduction of wolves to Yellowstone is the most studied example of the positive effects of restoring apex predators.

Build a Food Web

Add organisms and define feeding relationships to build and visualise food webs — with energy pyramid and cascade effects.

Open Food Web Builder