Free online tools

Spearman Rank Correlation Calculator

Paste two values for each matched observation. Measure how consistently the two variables increase or decrease together.

Enter your values

Use first | second on each line. Keep paired measurements together.

This tool processes your input in your browser.

Result

Replace raw values with ranks

Sort each variable separately while preserving which rows are paired. When values tie, replace them with the mean of their occupied rank positions.

Correlate the two rank columns

A positive coefficient means higher ranks in one variable tend to appear with higher ranks in the other. This detects monotone association even when the relationship curves.

Frequently asked questions

Can one variable be constant?

At least two distinct values are needed in each variable to define the coefficient.

Is a significance test included?

The result gives the observed correlation. Different significance approaches apply to small samples and ties.