Skip to main content
Examonaut

Topic 3C · Lesson 2 of 4

Calculating an index of diversity

The index of diversity

The index of diversity combines richness and evenness:

D=N(N−1)∑n(n−1)D = \frac{N(N-1)}{\sum n(n-1)}

where:

  • NN is the total number of organisms of all species in the sample;
  • nn is the number of organisms of each species;
  • ∑\sum means "the sum of": work out n(n−1)n(n-1) for every species, then add them up.

The higher the value of DD, the greater the diversity. If every organism belongs to one species, D=1D = 1, the minimum possible. Adding more species, or spreading individuals more evenly, increases DD.

How to calculate DD:

  1. Step 1: Add up the numbers of all species to find NN.
  2. Step 2: Calculate N(N−1)N(N - 1).
  3. Step 3: For each species, calculate n(n−1)n(n - 1). (A species with just one individual gives 1×0=01 \times 0 = 0.)
  4. Step 4: Add these together to get ∑n(n−1)\sum n(n-1).
  5. Step 5: Divide step 2 by step 4.

Worked example

Comparing two woods

The bar chart below shows the trees counted in two woods. Calculate the index of diversity for each wood and compare them.

Show solution
01020301230oak104ash83holly62hazel41birchwood Awood Bnumber of treestree species
  1. Both woods have 40 trees: N=40N = 40, so N(N−1)=40×39=1560N(N-1) = 40 \times 39 = 1560.
  2. Wood A: n(n−1)n(n-1) values are 12×11=13212 \times 11 = 132, 10×9=9010 \times 9 = 90, 8×7=568 \times 7 = 56, 6×5=306 \times 5 = 30, 4×3=124 \times 3 = 12. Sum =132+90+56+30+12=320= 132 + 90 + 56 + 30 + 12 = 320.
  3. Wood A: D=1560÷320=4.88D = 1560 \div 320 = 4.88 (3 s.f.).
  4. Wood B: 30×29=87030 \times 29 = 870, 4×3=124 \times 3 = 12, 3×2=63 \times 2 = 6, 2×1=22 \times 1 = 2, 1×0=01 \times 0 = 0. Sum =890= 890.
  5. Wood B: D=1560÷890=1.75D = 1560 \div 890 = 1.75 (3 s.f.).
  6. Compare: both woods have the same species richness (5 species) and the same number of trees, but wood A has a much higher index of diversity, because its trees are spread more evenly among the species. Wood B is dominated by oak.

Worked example

Interpreting a changetop grade

A grassland had an index of diversity of 6.2 before a fertiliser was spread on it, and 3.1 two years later. The number of species fell from 22 to 18. Explain what the data show and suggest a reason.

Show solution
  1. The index has halved, a much larger proportional fall than in species richness (22 to 18 is a fall of about 18%).
  2. So the main change is in evenness: a few species have become dominant, while others have become rare or lost.
  3. A likely reason: fertiliser supplies nitrate and phosphate, so a few fast-growing species (often tall grasses) outcompete the others for light, shading them out.
  4. To be confident, you would need to know the sampling method was the same at both times, and ideally compare with an unfertilised control plot over the same period, since weather also varies between years.

Practise this topic

Both are part of Premium.