How to use the simpson's diversity index calculator
Measure biodiversity of a community. Enter counts per species in the field above; the simpson index d, simpson diversity 1 − d, species richness are computed instantly and plotted on the chart so you can see how the answer changes.
Formula
Variables
- n — Counts per species
Worked example
With counts per species = 10,20,5,15, the calculator gives simpson index d ≈ 0.2857143; simpson diversity 1 − d ≈ 0.7142857; species richness ≈ 4.
Frequently asked questions
What is the formula for the simpson's diversity index calculation?
Simpson index D = sum(n.map(function(v){return v × (v-1)})) / (sum(n) × (sum(n)-1)). Simpson diversity 1 − D = 1-[Simpson index D]. Species richness = len(n). Here n is counts per species.
What inputs do I need for the simpson's diversity index calculator?
You need counts per species. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use this calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.