Shannon and Simpson Diversity Index Calculator
Enter the number of individuals of each species to get diversity indices.
Your numbers
Your results
Shannon and Simpson Diversity Index Calculator by TheCalcTools
How the Shannon and Simpson Diversity Index Calculator works
The Shannon index H′ = −Σ pᵢ ln pᵢ rises with both the number of species and how evenly individuals are spread among them. Evenness J′ divides H′ by its maximum, ln S.
Simpson’s D is the chance that two individuals picked at random (without replacement) are the same species; 1 − D is the chance they differ.
The formula
Worked example
Using the default values shown in the calculator:
| Individuals per species | 40, 25, 15, 10, 6, 4 |
|---|
- Six species, 100 individuals: H′ = 1.525, evenness 0.851.
- Simpson’s 1 − D = 0.747.
Result:
| Shannon index H′ | 1.5255 |
|---|---|
| Pielou's evenness J′ | 0.8514 |
| Simpson's index of diversity (1 − D) | 0.7473 |
| Inverse Simpson (1/D) | 3.957 |
| Species richness | 6 |
| Total individuals | 100 |
Frequently asked questions
Which index should I use?
Shannon weights rare species more; Simpson emphasises dominant species. Many studies report both.
Sources and further reading
Related calculators
More in Biology · All calculators
This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.
