Index of diversity in A-Level Biology: the formula, how to calculate it, and exam questions with answers
Learn what N and n stand for, calculate the index in five steps, compare it with species richness, then practise on an exam question.
On this page
An index of diversity is a single value that links how many species a community has with how many individuals each of those species has. You calculate it with d = N(N − 1) ÷ (Σn(n − 1)). This page follows AQA A-Level Biology (7402) and AQA AS Biology (7401): it works the formula through one example step by step, then gives you a full exam question with its mark scheme.
What is an index of diversity?
An index of diversity is a measure of biodiversity within a community, meaning all the populations of different species living in the same habitat. Species richness, the number of different species, doesn't show whether the individuals are spread across those species or whether one species is far more abundant than the rest. The index does. Biodiversity can be considered at any scale, from a small local habitat such as a pond up to the whole Earth.
Index of diversity formula
d = N(N − 1) ÷ (Σn(n − 1))
In words: N times (N − 1), divided by the sum of n times (n − 1) for every species.
AQA's specification prints the formula as a fraction, with N(N − 1) on top and Σn(n − 1) underneath, "where N = total number of organisms of all species and n = total number of organisms of each species".
The Σ sign tells you to work out n(n − 1) separately for each species, then add those values together. N is worked out once, from every organism counted; n changes from species to species.
How to calculate the index of diversity
Add up every organism to get N, work out n(n − 1) for each species and add those up, then divide N(N − 1) by that total.
- Count the individuals of each species: these are the values of n.
- Add them all together to find N.
- Work out N(N − 1).
- For each species, work out n(n − 1), then add these values to find Σn(n − 1).
- Divide: d = N(N − 1) ÷ (Σn(n − 1)).
Use the same method for every community you compare.
For example, two communities contain the same four species. In community A there are 10 individuals of each species. In community B there are 37 individuals of species 1 and 1 individual of each of the other three. The table gives n and n(n − 1) for each species in each community, with the totals in the last row.
| Species | Community A: n | Community A: n(n − 1) | Community B: n | Community B: n(n − 1) |
|---|---|---|---|---|
| Species 1 | 10 | 90 | 37 | 1332 |
| Species 2 | 10 | 90 | 1 | 0 |
| Species 3 | 10 | 90 | 1 | 0 |
| Species 4 | 10 | 90 | 1 | 0 |
| Total | N = 40 | Σn(n − 1) = 360 | N = 40 | Σn(n − 1) = 1332 |
- Both communities have N = 40, so N(N − 1) = 40 × 39 = 1560 for both.
- Community A: d = 1560 ÷ 360 = 4.33
- Community B: d = 1560 ÷ 1332 = 1.17
Both communities have a species richness of 4. Community A has the larger index of diversity, 4.33, so it is the more diverse community: its individuals are less concentrated in one species.
Species richness vs index of diversity
Species richness counts species. An index of diversity also takes into account how many individuals each species has.
| Species richness | Index of diversity | |
|---|---|---|
| Information used | Number of different species | Number of species and number of individuals in each species |
| Effect of one dominant species | Not shown directly | Lowers the value of the index |
| Communities A and B above | 4 and 4 | 4.33 and 1.17 |
A larger index of diversity generally indicates a more diverse community, but the index alone doesn't tell you which species are present or why their numbers differ. Comparisons mean most when the organisms were counted with comparable sampling areas, methods and times.
Farming, conservation and biodiversity
Some farming techniques reduce biodiversity. Replacing a range of habitats with a large area of one crop, removing hedgerows, field margins or uncultivated areas, using pesticides and removing weeds can all reduce species richness. They can also lower the index of diversity if a small number of crop species become far more abundant than the rest.
Conservation is the protection and maintenance of biodiversity. On a farm it can mean keeping hedgerows, leaving field margins, reducing pesticide use in some areas or keeping some land uncultivated, but land used that way may not be available for crops. AQA's specification lists "Farming techniques reduce biodiversity" and "The balance between conservation and farming".
Index of diversity exam questions with answers
The question below is an exam-style question from Medly, marked with Medly's mark scheme.
Question 1: (9 marks)
Ecologists compared the biodiversity of ground beetles in an ancient deciduous woodland plot and a monoculture conifer plantation plot using pitfall traps.
The table shows the results for the 4 species of ground beetle trapped in the conifer plantation plot. The total number of ground beetles of all species trapped in this plot was 40.
| Ground beetle species | Number of individuals (n) |
|---|---|
| Pterostichus madidus | 18 |
| Nebria brevicollis | 14 |
| Carabus nemoralis | Missing value |
| Abax parallelepipedus | 2 |
| Total (N) | 40 |
(a) Write down the formula used to calculate the index of diversity (d) and state what the symbols N and n represent. [2 marks]
(b) What is meant by species richness, and across what range of spatial scales can biodiversity be considered? [2 marks]
(c) In a sample from the ancient deciduous woodland plot, the ecologists trapped a total of 40 ground beetles (N = 40) and calculated that Σn(n − 1) = 240. Use this information and the table to calculate the difference between the index of diversity (d) of the ancient deciduous woodland plot and that of the conifer plantation plot. Show your working. [3 marks]
(d) In a third plot located in a recently felled area of woodland, the ecologists also recorded 4 ground beetle species and a total of 40 individual beetles (N = 40), but calculated an index of diversity of d = 1.65. Explain how this third plot can have the same species richness and the same total number of individuals as the conifer plantation plot, but a lower index of diversity. [2 marks]
Answer
(a)
- The formula d = N(N − 1) ÷ (Σn(n − 1)) (1 mark). Medly's mark scheme accepts the equation written with d = on the left-hand side.
- N is the total number of organisms of all species, and n is the total number of organisms of each species (1 mark). Both definitions are needed for the mark, and "number of species" for N or n is rejected.
(b)
- Species richness is the number of different species in a community (1 mark). "Number of organisms" or "number of individuals" is rejected.
- Biodiversity can be considered at scales ranging from a small local habitat to the whole Earth (1 mark).
(c)
- The missing value for Carabus nemoralis is n = 40 − (18 + 14 + 2) = 6. For the conifer plantation, 18 × 17 = 306, 14 × 13 = 182, 6 × 5 = 30 and 2 × 1 = 2, so Σn(n − 1) = 306 + 182 + 30 + 2 = 520 (1 mark).
- Woodland: d = 40 × 39 ÷ 240 = 6.5. Conifer plantation: d = 40 × 39 ÷ 520 = 3.0 (1 mark). Medly's mark scheme allows an error carried forward for the conifer plantation if Σn(n − 1) used a wrong value of n.
- Difference = 6.5 − 3.0 = 3.5 (1 mark). A correct answer of 3.5 scores all 3 marks, and if the final answer is wrong the scheme allows 1 or 2 marks for correct intermediate steps.
(d)
- The index of diversity takes into account both the number of species (species richness) and the number of individuals of each species (1 mark).
- The recently felled plot has a more uneven spread of individuals across the four species, or is dominated by one abundant species, which lowers the index of diversity (1 mark).
In every calculation of this index, n(n − 1) is worked out species by species and then added, while N(N − 1) is worked out once. Medly marks written answers like Question 1 against the mark scheme, so you can see which point you missed. Medly's free plan includes 5 marked questions, 20 AI tutor messages and 1 uploaded paper a day, with no card needed, and Medly has an AQA A-Level Biology course.
Which paper tests the index of diversity?
AQA's A-Level Paper 1 and Paper 3 can examine the index of diversity, and so can both AS papers: our papers guide has what each paper covers. Our specification guide lists every topic in the course.
Frequently asked questions
What is the formula for the index of diversity?
d = N(N − 1) ÷ (Σn(n − 1)): N times (N − 1), divided by the sum of n times (n − 1) for every species.
What do N and n stand for in the index of diversity?
N is the total number of organisms of all species in the community, and n is the total number of organisms of each species.
Does a higher index of diversity mean more diversity?
Generally, yes: a larger index of diversity indicates a more diverse community.
What is the difference between species richness and an index of diversity?
Species richness is the number of different species in a community. An index of diversity also uses the number of individuals in each species, so one dominant species lowers it.
Is the index of diversity the same as Simpson's index?
AQA's mathematical requirements give D = 1 − Σ(n/N)² as an example of an equation you may be given, under the name Simpson's index of diversity. Its subject content gives d = N(N − 1) ÷ (Σn(n − 1)). The two are written differently and give different values, so use the equation the question gives.
Is the index of diversity in AS Biology?
It is in section 3.4.6 Biodiversity within a community, and AQA says sections 1 to 4 "are also the AS subject content".