Similarity Index Calculator: Jaccard, Sørensen, Bray–Curtis and Morisita–Horn
Compare the species composition of your sites. Paste an abundance table (species × sites) or two species lists and get Jaccard and Sørensen similarity (presence/absence), Bray–Curtis and Morisita–Horn (abundance), as a pairwise matrix with a heatmap and a UPGMA cluster dendrogram, ready for your results section.
- PriceFree, no login or sign-up needed
- Your dataProcessed in your browser, never uploaded
- Works onPhone, tablet or computer, any modern browser
- Made byDr. Muhammad Aammar Tufail, Codanics
- Published17 November 2026
- Last updated16 November 2026
📚 How to cite this tool
This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.
Tufail, M. A. (2026). Similarity index calculator: Jaccard, Sørensen, Bray–Curtis and Morisita–Horn [Online tool]. Codanics. Retrieved 16 November 2026, from https://codanics.com/tools/similarity-index-calculator/
In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)
The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 17 November 2026.
How to use the Similarity Index Calculator
- Paste or upload your table with species in rows and sites in columns (switch the layout if your sites are in rows). Counts, percentage cover and 1/0 presence data all work.
- Choose an index: Jaccard or Sørensen for presence/absence, Bray–Curtis or Morisita–Horn when abundances matter. Choose similarity or dissimilarity (vegan reports dissimilarity).
- Click Compare sites to get the matrix with a heatmap, the UPGMA dendrogram and a pairwise table with shared and unique species.
- For a quick check of two sites, use Two species lists and paste the species names of each site.
The indices
For two sites, let a be the number of shared species, b the species found only in the first site and c those only in the second. xᵢ and yᵢ are the abundances of species i, and X and Y the site totals.
| Index | Data | When to use |
|---|---|---|
| Jaccard | Presence/absence | Species lists, floristic or faunal inventories |
| Sørensen | Presence/absence | Like Jaccard, but gives shared species double weight; always ≥ Jaccard |
| Bray–Curtis | Abundance | The most widely used index in community ecology (NMDS, PERMANOVA) |
| Morisita–Horn | Abundance or relative abundance | Little affected by sample size and species richness; dominated by abundant species |
Jaccard and Sørensen are related: S = 2J / (1 + J). Bray–Curtis similarity calculated on presence/absence data equals Sørensen.
Cluster dendrogram
The dendrogram groups sites by UPGMA (unweighted pair-group method with arithmetic mean, also called average linkage), the clustering method most used for community similarity. Sites that join at a low height are similar; sites that join near the top differ. The merge heights are identical to R’s hclust(vegdist(x), method = "average").
How to report it
“Species composition was compared using Bray–Curtis similarity on abundance data. The meadow and field margin were the most similar (0.54), while the forest edge differed most from the other habitats (0.15–0.32). UPGMA clustering separated the forest edge from the open habitats.”
References: Jaccard P (1912) New Phytol 11:37 · Sørensen T (1948) Biol Skr 5:1 · Bray JR, Curtis JT (1957) Ecol Monogr 27:325 · Horn HS (1966) Am Nat 100:419 · Magurran AE (2004) Measuring Biological Diversity · Oksanen J et al. vegan: Community Ecology Package (R).
Frequently asked questions
How do I calculate the Jaccard similarity index?
Count the species shared by both sites (a), and those found only in the first (b) or only in the second site (c). Jaccard = a / (a + b + c). If two sites share 3 species and have 5 and 4 unique species, J = 3 / 12 = 0.25.
What is the difference between Jaccard and Sørensen?
Both use presence/absence, but Sørensen counts shared species twice: S = 2a / (2a + b + c). Sørensen is always higher than or equal to Jaccard, and S = 2J/(1 + J).
Why do my Bray–Curtis values differ from vegan?
vegan’s vegdist() reports dissimilarity (1 − similarity). Choose ‘Dissimilarity’ in Show as to get the same numbers.
Which index should I use?
Use Jaccard or Sørensen for species lists, and Bray–Curtis for abundance data, especially if you plan NMDS or PERMANOVA. Morisita–Horn is useful when sample sizes differ a lot between sites.
Can I use percentage cover?
Yes for Jaccard, Sørensen, Bray–Curtis and Morisita–Horn. Only the original Morisita index needs whole-number counts.
Is my data uploaded?
No. Everything is calculated in your browser.
Do I need to log in or create an account to use the Similarity Index Calculator?
No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.
How do I cite this tool in my thesis or paper?
Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). Similarity index calculator: Jaccard, Sørensen, Bray–Curtis and Morisita–Horn [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/similarity-index-calculator/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.
Free guides and courses from Codanics
More free tools
See all free Codanics tools → · Codanics on YouTube · WhatsApp channel