Simpson's Diversity Index Calculator

Measure the biodiversity of a sample with Simpson's index (D, 1 − D and 1/D), species richness, the Shannon index and evenness.

Updated · Free · Runs in your browser

One count per species, separated by commas.

Simpson's index of diversity (1 − D) —
What it means —
Simpson's index D (dominance) —
Reciprocal index 1/D —
Species richness —
Total individuals —
Shannon index H′ —
Pielou's evenness J′ —
Inverse Simpson (Σp²) —
    Was this calculator helpful?

    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

    1. Counts of 25, 12, 8, 5, 3 and 2 (N = 55, S = 6 species).
    2. Σ n(n − 1) = 600 + 132 + 56 + 20 + 6 + 2 = 816.
    3. D = 816 ÷ (55 × 54) = 816 ÷ 2,970 = 0.2747.
    4. 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.

    Frequently asked questions

    What is a good Simpson's diversity index?
    There's no universal threshold, as values depend on the habitat and sampling method. As a rough guide, 1 − D above about 0.8 indicates high diversity and below about 0.5 low diversity. Compare sites sampled the same way.
    What is the difference between D and 1 − D?
    D is the probability that two random individuals are the same species, so lower D means more diversity. 1 − D is the probability they're different, so higher means more diversity.
    Why does the formula use n(n − 1)?
    Because individuals are picked without replacement. After picking one individual of a species, there are n − 1 left of that species and N − 1 in total.
    What is the difference between Simpson's and Shannon's index?
    Simpson's index is dominated by the most common species, while Shannon's index gives more weight to rare species. Both increase with richness and evenness.
    Can I use percentage cover instead of counts?
    For plants, ecologists sometimes use percentage cover. The Σp² form (inverse Simpson) works with proportions, but the n(n − 1) version needs whole-number counts.

    ↑↓ to navigate · Enter to open