Niche Breadth and Overlap Calculator
Calculate Levins niche breadth, Pianka niche overlap, and resource partitioning between species.
Levins' B and Its Standardised Form
Levins' measure is the reciprocal of Simpson's concentration index applied to resource use. It counts the effective number of resources a species uses, weighted by how evenly it uses them.
| Resource use | B | Bstd | Interpretation |
|---|---|---|---|
| [0.25, 0.25, 0.25, 0.25] | 4.0 | 1.0 | Perfect generalist |
| [0.4, 0.3, 0.2, 0.1] | 3.33 | 0.78 | Moderate generalist |
| [0.7, 0.2, 0.05, 0.05] | 1.87 | 0.29 | Fairly specialised |
| [1.0, 0, 0, 0] | 1.0 | 0 | Complete specialist |
Standardising by the number of categories is essential, because raw B is bounded by n. A species using all four of four resources equally scores B = 4; the same behaviour across ten resources scores 10. Raw B values from studies with different resource classifications cannot be compared.
Pianka Overlap and What It Cannot Show
Pianka's index runs from 0 to 1 and is symmetric. That symmetry is a limitation: a specialist entirely contained within a generalist's diet experiences far more competitive pressure than the generalist does, yet the index reports one number for both.
High overlap does not demonstrate competition. Two species can share resources completely where those resources are superabundant. Competition requires that the resource be limiting, which overlap measures cannot establish.
The Ghost of Competition Past
The deeper interpretive problem is that observed overlap reflects current coexistence, which may itself be the product of past competition. Species that competed historically may have diverged in resource use, so the species now showing least overlap may be those that competed most intensely.
This is why niche studies pair overlap measures with removal experiments or natural comparisons between sites where a competitor is present and absent — character displacement is far stronger evidence than overlap alone.
Worked Examples
Common Mistakes
B is bounded by the number of resource categories. Different classification schemes make raw values incomparable; use the standardised form.
Overlap only matters when the resource is limiting. Species can share superabundant resources entirely without competing.
The index is mathematically symmetric but competitive impact is not. A specialist nested within a generalist's diet suffers far more.
Species that competed historically may have diverged. Low current overlap can be the product of past competition rather than evidence against it.