Brillouin Index Calculator
Ecology & diversity
- Two aggregates: the sample holds 1,250 individuals, and the abundance-weighted log sum over species, sum of ni ln ni, is 5120.40.
- Subtraction: ln N = 7.1309 minus the mean log count 4.0963 leaves the Brillouin index H = 3.0346.
- Exactness: unlike Shannon's estimate, Brillouin is the exact diversity of the collection actually sampled, with no unseen-species correction.
- Brillouin result: 3.0346; it approaches the Shannon value as the sample grows toward the whole community.
Most diversity indices are estimates: they look at a sample and guess at the community it came from. The Brillouin index refuses that job. It treats the collection in hand — this trap catch, this quadrat, this museum drawer — as the entire universe of interest and computes its diversity exactly, with no correction for species that might have been missed, because in its intended setting there are none: the collection was fully counted.
The formula is H = ln N - (sum over species of ni ln ni) / N, where N is the total number of individuals and ni each species' count. It is the finite-collection counterpart of the Shannon index — the same mathematics with the sampling assumption stripped out — and it always sits at or below the Shannon value computed from the same proportions.
Enter the total count and the abundance-weighted log sum from your species table. The calculator returns H with ln N and the mean log count alongside, the two pieces the subtraction is built from.
Worked examples
Brillouin index of a trap collection
(1250 · 5120.4)
| Brillouin index H | 3.0346 |
| Log of N | 7.1309 |
| Mean log count (sum / N) | 4.0963 |
Brillouin index of a small collection
(486 · 1685.75)
| Brillouin index H | 2.7176 |
| Log of N | 6.1862 |
| Mean log count (sum / N) | 3.4686 |
Brillouin index of a large collection
(9320 · 42380.6)
| Brillouin index H | 4.5926 |
| Log of N | 9.1399 |
| Mean log count (sum / N) | 4.5473 |
An exact index for a finished collection
The exactness is a matter of bookkeeping. Shannon's formula estimates the entropy of the underlying community's proportions; Brillouin's counts the actual arrangements of the actual individuals. When the collection is the population — every fish in the pond was caught, every plant in the quadrat was identified — the estimate's correction for unseen species is not merely unnecessary, it is wrong, and Brillouin is the honest statistic.
In the first worked example the collection holds 1,250 individuals with a weighted log sum of 5,120.40. The mean log count is 4.0963, ln N is 7.1309, and their difference gives H = 3.0346. The large third collection reaches 4.5926 — a bigger, richer assemblage scoring higher on an index that never pretends the assemblage is anything but itself.
| Property | Brillouin | Shannon |
|---|---|---|
| Treats data as | Complete census | Sample from a community |
| Unseen species | Assumed none | Corrected for implicitly |
| Value on same data | Always the lower | Always the higher |
| Best setting | Traps, quadrats, collections | Surveys, transects, samples |
Brillouin vs Shannon
The gap between the two indices is itself informative: it measures how much of the apparent diversity depends on the sampling fiction. On a huge collection the two nearly coincide — the third example's proportions would give a Shannon value only slightly above its Brillouin 4.5926. On a small collection they part company, and choosing between them is choosing a claim: Brillouin says 'this is the diversity of what we hold', Shannon says 'this is our best guess at the diversity of where it came from'.
Neither claim is universally better. A monitoring programme comparing trap catches across years usually wants Brillouin's discipline, because the catches are the data and the fiction of a sampled super-community adds nothing. A biogeographer extrapolating from plots to a region wants Shannon's, or a modern estimator's, willingness to guess. The error is not in either index but in quoting one while meaning the other.
- Use Brillouin when the collection was completely enumerated, or treated as the whole of interest.
- The weighted log sum uses natural logarithms, matching the ln N term.
- A collection of one species scores exactly 0.
- Brillouin never exceeds the Shannon value of the same proportions.
- Report N alongside H; the index's meaning depends on the census being complete.
Worked examples
Example 1: Total individuals N 1250; Sum of ni ln ni over species 5120.4. Brillouin index H = 3.0346. Supporting values: Log of N 7.1309; Mean log count (sum / N) 4.0963. Two aggregates: the sample holds 1,250 individuals, and the abundance-weighted log sum over species, sum of ni ln ni, is 5120.40. Subtraction: ln N = 7.1309 minus the mean log count 4.0963 leaves the Brillouin index H = 3.0346. Exactness: unlike Shannon's estimate, Brillouin is the exact diversity of the collection actually sampled, with no unseen-species correction. Brillouin result: 3.0346; it approaches the Shannon value as the sample grows toward the whole community.
Example 2: Total individuals N 486; Sum of ni ln ni over species 1685.75. Brillouin index H = 2.7176. Supporting values: Log of N 6.1862; Mean log count (sum / N) 3.4686. Two aggregates: the sample holds 486 individuals, and the abundance-weighted log sum over species, sum of ni ln ni, is 1685.75. Subtraction: ln N = 6.1862 minus the mean log count 3.4686 leaves the Brillouin index H = 2.7176. Exactness: unlike Shannon's estimate, Brillouin is the exact diversity of the collection actually sampled, with no unseen-species correction. Brillouin result: 2.7176; it approaches the Shannon value as the sample grows toward the whole community.
Example 3: Total individuals N 9320; Sum of ni ln ni over species 42380.6. Brillouin index H = 4.5926. Supporting values: Log of N 9.1399; Mean log count (sum / N) 4.5473. Two aggregates: the sample holds 9,320 individuals, and the abundance-weighted log sum over species, sum of ni ln ni, is 42380.60. Subtraction: ln N = 9.1399 minus the mean log count 4.5473 leaves the Brillouin index H = 4.5926. Exactness: unlike Shannon's estimate, Brillouin is the exact diversity of the collection actually sampled, with no unseen-species correction. Brillouin result: 4.5926; it approaches the Shannon value as the sample grows toward the whole community.
When a census is realistic
Complete enumeration sounds heroic until you list the settings where it is routine: a light trap emptied and identified to the last specimen, a quadrat harvested whole, a plankton sample counted entire under the microscope, the contents of a pitfall line, a museum collection digitised drawer by drawer. In all of them the analyst holds the population, and Brillouin's assumption is simply true.
It fails where the 'collection' is a net's selection from a community that continues past the sampling — most field ecology, in other words. There the unseen species are real, the census fiction is false, and Brillouin understates the community's diversity by exactly the amount Shannon's framing tries to recover. The boundary is not the formula but the provenance of the numbers fed into it.
The Brillouin index in practice
The index appears most often in entomology and aquatic work, where whole-catch enumeration is standard practice, and in palaeoecology, where a fossil assemblage is definitionally a finished collection — nothing more will ever be added to it, and an index that respects that finality is philosophically tidy. It also serves as the conservative lower bound in reports that quote both indices: Shannon for the estimate, Brillouin for the floor.
Its quiet virtue is reproducibility. Two analysts given the same collection compute the same H to the last decimal, with no estimator choices between them. In a field where diversity numbers are routinely argued over, an index that is merely arithmetic has a peace-making quality entirely apart from its theory.
Why the weighted log sum is the input
This page asks for the sum of ni ln ni rather than the species-by-species table, and the choice is deliberate. That single aggregate is the only feature of the table the index uses beyond N itself: two collections with the same N and the same weighted log sum have the same Brillouin index, whatever their species lists look like. Publishing the aggregate alongside H lets any reader verify the arithmetic from a paper's summary table, which is how the worked examples here are built — each log sum is the kind of number a methods section can carry.
The aggregate also exposes the index's sensitivities honestly. A dominant species contributes an enormous ni ln ni term and drags H down; a singleton contributes nothing at all, since 1 x ln 1 is zero — singletons affect Brillouin only through N. Analysts surprised by an index movement can decompose it through this one sum faster than through any other route, which is a practical argument for reporting it wherever the index itself is reported.
There is a historical symmetry here worth noticing: Brillouin's name belongs first to information theory, where his work on entropy and information in physics ran parallel to Shannon's. The index that carries his name into ecology is the same intellectual object — the information content of a finished message, counted exactly — transplanted from bits to beetles. The formula's refusal to estimate anything is not a limitation improvised by ecologists; it is the original point of the mathematics.
FAQs
What Brillouin index does the first example give?
3.0346, from ln N of 7.1309 minus a mean log count of 4.0963.
What weighted log sum feeds it?
5,120.40 — the sum of ni ln ni over all species in the 1,250-individual collection.
What index does the small collection give?
2.7176, from 486 individuals with a weighted log sum of 1,685.75.
What index results in the large example?
4.5926, with ln N of 9.1399 and a mean log count of 4.5473 over 9,320 individuals.
How does Brillouin differ from Shannon?
Brillouin treats the collection as a complete census and computes exact diversity; Shannon estimates a parent community's diversity and always reads higher on the same data.
What does a single-species collection score?
Exactly 0: the weighted log sum equals N ln N and the subtraction cancels.