Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Spearman correlation calculator

Paste two equal-length series. The calculator converts values to ranks and correlates those ranks.

Spearman rho: —

Fill in the fields above — the result is computed on this page.

P-value
—
t statistic
—
Degrees of freedom
—
Pairs
—

Paired ranks

Pair X Y X rank Y rank
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • Rho measures association, not causation.
  • Inspect a scatter plot because similar rho values can come from different data patterns.

The p-value uses a t-distribution approximation. A strong non-monotonic relationship may still have rho near zero.

How do I use this page?
  1. Paste paired X and Y values in matching order.
  2. Choose the test direction.
  3. Read rho, t and the p-value.

What this page does not do: The p-value uses a t-distribution approximation. A strong non-monotonic relationship may still have rho near zero.

Further reading

Theory — what is Spearman correlation?

Spearman's rank correlation describes the strength and direction of a monotonic relationship between two variables, not necessarily a linear one. It is Pearson's correlation computed on ranks rather than raw values, which handles tied scores correctly through average ranking. The coefficient rho ranges from minus one to one, with values near either extreme indicating a strong monotonic link. The method does not require linearity, only a consistent direction of change.

Frequently asked questions

Does Spearman require linearity?
No, it measures monotonic association.
Are ties allowed?
Yes, the calculator assigns average ranks.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.