Ecology & agriculture

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.

✅ No login needed100% freeRuns in your browserYour data stays on your device
Similarity Index Calculator✅ Free · no login📚 Cite this tool
Your data never leaves your PC. Your data is analysed on your own computer or phone, even when you upload a CSV or Excel file. Nothing is saved, so refreshing or leaving the page clears your work: copy or download your results first. Nothing is uploaded, stored or seen by Codanics, and no login is needed.
  • 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.

Citation · APA 7th edition

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.

🚀 Follow Codanics channel on WhatsApp for more updatesNew free tools, scholarships, PhD positions and research tips, straight to your phone. Free lessons on YouTube too.

How to use the Similarity Index Calculator

  1. 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.
  2. 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).
  3. Click Compare sites to get the matrix with a heatmap, the UPGMA dendrogram and a pairwise table with shared and unique species.
  4. 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.

Jaccard J = a / (a + b + c) Sørensen–Dice S = 2a / (2a + b + c) Bray–Curtis BC = 2 Σ min(xᵢ, yᵢ) / (X + Y) dissimilarity = Σ|xᵢ − yᵢ| / (X + Y) Morisita–Horn C = 2 Σ xᵢyᵢ / [(Σxᵢ²/X² + Σyᵢ²/Y²) · X · Y]
IndexDataWhen to use
JaccardPresence/absenceSpecies lists, floristic or faunal inventories
SørensenPresence/absenceLike Jaccard, but gives shared species double weight; always ≥ Jaccard
Bray–CurtisAbundanceThe most widely used index in community ecology (NMDS, PERMANOVA)
Morisita–HornAbundance or relative abundanceLittle 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).

Learn the statistics behind these numbers. Codanics has free statistics, R and Python lessons on YouTube and full courses for researchers.

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

Made by Dr. Muhammad Aammar Tufail, Codanics. First published 17 November 2026, last updated 16 November 2026. Found a bug or have an idea for a new tool? Tell us on the WhatsApp channel or in the comments on YouTube. Results are for learning and planning; check important analyses with a statistician or your supervisor.