Kendall’s tau is a nonparametric rank correlation coefficient that measures the strength and direction of the association between two variables based on the ordering of their values, not on the raw magnitudes. It is especially useful when your variables are ordinal (ranked), when the relationship may be monotonic but not linear, or when outliers and non-normal distributions make Pearson’s correlation less appropriate.
Suppose you have n paired observations for . Kendall’s approach compares all distinct pairs of observations and checks whether the ordering of agrees with the ordering of . This pairwise comparison makes the statistic robust to outliers and suitable for data where only the order (rank) is meaningful.
Kendall’s tau is built from three types of pairwise relationships:
The calculator examines every unique pair of observations, classifies it as concordant, discordant, or tied, and then uses these counts to compute Kendall’s tau-b.
This calculator uses the tau-b variant, which adjusts for ties in both variables. A common form of the tau-b formula is:
where:
The resulting value always lies between −1 and 1:
Several related Kendall coefficients exist:
In practice, if you have numeric or ordinal data with any tied values, tau-b is usually the recommended choice, which is why it is implemented here.
Kendall’s tau measures the strength and direction of a monotonic association. Positive values indicate that larger values of X tend to be associated with larger values of Y, while negative values indicate that larger X tends to come with smaller Y.
There are no universal cutoffs, but a rough, informal guide often used in practice is:
These ranges are only rules of thumb. The context, sample size, and measurement quality all matter for interpretation.
Consider the example data mentioned near the form:
We have paired observations. There are distinct pairs to compare. We will classify a few of them to illustrate the idea (the calculator checks all pairs automatically).
Repeating this classification for all 10 pairs yields total counts C and D. If none of the X values tie with each other and none of the Y values tie with each other in this small sample, then Tx = 0 and Ty = 0. The calculator uses all such pairwise comparisons to compute a specific tau-b value, which will lie between −1 and 1 and will appear in the results under the form.
The basic workflow for using the Kendall’s tau-b rank correlation calculator is:
If the two series have different lengths, contain invalid numbers, or are otherwise malformed, the computation cannot proceed and you should fix the inputs first. In valid cases, a positive tau-b suggests that higher X values tend to go with higher Y values, while a negative tau-b suggests an inverse tendency.
The table below summarizes how Kendall’s tau-b compares with two widely used alternatives: Pearson’s correlation and Spearman’s rank correlation.
| Measure | Type of data | What it uses | Strengths | Limitations |
|---|---|---|---|---|
| Kendall’s tau-b | Ordinal or continuous, with possible ties | Counts of concordant/discordant pairs and ties | Robust to outliers; intuitive interpretation as a probability of concordance; good for small samples and ordinal data | More computationally intensive for large n; less familiar to some audiences than Pearson’s r |
| Spearman’s rho | Ordinal or continuous (ranked) | Pearson correlation of rank-transformed data | Simple to compute; widely supported; handles monotonic but non-linear relationships better than Pearson | Less directly interpretable in terms of concordant/discordant probabilities; still somewhat sensitive to extreme ranks |
| Pearson’s r | Continuous, approximately interval-scale | Raw numeric values | Standard for linear relationships; strong theoretical basis and familiar interpretation in many fields | Assumes linearity and sensitivity to outliers; not ideal for purely ordinal data or heavily skewed distributions |
When using Kendall’s tau-b and this calculator, keep the following assumptions and limitations in mind:
Because of these limitations, Kendall’s tau-b is best viewed as a descriptive measure of rank association. It can guide your understanding of how two variables move together but should not be the sole basis for critical decisions without further analysis.
Kendall’s tau-b rank correlation provides a robust, rank-based measure of how strongly two variables are related in a monotonic sense. By counting concordant and discordant pairs and adjusting for ties, it offers an interpretable coefficient bounded between −1 and 1. This calculator automates the pairwise comparisons and presents not only the tau-b value but also the underlying pair counts, helping you see how the statistic is constructed.
Use tau-b when your data are ordinal or when you are concerned about outliers and non-normality. Combine it with subject-matter knowledge, sample-size considerations, and, where appropriate, additional statistical tools to form a complete picture of the relationship between your variables.
Separate numbers with commas or spaces. Both series must be the same length, such as 12 15 20 21 30.