Shannon Diversity Index Calculator

Enter species abundance counts and calculate Shannon H', evenness, richness, and each species contribution.

Answer

1.2528

Shannon index H'

Evenness: 0.9037

Species richness: 4

Total individuals: 100

Effective species: 3.5001

Examples

Dominant species

Species A · 42%

Species contributions
SpeciesCountProportionContribution to H'
Species A4242%0.3644
Species B3131%0.3631
Species C1818%0.3087
Species D99%0.2167

Formula

H' = -sum(p_i x ln(p_i)); evenness = H' / ln(S)

p_i is each species' share of all individuals. S is species richness.

SymbolVariableDescription
p_iSpecies proportionSpecies count divided by total individuals.
SRichnessNumber of species with positive counts.
H'Shannon indexDiversity value combining richness and evenness.

How to use it

  1. 1

    Enter species counts

    Add each species or category with its abundance count.

  2. 2

    Read H' and evenness

    Higher H' usually means greater diversity; evenness shows how balanced the counts are.

  3. 3

    Check contributions

    The table shows each species' proportion and contribution to H'.

Result fields

Use these values when reporting community diversity.

ResultMeaning
H'Shannon diversity index
EvennessHow evenly individuals are distributed among species
Effective speciesexp(H'), an intuitive diversity equivalent

Shannon index FAQ

Related calculators

More tools

Browse more calculator categories

All calculators