Shannon Diversity Index Calculator (H′)

Calculate the Shannon-Wiener diversity index H′, evenness, effective number of species and richness from species counts.

Results

Enter your details and click Calculate to see your results.
About This Calculator

H′ = −Σpᵢ ln pᵢ with pᵢ = nᵢ/N; J = H′/ln S.

Example

Example: 10, 20, 30, 40 → H′ = 1.2798542.

Assumptions

Natural log by default (bits shown too).

Frequently Asked Questions

Typical H′ values?

Usually 1.5–3.5 in ecological communities.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile