CalcWorldHub
Free online calculator · no signup

Bray-Curtis Dissimilarity Calculator

Compare two nonnegative abundance lists with Bray-Curtis dissimilarity and its complementary similarity.

4,000 tools
Bray-Curtis Dissimilarity Calculator — Sample A abundance values, Sample B abundance values and calculation method
Bray-Curtis Dissimilarity Calculator: inputs and calculation method.

How to use this calculator

Compare two nonnegative abundance lists with Bray-Curtis dissimilarity and its complementary similarity.

  1. Enter Sample A abundance values, Sample B abundance values. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Ecology calculation

How this calculation works

Bray-Curtis dissimilarity compares aligned abundance vectors by dividing the sum of absolute differences by the sum of both vectors. It ranges from zero for identical abundance profiles to one for profiles with no shared abundance. The lists must use the same category order and comparable measurement units; the calculation is undefined when both totals are zero.

Inputs and units

sampleA — Sample A abundance values
Enter nonnegative counts or abundances in a fixed category order.
sampleB — Sample B abundance values
Enter the same number of values in the identical category order and units.

Formula

Displayed formula

BC = Σ|Aᵢ − Bᵢ| / Σ(Aᵢ + Bᵢ); similarity = 1 − BC.

Method

Enter matching nonnegative abundance values in the same order, separated by commas, spaces, or semicolons. The calculator checks that both lists have the same length.

Worked example

For Sample A = [12, 8, 0, 5] and Sample B = [10, 3, 4, 5], BC = 11/47 = 0.2340, or 23.40% dissimilarity; the complementary similarity is 76.60%.

Assumptions and limits

This abundance-based measure is not a presence-absence index. Use comparable categories and units; the calculator does not standardize sample totals.

Frequently asked questions

How do I enter the abundance lists?

Enter one nonnegative value for each matching category, using commas, spaces, or semicolons between values.

What does a Bray-Curtis value of zero mean?

It means the two aligned abundance vectors are identical; a value of one indicates no shared abundance across the vectors.

Can I compare lists with different category orders?

No. The values at each position are compared directly, so both lists must use the same categories in the same order.

How do I use the Bray-Curtis Dissimilarity Calculator?

Enter Sample A abundance values, Sample B abundance values. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Bray-Curtis Dissimilarity?

For Sample A = [12, 8, 0, 5] and Sample B = [10, 3, 4, 5], BC = 11/47 = 0.2340, or 23.40% dissimilarity; the complementary similarity is 76.60%.