Comparing habitats: index of diversity (D)

Plant Structure and Function, Biodiversity and Conservation · Classification and biodiversity · note 4 of 4

Comparing habitats: index of diversity (D)Spec 4.18

In short

The index of diversity D = N(N−1) ÷ Σn(n−1) takes into account both the number of species and the number of individuals of each, where N is the total number of organisms and n is the number of each species. A higher D means a more diverse habitat. It allows different habitats to be compared.

Species richness does not tell us how evenly individuals are spread among species. The index of diversity (D) uses both the number of species and their relative abundance.

D = N(N − 1) ÷ Σn(n − 1)
  • N = total number of organisms of all species
  • n = total number of organisms of each species
  • Σ = sum of

A habitat with many species with similar numbers of individuals has a high D. A habitat dominated by one species has a low D, as does one with few species. D has a minimum of 1 for a single species.

Calculating D for a habitat

A quadrat survey of woodland A recorded five species: 12, 8, 5, 3 and 2 individuals. Calculate the index of diversity.

  1. N = 12 + 8 + 5 + 3 + 2 = 30
  2. N(N − 1) = 30 × 29 = 870
  3. Σn(n − 1) = (12 × 11) + (8 × 7) + (5 × 4) + (3 × 2) + (2 × 1) = 132 + 56 + 20 + 6 + 2 = 216
  4. D = 870 ÷ 216

Answer: 4.0 (to 2 significant figures)

If a second woodland, B, has 30 individuals in three species (25, 3 and 2), Σn(n − 1) = 600 + 6 + 2 = 608 and D = 870 ÷ 608 = 1.4. Woodland A is more diverse than woodland B, even though B also has several species, because B is dominated by one species.

Interpreting and evaluating D

  • A high D means the habitat is more diverse, which often indicates a stable habitat with many niches.
  • A low D suggests a habitat dominated by a few species, which may indicate pollution or disturbance.
  • Results depend on sampling: use random sampling, with enough samples, from habitats of comparable area, at the same time of year.
  • D uses numbers only, so it does not show how different the species are from one another, and it gives only a snapshot at one time.
Exam tip:

Show N, N(N − 1), the sum Σn(n − 1) and the division. A final answer with no working often loses marks.

Maths skill:

n(n − 1) for a species with 1 individual is 0, so single individuals do not add to the bottom line but are still counted in N.

Quick check

  1. Name the three domains of life.

    Show answer

    Archaea, Bacteria and Eukarya.

  2. What type of evidence led to the three-domain system?

    Show answer

    Molecular evidence, such as differences in rRNA and other nucleotide or protein sequences.

  3. Define endemism.

    Show answer

    A species being found in only one geographical region and nowhere else.

  4. What is species richness?

    Show answer

    The number of different species in a habitat.

  5. In D = N(N − 1) ÷ Σn(n − 1), what does n stand for?

    Show answer

    The total number of organisms of each species.

Written and checked against the Edexcel International A Level Biology (YBI11) specification · Updated October 2026

Frequently asked questions

What is the three-domain system of classification?

The three-domain system places all organisms into Archaea, Bacteria or Eukarya. It is based on molecular evidence, such as differences in ribosomal RNA, membrane lipids and DNA-associated proteins, which showed that archaea differ from bacteria as well as from eukaryotes. It replaced the earlier grouping of all prokaryotes together.

What is the difference between biodiversity and endemism?

Biodiversity is the variety of living organisms in an area, including species, genetic and habitat diversity. Endemism is when a species is found in one geographical region and nowhere else, such as lemurs in Madagascar. Endemic species are vulnerable because of their restricted range.

How is genetic diversity measured?

Genetic diversity within a species can be measured with the heterozygosity index: the number of heterozygous individuals divided by the total number of individuals in the population. The value ranges between 0 and 1, and a higher value means greater genetic diversity.

All 5 questions on Classification and biodiversity

Finished classification and biodiversity? Test yourself:Exam questionsFlashcards