The formula
D = Σ n(n − 1) ÷ (N(N − 1)), where n = individuals of each species and N = total individuals
Simpson's index of diversity = 1 − D (0 = no diversity, close to 1 = high diversity)
Simpson's reciprocal index = 1/D
Shannon index H′ = −Σ pᵢ ln pᵢ; Pielou's evenness J′ = H′ ÷ ln S
Worked example
- Counts of 25, 12, 8, 5, 3 and 2 (N = 55, S = 6 species).
- Σ n(n − 1) = 600 + 132 + 56 + 20 + 6 + 2 = 816.
- D = 816 ÷ (55 × 54) = 816 ÷ 2,970 = 0.2747.
- Simpson's index of diversity = 1 − 0.2747 = 0.7253, so there's a 72.5% chance that two randomly chosen individuals are different species.
What Simpson's index measures
Simpson's diversity index measures biodiversity by taking into account both the number of species present (richness) and how evenly individuals are spread among them (evenness). Its most intuitive form, 1 − D, is the probability that two individuals picked at random from a sample belong to different species. A value close to 1 means high diversity; a value close to 0 means one species dominates. Ecologist Edward Simpson introduced it in 1949, and it's widely used in field studies, GCSE and A-level biology, and environmental impact assessments.
D, 1 − D and 1/D
Simpson's index comes in three versions, which often causes confusion. D itself is the probability that two random individuals are the same species, so higher D means lower diversity. Simpson's index of diversity, 1 − D, reverses this so that higher means more diverse; it's the form most school exam boards use. The reciprocal index, 1/D, ranges from 1 up to the number of species and can be read as the "effective number of species": a value of 3.6 means the community is as diverse as one with 3.6 equally common species.
Collecting your data
Count the individuals of each species in a defined area or sample, using quadrats for plants and sessile animals, pitfall traps or sweep nets for invertebrates, or kick sampling for freshwater invertebrates. Use the same method and sampling effort at each site you compare. Identify species carefully, or use morphospecies (distinct types) if exact identification isn't possible. Enter one count per species. Species with a count of zero are ignored for richness but don't affect the index.
Interpreting the results
Diversity indices are most useful for comparing sites or tracking change over time, such as a meadow before and after a change in mowing, or upstream and downstream of a pollution source. A sudden drop in diversity can indicate disturbance or pollution, because a few tolerant species tend to dominate stressed habitats. Higher diversity often indicates a more stable ecosystem, better able to recover from change. Always compare like with like: woodland and grassland naturally differ, and sample size affects the results, especially for rare species.
The Shannon index and evenness
The calculator also gives the Shannon–Wiener index, H′, which is more sensitive to rare species than Simpson's index. Typical values for real communities range from about 1.5 to 3.5. Pielou's evenness, J′, divides H′ by its maximum possible value for the number of species, ln S, giving a value from 0 to 1, where 1 means every species is equally abundant. Reporting richness, a diversity index and evenness together gives the fullest picture of a community.
A quick comparison example
Imagine two ponds, each with 100 animals of four species. In pond A the counts are 25, 25, 25 and 25; in pond B they are 85, 5, 5 and 5. Both have the same richness, but pond A's index of diversity is 0.758 while pond B's is only 0.273, because one species dominates pond B. This is why counting species alone can be misleading.
Other ecology and statistics tools
For estimating population totals and change over time, see the population growth calculator. To summarise the variation in counts between quadrats, use the standard deviation calculator, and to plan how many samples you need, the sample size calculator. For the probability reasoning behind the index, the permutation and combination calculator counts ways of choosing pairs.