EVERYDAY CLARITY

Spearman Correlation Calculator

Calculate rank correlation between paired observations, assigning average ranks to ties.

Enter your values

01
Use paired lists of equal length, with at least two observations. Separate numbers with commas or line breaks.
Use paired lists of equal length, with at least two observations. Separate numbers with commas or line breaks.

Use dots for decimals in lists.

Your result
Rho
-1

Result for the values shown.

Calculations run in your browser.

What to enter
InputMeaning and units
X observationsUse paired lists of equal length, with at least two observations. Separate numbers with commas or line breaks.
Y observationsUse paired lists of equal length, with at least two observations. Separate numbers with commas or line breaks.

Understanding your result

These are descriptive results for the observations you entered, not proof of causation, significance or a particular population distribution.

Common mistakes

  • Misaligning the paired lists, or treating association as causation.

Check your calculation

  • Try a small hand-checkable list; confirm the stated quartile/rank/denominator convention before comparing with another application.

Calculation checks, sources and review limits

How strong is the rank association between these lists, including ties?

Calculate rank correlation between paired observations, assigning average ranks to ties.

Common uses

  • Calculate rank correlation between paired observations, assigning average ranks to ties.

How it works

Average ranks for ties; Pearson correlation of ranks. Lists accept commas, semicolons, spaces or line breaks as separators; use a dot for decimals. At most 10,000 observations are supported. Calculations use floating-point arithmetic; displayed numeric results have up to 12 significant digits.

Worked example

Enter X observations: 1, 2, 3; Y observations: 3, 2, 1. The result is Rho: -1.

FAQ

How strong is the rank association between these lists, including ties?

Average ranks for ties; Pearson correlation of ranks. Lists accept commas, semicolons, spaces or line breaks as separators; use a dot for decimals. At most 10,000 observations are supported. Calculations use floating-point arithmetic; displayed numeric results have up to 12 significant digits.

What assumptions and limits apply?

Tie-adjusted ranks required; shortcut 1-6sum(d²)/(n(n²-1)) valid only without ties.