Home · Statistics · Descriptive Statistics · Simpson’s Diversity Index Calculator
Simpson’s Diversity Index Calculator
Simpson's diversity index (Gini–Simpson form): the probability that two randomly drawn individuals belong to different groups.
What this calculator does
Simpson's diversity index (Gini–Simpson form): the probability that two randomly drawn individuals belong to different groups. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
n is the count in each group and N the total count; D is Simpson's concentration.
The headline result is 1 − D, so 0 means no diversity and values near 1 mean high diversity.
Worked example
With the example inputs this page opens with, the result is 0.7169. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 0.7169 |
| Simpson concentration D | 0.283069 |
| Total observations | 28 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Why report 1 − D instead of D?
D itself is a concentration measure that falls as diversity rises; 1 − D reads naturally as a diversity score between 0 and 1.
How does Simpson's index differ from Shannon entropy?
Simpson's index weights common groups heavily and barely notices rare ones; Shannon entropy is more sensitive to rare categories.
How does the Simpson’s Diversity Index Calculator work?
Simpson's diversity index (Gini–Simpson form): the probability that two randomly drawn individuals belong to different groups. Counts per group → 1 − D. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Simpson’s Diversity Index Calculator need?
Counts per group → 1 − D. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.