Loading…

Species Richness and Evenness Indices ( Shannon, Simpson )

Biology • Ecology and Environmental Biology

View all topics

What this calculator reports

Core quantities

  • N total individuals, S species richness, and each species’ pᵢ = nᵢ/N.
  • Shannon H′: sensitive to both richness and evenness.
  • Simpson (choose a form): dominance D, diversity 1−D, or reciprocal 1/D.
  • Evenness J (optional): how evenly abundance is distributed across species.

Interpretation tip: higher H′ and higher (1−D) generally indicate greater diversity, while higher D indicates stronger dominance by a few species.

For multiple sites, the tool also builds a comparison table so you can rank communities by H′, Simpson, and J.

Default is ln. If you change base, H′ is reported in that base.

These are all computed from the same Σ pᵢ² value.

J = H′ / log(S). Defined when S > 1.

Enter species counts as rows, or paste a two-column table (species, count).

Species Count Action

Only positive counts are used. Species names are optional but recommended.

CSV columns: Species, Count (header optional).

Paste long-format data (Site, Species, Count) or upload CSV. The calculator groups rows by site and computes indices per site.

Separators supported: commas or tabs. Header row optional.

CSV columns: Site, Species, Count (header optional).

The graphs and pᵢ table show the selected site.

Ready
Rank–abundance curve

Hover to read values. Mouse wheel to zoom. Drag to pan. On touch devices, drag to pan; use zoom buttons.

Community composition

Hover on a segment to see species and pᵢ. For many species, grouping improves readability.

Results

Enter data and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does Shannon diversity H' measure in this calculator?

H' summarizes both richness and evenness using H' = -sum(pi log(pi)). Higher H' usually means a community has more species and/or a more even distribution of abundances.

What are the different Simpson index forms and how do they relate?

The core quantity is D = sum(pi^2), which increases when a few species dominate. The calculator can report D (dominance), 1 - D (diversity), or 1/D (reciprocal), all derived from the same D value.

What is Pielou evenness J and when is it defined?

Pielou evenness is J = H' / log(S), which rescales Shannon diversity by its maximum possible value for the observed richness. It is defined only when S > 1 because log(1) = 0.

Does changing the Shannon log base change which site is most diverse?

Changing the log base rescales H' but does not change the ordering of sites as long as the same base is used for all comparisons. The calculator reports H' in the chosen base and uses the same base consistently for J.

Why are only positive species counts used in the calculations?

Species richness S is defined as the number of species with nonzero abundance, and pi requires N > 0. Rows with zero or negative counts do not represent observed individuals and are excluded from the index sums.