Shannon Diversity Index
Calculator

Inputs

Shannon diversity index H'
1.011404

Results

Shannon diversity index H'
1.011404
Species richness
3
Evenness index J'
0.920619

Biology and lab results

Shannon diversity index H'1.011404
Species richness3
Evenness index J'0.920619

formula-map diagram

Shannon diversity index H'
1.011404
Species richness
3
Evenness index J'
0.920619

Formula breakdown

Formula

H' = −Σ(pᵢ × ln pᵢ), pᵢ = count of species i ÷ total individuals

= 1.0114042647074

Note

Simplified model: these results use standard textbook laboratory relationships and average constants (A260 = 1 for 50 µg/mL dsDNA, 617.96 g/mol per base pair, ~110 Da per amino acid, ideal exponential growth). Real samples vary with purity, contaminants, buffer, temperature and instrument calibration. Always confirm against your own standards and protocol; do not use for diagnostic or safety-critical work.

Example: with the default inputs, calculator.biology.shannon_index_h is 1.0114042647073516.

More in Biology and lab

See all →

Frequently asked questions

How is the Shannon diversity index calculated?+

H' = −Σ(pᵢ × ln pᵢ), where pᵢ is the count of species i divided by the total number of individuals. The natural logarithm is used.

How many species can I enter?+

Up to three, A, B and C. Enter 0 for a species that is absent and it is left out of the sum.

What are species richness and evenness in the results?+

Richness is the number of species with a count above zero. Evenness J is H' divided by ln(richness), and shows 0 when there is only one species.

What happens if every species has the same count?+

H' reaches its maximum for that richness, ln(richness), and evenness J is 1.

Does it work with more than three species?+

No, this version handles three at most. For a larger community the result would not cover all species.