standarddeviationcalculator.net SD Calculator

Simpson's diversity index calculator

Share this page

Favorites

    No favorites yet. Press Favorite on any page to keep it here.

    Methodology

    Enter the number of individuals of each species in your sample and the calculator gives Simpson's index D, the index of diversity 1 − D and the reciprocal index 1/D, with the working laid out the way exam mark schemes expect.

    Species and counts
    SpeciesNumber of individuals nRemove

    Simpson’s index of diversity 1 − D 0.7517
    Simpson’s index D (dominance)0.2483
    Reciprocal index 1/D4.028
    Species richness S5
    Total individuals N30
    Evenness (1/Σp²) ÷ S0.7317
    Speciesnp = n/Nn(n − 1)
    Buttercup120.4132
    Daisy80.266756
    Clover50.166720
    Dandelion30.16
    Plantain20.066672
    Total301216
    12 Buttercup 8 Daisy 5 Clover 3 Dandelion 2 Plantain n
    Show the working, step by step
    1. Add up the individuals.

      N = 12 + 8 + 5 + 3 + 2 = 30

    2. For each species work out n(n − 1), then add them.

      Σn(n − 1) = 12×11 + 8×7 + 5×4 + 3×2 + 2×1 = 216

    3. Divide by N(N − 1).

      D = 216 ÷ (30 × 29) = 216 ÷ 870 = 0.248276

    4. Subtract from 1 for the index of diversity, and invert for the reciprocal.

      1 − D = 0.7517 1/D = 4.028

    1 − D is the probability that two individuals picked at random (without replacement, in the n(n − 1) form) belong to different species. It runs from 0 (one species) towards 1 (many equally common species).

    Simpson's diversity index formula

    D = Σ n(n − 1) ÷ N(N − 1) index of diversity = 1 − D reciprocal index = 1 ÷ D

    n is the number of individuals of one species and N the total number of individuals of all species. With proportions p = n/N, the infinite-population version is D = Σp².

    Simpson's diversity index: a worked example

    The default is a meadow quadrat with 12 buttercups, 8 daisies, 5 clover, 3 dandelions and 2 plantains, so N = 30.

    Speciesnn(n − 1)
    Buttercup12132
    Daisy856
    Clover520
    Dandelion36
    Plantain22
    Total30216

    D = 216 ÷ (30 × 29) = 216 ÷ 870 = 0.2483 1 − D = 0.7517 1 ÷ D = 4.03

    Two plants picked at random from this quadrat have a 75% chance of being different species. The reciprocal index says the community is as diverse as one with about 4 equally common species, even though 5 species are present, because buttercups dominate. With the Σp² form the same counts give D = 0.2733 and 1 − D = 0.7267. The finite-sample form is higher because it accounts for not picking the same individual twice.

    A second example: three tree species

    A forest plot holds 10 pines, 25 oaks and 15 maples, so N = 50. Then Σn(n − 1) = 10 × 9 + 25 × 24 + 15 × 14 = 90 + 600 + 210 = 900.

    D = 900 ÷ (50 × 49) = 900 ÷ 2450 = 0.3673 1 − D = 0.6327 1 ÷ D = 2.72

    With three species the most the index of diversity could approach is 1 − 1/3 = 0.667, so 0.63 is close to even. The Σp² form gives D = 0.2² + 0.5² + 0.3² = 0.38 and 1 − D = 0.62.

    D, Gini-Simpson and inverse Simpson

    The same sum appears under several names. D is the dominance index. 1 − D is the Gini-Simpson index, Simpson's index of diversity, and 1/D is the inverse Simpson index, Simpson's reciprocal index. In the Hill number family 1/D is the order-2 effective number of species. The calculator reports all three, plus species richness S and evenness (1/Σp²) ÷ S, which lies between 0 and 1.

    Interpreting the index

    1 − D runs from 0, when every individual is the same species, towards 1 as the number of species grows and their abundances even out. There is no standard threshold for calling a community diverse, so the index is most useful for comparison, the same method, quadrat size and effort at two sites, or at one site over time. As an illustration, a lawn dominated by one grass would score near 0, and a meadow with many flowering species at similar abundance would score closer to 1.

    Simpson's index is weighted towards the common species. Adding one individual of a rare species barely changes it, which makes it robust to sampling effort but less sensitive to rare species than the Shannon index.

    Simpson vs Shannon

    Both combine richness and evenness. Squaring the proportions makes Simpson's index respond mainly to the most abundant species, so it suits questions about dominance. The logarithm in Shannon's H′ gives rare species more weight, so it is the better choice when rare species matter. The Shannon diversity index calculator gives H′ and Pielou's evenness for the same counts.

    Collecting the counts

    Count every individual of every species inside the sample area, and use the same quadrat size and number of quadrats at each site you compare. For plants that are hard to count as individuals, such as grasses, percentage cover is sometimes used in place of n. The p² form then applies, with p as each species' share of the total cover.

    Common mistakes

    • Reporting D and calling it diversity. D is dominance. Diversity is 1 − D or 1/D.
    • Using N² instead of N(N − 1) in the n(n − 1) form, or mixing the two forms.
    • Forgetting that a species with one individual contributes 1 × 0 = 0 to Σn(n − 1), but still counts towards N.
    • Comparing sites sampled with different quadrat sizes or effort.

    Reference: Simpson, E. H. (1949). Measurement of diversity. Nature 163, 688.

    Simpson's diversity index calculator: the worked example on this page, with its result and chart
    Simpson's diversity index calculator: the worked example above, at a glance.

    Common questions

    What is Simpson's diversity index?

    A measure of biodiversity that accounts for both how many species there are and how evenly the individuals are spread among them. D is the probability that two individuals picked at random belong to the same species. 1 − D, Simpson's index of diversity, is the probability they belong to different species.

    Is a high or low value more diverse?

    It depends which version you quote, which is why it causes confusion. A high 1 − D or a high 1/D means high diversity. A high D means low diversity, because D measures dominance. Always say which one you report.

    Which formula should I use: n(n − 1) or p²?

    Most biology courses and field guides use Σn(n − 1) ÷ N(N − 1), which is Simpson's original form for a finite sample drawn without replacement. Σp² is the form for an infinite population and is slightly larger. The two converge as the sample grows.

    What does the reciprocal index 1/D mean?

    The number of equally common species that would give the same D, also called the inverse Simpson index or the effective number of species. Its minimum is 1 (one species) and, in the Σp² form, its maximum is the number of species S, reached when all are equally abundant. In the n(n − 1) form a small sample can give a value slightly above S, because sampling without replacement lowers D.

    What is the difference between D, the Gini-Simpson index and the inverse Simpson index?

    They are three views of the same sum. D is the dominance form, the chance two individuals are the same species. 1 − D is the Gini-Simpson index, also called Simpson's index of diversity, the chance they differ. 1/D is the inverse Simpson index, also called Simpson's reciprocal index. Only D falls as diversity rises.

    What does a high Simpson's diversity index mean?

    For 1 − D, a high value means a community with many species and no single species dominating, so two individuals picked at random are likely to differ. For D, a high value means the opposite. One or a few species dominate. There is no universal cut-off, so compare sites using the same method and effort.