Diversity Indices Calculator
Calculate Shannon diversity H', Pielou evenness J', and Simpson diversity for ecological communities.
Richness, Evenness and Diversity
Diversity indices combine two distinct things, and separating them is what makes the numbers interpretable.
| Component | Measures | Example |
|---|---|---|
| Richness | How many species | 5 species present |
| Evenness | How equally abundant | 40:30:20:8:2 versus 200:5:3:2:1 |
| Diversity | Both combined | Shannon H′, Simpson D |
Pielou's J′ isolates evenness by dividing observed diversity by the maximum possible for that richness. It runs from 0 to 1, so a J′ of 0.83 means the community is close to perfectly even, while a value near 0.3 indicates strong dominance.
Two communities with identical species counts can therefore have very different H′. The five-species example at 40:30:20:8:2 gives H′ = 1.33 and J′ = 0.83; the same five species at 200:5:3:2:1 gives a far lower H′ because one species dominates.
Shannon or Simpson?
| Index | Weights | Sensitive to | Range |
|---|---|---|---|
| Shannon H′ | Information-based | Rare species | 0 to ln(S) |
| Simpson D | Probability two individuals differ | Dominant species | 0 to 1 |
Shannon responds strongly to rare species, so it rewards thorough sampling — and is correspondingly sensitive to sampling effort. Simpson is dominated by the common species and is more robust to missing rarities. Reporting both is standard practice, since they answer different questions.
Because Shannon rises with every additional rare species detected, comparing H′ between studies with different sampling effort is invalid. Rarefaction to a common sample size is necessary before comparison.
Worked Examples
Common Mistakes
H′ rises as more rare species are detected. Studies with different effort must be rarefied to a common sample size before comparison.
Two communities with the same species count can differ enormously in structure. Pielou's J′ separates evenness from richness.
Shannon weights rare species heavily and Simpson weights dominants. They can order the same set of communities differently.
Its maximum is ln(S), which depends on richness. A value of 2.0 means something different in a 10-species versus a 100-species community.