Kendall’s Tau: The Rank Correlation You Should Know (But Probably Don’t)

Most researchers reach for Pearson’s r when they want to measure correlation. But when your data is ordinal, skewed, or small — Kendall’s Tau is frequently the sharper, more reliable tool. Here’s why it matters, how it works, and when to use it.

What Is Kendall’s Tau?

Kendall’s Tau (written as τ, the Greek letter tau) is a nonparametric rank correlation coefficient proposed by Maurice Kendall in 1938.1 It measures the strength and direction of the ordinal association between two variables — without assuming your data is normally distributed, without caring whether your variables are measured on an interval scale, and without being destabilised by outliers the way Pearson’s r often is.

The core idea is beautifully simple: take every pair of observations and ask — are they ordered the same way in both variables, or do they flip? Pairs that agree are called concordant; pairs that disagree are called discordant. Tau is essentially the net balance between them, scaled between −1 and +1.

When should you reach for Tau? Whenever your dependent or independent variable is ordinal (e.g., Likert scale, disease severity stage, socioeconomic bracket), when your sample is small, when outliers are present, or when the normality assumption of Pearson’s r is suspect.
Online free Kendall's Tau Calculator for researchers

Free Kendall’s Tau & Spearman Correlation Calculator — statistical-calculators.site

The Math — Made Readable

For a dataset of n observations, consider every possible pair (i, j) where i < j. A pair is concordant if both x and y move in the same direction; discordant if they move in opposite directions. Ties are handled separately (more on that in the next section).

Formula — Kendall’s Tau-a
\[ \tau_a = \frac{C - D}{\dfrac{n(n-1)}{2}} \]

where C = number of concordant pairs, D = number of discordant pairs, and the denominator is the total number of possible pairs.

Let’s make this concrete. Suppose five patients are ranked by their pain score (X) and their recovery speed (Y):

Patient Pain Rank (X) Recovery Rank (Y) Direction
A12
B21
C34
D43
E55

Comparing all \(\binom{5}{2} = 10\) pairs: 7 are concordant, 3 are discordant. So: \(\tau_a = \frac{7 - 3}{10} = 0.40\). A moderate positive association — higher pain is somewhat linked to slower recovery.2

Tau-b vs. Tau-c: Which One?

Real-world data has ties. The basic Tau-a formula doesn’t handle them well, which is why two refined versions exist:

Tau-b (the default in most software)

Formula — Kendall’s Tau-b
\[ \tau_b = \frac{C - D}{\sqrt{(C + D + T_X)(C + D + T_Y)}} \]

where \(T_X\) and \(T_Y\) are the number of ties in X and Y respectively. Tau-b is appropriate for square contingency tables (same number of categories in both variables).

Tau-c (Stuart’s Tau-c)

Tau-c is designed for rectangular tables — when X and Y have a different number of categories. It applies a correction based on the smaller of the two dimensions. In practice, Tau-b is the safe default unless your table is clearly rectangular.3

Kendall’s Tau vs. Spearman’s rho

Both are rank-based correlation coefficients. Both are nonparametric. But they have real differences that matter in practice:

Property Kendall’s Tau Spearman’s rho
Based on Concordant/discordant pairs Squared rank differences
Typical magnitude Lower (by ~2/3 of rho) Higher
Robustness to outliers Higher Moderate
Small samples Preferred Acceptable
Probabilistic interpretation Direct (net concordance probability) Indirect
Computational complexity O(n log n) to O(n²) O(n log n)
Software availability Universal Universal

The key conceptual advantage of Tau is that its value has a direct probabilistic interpretation: τ = 0.40 means that a randomly selected pair of observations is 40 percentage points more likely to be concordant than discordant. Spearman’s rho doesn’t offer that clean a reading.


Example 1: Medical Research

Setting: An oncologist wants to know whether tumour staging (Stage I–IV) at diagnosis correlates with quality-of-life scores (0–100) at six months post-treatment. Both variables are ordinal or at best pseudo-interval. Pearson’s r assumes linearity and normality — unreasonable here.

Using Kendall’s Tau-b on a dataset of 48 patients, the team finds τ_b = −0.54 (p < 0.001). This is a moderately strong negative correlation: higher tumour stage is associated with lower quality of life. Because Tau is based on pair comparisons, the result is interpretable even with the non-normal distribution of quality-of-life scores and the presence of ceiling effects near 100.4

Note on clinical data: In survival analysis and clinical trials, Kendall’s Tau appears in the Kendall’s rank concordance index (C-statistic) — a close relative used to evaluate the discriminative ability of prognostic models.

Example 2: Social Science Research

Setting: A political scientist surveys 120 respondents on their level of political trust (1 = none, 5 = complete) and their frequency of civic participation (1 = never, 4 = often). Both are Likert-type ordinal scales — classic Kendall’s Tau territory.

The calculated Tau-b = +0.31 (p = 0.003) suggests a statistically significant, moderate positive relationship: people with higher political trust tend to participate more in civic activities. Importantly, reporting Tau here is more defensible than reporting Pearson’s r, since treating ordinal Likert data as continuous interval data is a contested methodological choice.5

In cross-national comparisons — where you’re ranking countries by governance indices — Tau also appears frequently. The World Values Survey, for instance, often produces Tau-based correlations across country-level rankings of inequality and social trust.

Interpretation Guide

Unlike Pearson’s r, there is no single universally accepted benchmark for “strong” Tau, since Tau values are systematically lower in magnitude than rho. The table below offers a pragmatic guide used across several methodological handbooks:6

|τ| Value Interpretation Equivalent Spearman (approx.) Typical Field Context
0.00 – 0.09 Negligible 0.00 – 0.14 Random noise
0.10 – 0.19 Weak 0.15 – 0.28 Psychology (large surveys)
0.20 – 0.29 Moderate-Weak 0.29 – 0.43 Social science replications
0.30 – 0.39 Moderate 0.44 – 0.57 Public health, sociology
0.40 – 0.59 Moderate-Strong 0.58 – 0.78 Clinical research
0.60 – 1.00 Strong 0.79 – 1.00 Measurement validation

Code Snippets

Most major statistical environments implement Kendall’s Tau out of the box. Here are ready-to-run examples:

Python (SciPy)

Python
from scipy.stats import kendalltau

x = [1, 2, 3, 4, 5]   # e.g., tumour stage ranks
y = [2, 1, 4, 3, 5]   # e.g., quality-of-life ranks

tau, p_value = kendalltau(x, y)
print(f"Kendall's Tau-b: {tau:.4f}")
print(f"P-value:         {p_value:.4f}")

# Output:
# Kendall's Tau-b: 0.6000
# P-value:         0.1417

R

R
x <- c(1, 2, 3, 4, 5)
y <- c(2, 1, 4, 3, 5)

# Tau-b (default)
result <- cor.test(x, y, method = "kendall")
cat("Kendall's Tau-b:", result$estimate, "\n")
cat("P-value:", result$p.value, "\n")

# Tau-b via Kendall package (for ties & larger datasets)
# install.packages("Kendall")
library(Kendall)
Kendall(x, y)

SPSS (Syntax)

SPSS Syntax
NONPAR CORR
  /VARIABLES = pain_rank recovery_rank
  /PRINT = KENDALL TWOTAIL SIG
  /MISSING = PAIRWISE.

Try It: Free Online Calculator

No software? No problem. The calculator below computes Kendall’s Tau-b (and Spearman’s rho simultaneously) from your raw data — no installation, no account required.

Kendall’s Tau & Spearman Calculator — statistical-calculators.site

Notes & References

  1. Kendall, M. G. (1938). A new measure of rank correlation. Biometrika, 30(1–2), 81–93.
  2. This worked example is illustrative. With only 5 observations the p-value would not reach conventional significance thresholds. Sample size requirements for Tau are discussed in Conover, W. J. (1999). Practical Nonparametric Statistics (3rd ed.). Wiley.
  3. Stuart, A. (1953). The estimation and comparison of strengths of association in contingency tables. Biometrika, 40(1–2), 105–110.
  4. For a review of Tau applications in oncology, see Harrell, F. E. (2015). Regression Modeling Strategies (2nd ed.). Springer.
  5. Norman, G. (2010). Likert scales, levels of measurement and the “laws” of statistics. Advances in Health Sciences Education, 15(5), 625–632.
  6. Scales adapted from Landis, J. R., & Koch, G. G. (1977). The measurement of observer agreement for categorical data. Biometrics, 33(1), 159–174; and from Hinkle, D. E., Wiersma, W., & Jurs, S. G. (2003). Applied Statistics for the Behavioral Sciences (5th ed.). Houghton Mifflin.