Bray-Curtis Dissimilarity Calculator
Ecology & diversity
- Two sums: across all species the absolute count differences add to 34.60, while the paired counts themselves add to 128.40.
- Division: 34.60 / 128.40 = 0.2695; joint absences add nothing to either sum, which is the property ecologists want.
- Complement: 1 - 0.2695 = 0.7305, the similarity form of the same index, or 73.05%.
- Bray-Curtis result: 0.2695, where 0 means identical composition and 1 means no shared species at all.
Comparing two species lists sounds simple until abundances enter. Two meadows can share every species yet be ecological opposites — one dominated by grass with a sprinkling of orchids, the other the reverse. Presence-absence indices call them identical. Bray-Curtis was built to disagree: it weighs how much of each species each sample holds, not merely whether it appears.
The index needs two sums across all species: the absolute difference between the two counts of each species, added together, and the total of both samples' abundances. Divide the first by the second and the result runs from 0, for samples with identical composition, to 1, for samples sharing no species at all. Its complement is the Bray-Curtis similarity used throughout ordination work.
Enter the two sums from your species-by-site table. The calculator returns the dissimilarity, its percentage form, and the similarity percentage that most software reports.
Worked examples
Bray-Curtis dissimilarity of two similar sites
(34.6 · 128.4)
| Bray-Curtis dissimilarity | 0.2695 |
| Bray-Curtis similarity (%) | 73.05 |
| Dissimilarity (%) | 26.95 |
Bray-Curtis dissimilarity of two contrasting sites
(6.25 · 96.8)
| Bray-Curtis dissimilarity | 0.0646 |
| Bray-Curtis similarity (%) | 93.54 |
| Dissimilarity (%) | 6.46 |
Bray-Curtis dissimilarity of two forest plots
(58.9 · 112.3)
| Bray-Curtis dissimilarity | 0.5245 |
| Bray-Curtis similarity (%) | 47.55 |
| Dissimilarity (%) | 52.45 |
Counting what differs
Work species by species. For each row of the table, take the difference between the two counts, drop the sign, and add it to the difference sum; add both counts themselves to the total sum. A species with 40 individuals in one sample and 10 in the other contributes 30 to the differences and 50 to the totals. A species absent from both contributes nothing at all — a deliberate design choice discussed below.
In the first worked example the differences sum to 34.60 against totals of 128.40, giving 0.2695: about a quarter of the combined abundance is unmatched between the samples. The near-identical second example manages only 0.0646, while the third, at 0.5245, describes two communities that share species but in very different proportions.
| Dissimilarity | Interpretation | Typical pairing |
|---|---|---|
| 0.00 - 0.25 | Very similar composition | Replicate quadrats, adjacent plots |
| 0.25 - 0.50 | Moderately different | Same habitat, different management |
| 0.50 - 0.75 | Substantially different | Different habitats or seasons |
| 0.75 - 1.00 | Almost nothing shared | Different regions or strong disturbance |
Why joint absences are ignored
A species missing from both samples might be absent for opposite reasons, or simply never had the chance to arrive. Counting joint absences as similarity would make two species-poor samples look alike merely because the regional pool is large and mostly absent from both. Bray-Curtis refuses the bargain: only species present in at least one sample enter the calculation.
The same property makes the index a semimetric rather than a true metric — the triangle inequality can fail — which matters for some clustering algorithms but not for the ordination methods, such as NMDS, where Bray-Curtis is the default distance. It also handles the zero-heavy tables of real field ecology without the distortions that Euclidean distance suffers on the same data.
- Use the same abundance units in both samples: counts, cover percent or biomass, never mixed.
- Standardise by sample total first if sampling effort differed; the index assumes comparable totals.
- Species absent from both samples are excluded automatically — do not add rows of zeros.
- The similarity form is exactly 1 minus the dissimilarity; report which one you used.
- Square-root or log transformation before summing emphasises composition over dominance.
Worked examples
Example 1: Sum of absolute differences 34.6; Sum of both samples' abundances 128.4. Bray-Curtis dissimilarity = 0.2695. Supporting values: Bray-Curtis similarity (%) 73.05; Dissimilarity (%) 26.95. Two sums: across all species the absolute count differences add to 34.60, while the paired counts themselves add to 128.40. Division: 34.60 / 128.40 = 0.2695; joint absences add nothing to either sum, which is the property ecologists want. Complement: 1 - 0.2695 = 0.7305, the similarity form of the same index, or 73.05%. Bray-Curtis result: 0.2695, where 0 means identical composition and 1 means no shared species at all.
Example 2: Sum of absolute differences 6.25; Sum of both samples' abundances 96.8. Bray-Curtis dissimilarity = 0.0646. Supporting values: Bray-Curtis similarity (%) 93.54; Dissimilarity (%) 6.46. Two sums: across all species the absolute count differences add to 6.25, while the paired counts themselves add to 96.80. Division: 6.25 / 96.80 = 0.0646; joint absences add nothing to either sum, which is the property ecologists want. Complement: 1 - 0.0646 = 0.9354, the similarity form of the same index, or 93.54%. Bray-Curtis result: 0.0646, where 0 means identical composition and 1 means no shared species at all.
Example 3: Sum of absolute differences 58.9; Sum of both samples' abundances 112.3. Bray-Curtis dissimilarity = 0.5245. Supporting values: Bray-Curtis similarity (%) 47.55; Dissimilarity (%) 52.45. Two sums: across all species the absolute count differences add to 58.90, while the paired counts themselves add to 112.30. Division: 58.90 / 112.30 = 0.5245; joint absences add nothing to either sum, which is the property ecologists want. Complement: 1 - 0.5245 = 0.4755, the similarity form of the same index, or 47.55%. Bray-Curtis result: 0.5245, where 0 means identical composition and 1 means no shared species at all.
Limits of the two sums
This page works from the two aggregate sums, so it cannot warn you about the composition hiding inside them. A dissimilarity of 0.27 driven by one dominant species swapping ranks means something different from the same value spread evenly across twenty species. When the number will drive a conclusion, compute it from the full table in ordination software and inspect the species contributions.
Bray-Curtis is also sensitive to the most abundant species, by design. A single bloom species can dominate both sums and mask turnover among the rare species that conservation work often cares about most. Transforming abundances — square root is the common choice — before building the sums is the standard counterweight, at the price of answering a slightly different question.
Bray-Curtis in practice
The index is the workhorse distance of community ecology: it feeds the NMDS ordinations, ANOSIM tests and cluster analyses behind most community-composition papers. Restoration ecologists track it over time, watching a restored site's dissimilarity to its reference site fall year by year; invasion biologists watch the reverse, as a native community's dissimilarity to its own past rises.
For quick field comparisons the two sums are all you need, and they can be built on paper from a species table in minutes. That portability is a large part of why a 1957 index still anchors the workflow.
From two samples to a whole study
A single dissimilarity compares two samples; a study produces a matrix of them, every pair of sites scored, and the matrix is where the index does its famous work. Ordination methods such as NMDS take the matrix and arrange the sites on a page so that distances on the page mimic the dissimilarities — similar communities cluster, different ones separate — giving researchers the map-like plots that fill community ecology papers. Cluster analysis draws the dendrograms; ANOSIM and PERMANOVA test whether groups of sites differ more between than within.
The pairwise figure on this page is the atom of all of that, and its properties propagate. Because joint absences are ignored, two species-poor sites do not cluster merely for sharing emptiness; because dominants drive the sums, the ordination's first axis usually tracks the dominant species' gradient. Knowing the atom explains the molecule: when an NMDS plot separates sites oddly, the first diagnostic is to ask which species' abundances dominate the pairwise sums underneath.
For a quick two-sample question — did this plot change after treatment, do these two reefs hold the same community — none of the machinery is needed. The index itself, with its two sums honestly built, is the answer, and its 0-to-1 scale makes it one of the few ecological statistics a non-specialist can read at sight.
A worked miniature makes the sums concrete. Suppose two quadrats hold three species with counts 40, 10 and 0 in the first and 25, 15 and 10 in the second. The differences are 15, 5 and 10, summing to 30; the totals are 65, 25 and 10, summing to 100; the dissimilarity is 0.30. Notice what the third species does: present in only one quadrat, its whole abundance counts as difference, which is why colonisation and local extinction move the index so efficiently. Notice also what a fourth species absent from both would do — nothing at all, by the design this page has already defended. Building one miniature by hand is the fastest way to make the two sums on the real data feel trustworthy.
FAQs
What dissimilarity does the first example give?
0.2695, from differences of 34.60 over total abundances of 128.40.
What similarity percentage matches it?
73.05 percent — the complement, 1 minus the dissimilarity, expressed as a percentage.
Why are species absent from both samples ignored?
Because a joint absence carries no evidence of similarity; including it would make species-poor samples look alike by default.
What dissimilarity does the near-identical example give?
0.0646, with only 6.25 of absolute difference over 96.80 of total abundance.
What does a value of 1 mean?
The samples share no species at all; the most different worked example reaches 0.5245, sharing species but in very different proportions.
Should abundances be transformed first?
Often: a square-root transform before summing reduces the dominance of one abundant species when rare-species turnover matters.