Skip to content
Tutorials Center
My learning

Topics

Lesson 16 of 37 ยท Biodiversity and Conservation

Measuring Biodiversity

Learn to measure species diversity with the Simpson's index, richness and evenness, sampling methods, and how to interpret and compare results.

Saying a habitat is "rich in wildlife" is not precise. Ecologists need numbers they can compare between places and over time. This lesson shows how to sample a community and calculate a diversity index.

Sampling a community

You usually cannot count everything, so you take samples. Common methods:

  • Quadrats and transects for plants and slow-moving animals.
  • Kick sampling for stream invertebrates: disturb the stream bed for a set time (for example, three minutes) and catch what drifts into a net.
  • Pitfall traps for ground insects and sweep nets for insects in vegetation.
  • Light traps for moths; point counts or transect walks for birds.
  • Identification keys to name organisms. When you cannot name one, label it "species A, B, C" and still count it.

Use the same effort at each site (same time, same number of samples) so that results can be compared fairly.

Simpson's diversity index

Simpson's index measures both richness and evenness. A form commonly used in school courses is:

D = N(N โˆ’ 1) / ฮฃ n(n โˆ’ 1)

where N is the total number of individuals of all species and n is the number of individuals of each species. The sum ฮฃ is taken over all species.

With this form, a higher D means higher diversity. If all individuals were one species, D would be 1, the lowest possible value. If every species has only one individual, the bottom of the fraction is 0 and the index cannot be calculated, so in practice you compare values from samples that are large enough.

A closely related version, 1 โˆ’ ฮฃ (n/N)ยฒ, ranges from 0 (no diversity) to nearly 1 (high diversity). Always check which form your course or paper uses.

Worked example

A stream sample contains: mayfly nymphs 10, stonefly nymphs 6, caddisfly larvae 4, freshwater shrimp 2.

N = 22, so N(N โˆ’ 1) = 22 ร— 21 = 462.

ฮฃ n(n โˆ’ 1) = 10ร—9 + 6ร—5 + 4ร—3 + 2ร—1 = 90 + 30 + 12 + 2 = 134.

D = 462 / 134 โ‰ˆ 3.45.

Python Simpson's index calculator

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Comparing two sites

Site X has 4 species with 25 individuals each. Site Y has 4 species with one dominant. Run the same function on both to see how evenness changes the index.

Python Even versus uneven communities

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Both forms give a higher value for Site X, the even community, even though the species richness is the same.

Interpreting results

  • A high index suggests a stable, undisturbed habitat with many species sharing resources.
  • A low index may mean one species dominates or the habitat is stressed, for example by pollution.
  • A single value is rarely enough. Compare sites, seasons, or years, and repeat the sampling.
  • Very small samples are unreliable. The more individuals you count, the more trustworthy the index.

Do not treat a high diversity index as automatically good. A site invaded by many non-native species can score high yet be damaged. Always check which species are present.

Other biodiversity measures

Ecologists also use species richness alone (a simple count), abundance (numbers of each species), and indicator species. Some organisms are sensitive to pollution: a stream with many mayfly nymphs usually has clean, well-oxygenated water, while one dominated by sludge worms and bloodworms may be polluted. The presence or absence of such species gives a quick check on water quality.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. In the form D = N(N โˆ’ 1) / ฮฃ n(n โˆ’ 1), a higher D means:

    In this form of the index, higher values mean more diverse communities.
  2. 2. A sample has species counts 3, 3 and 4. What is N?

    N is the total number of individuals: 3 + 3 + 4 = 10.
  3. 3. Why should sampling effort be kept equal at each site?

    Different effort produces different results even if the sites are equally diverse.
  4. 4. A stream dominated by sludge worms rather than mayfly nymphs suggests:

    Sludge worms tolerate low oxygen and pollution; mayfly nymphs are sensitive to it.

Summary

  • Diversity is measured by sampling carefully and using the same effort at each site.
  • Simpson's index D = N(N โˆ’ 1) / ฮฃ n(n โˆ’ 1) (higher = more diverse) combines richness and evenness.
  • Interpret indices alongside which species are present, and repeat the sampling.
  • Indicator species offer a quick check on environmental quality.

Next: Threats to Biodiversity