Works on this device
Simpson Diversity Calculator
Type how many individuals of each species you counted. The calculator gives Simpson's index D, the index of diversity 1 − D, the reciprocal index 1/D and the forms with proportions, with the working.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Simpson's index from counts per species.
- Type one row for each species: a name (optional) and the number of individuals in your sample. You can also paste a list with one species on each line, such as
Robin, 12. - Choose Calculate. The result shows every form of the index, the species richness, the evenness, a table of the species and a chart of the counts.
- If you only have percentages, such as percent cover, choose Simpson's index from shares in percent.
The formulas
- Simpson's index for a sample: D = Σ n(n − 1) ÷ (N(N − 1)), where n is the count of one species and N the count of all individuals. D is the chance that two individuals picked at random, without putting the first back, are of the same species.
- Simpson's index of diversity: 1 − D, the chance that they are of different species.
- Simpson's reciprocal index: 1 ÷ D.
- With proportions p = n ÷ N: λ = Σ p², the Gini–Simpson index 1 − λ and the inverse Simpson index 1 ÷ λ (the effective number of species).
- Evenness: (1 ÷ D) ÷ S, where S is the number of species with at least one individual.
Worked example
A sample has 12, 7, 3, 1 and 1 individuals of five species, so N = 24 and S = 5.
Σ n(n − 1) = 12 × 11 + 7 × 6 + 3 × 2 + 0 + 0 = 132 + 42 + 6 = 180, and N(N − 1) = 24 × 23 = 552.
D = 180 ÷ 552 = 15/46 = 0.3261. So 1 − D = 0.6739 and 1 ÷ D = 3.067. The evenness is 3.067 ÷ 5 = 0.613.
Limits you should know
- Papers and courses use D, 1 − D or 1/D under the name "Simpson's index". Check which one is meant before you compare numbers.
- The index describes your sample. It depends on the area, the time and the effort of the count, so compare only samples taken in the same way.
- Species with a count of 0 are listed but not counted in the richness S. A sample needs at least 2 individuals.
- No species lists or field data are built in: every count is the one you type.