Cliff's Delta Calculator
Statistics
- Pair count: 100 x 80 = 8,000 cross pairs, of which 2,000 are tied.
- Dominance balance: 4,200 pairs favour the first group and 1,800 favour the second.
- Probability of superiority: (4,200 + 0.5 x 2,000) / 8,000 = 0.650.
- Cliff's delta result: delta = (4,200 - 1,800) / 8,000 = 0.300.
Cliff's delta asks the most literal question two groups can be asked: pick one member from each, at random - how much more often does the first group's member come out ahead? Count every cross-group pair, subtract the pairs the second group wins from the pairs the first group wins, and divide by the total number of pairs. The result runs from -1, total domination by group 2, through 0, a coin flip, to +1. This calculator takes the win and loss counts and group sizes and returns delta with the tied pairs and the probability of superiority.
Because it works on comparisons rather than values, delta is indifferent to outliers, skew and monotone rescaling - the properties that make it the standard effect size beside the Mann-Whitney U test and the right summary for ordinal data like Likert scales, where means are courtesies rather than facts.
The statistic dates to Norman Cliff's work in the 1990s on ordinal methods, and its survival is a verdict on its usefulness: it is the effect size that makes no distributional promises. No normality, no equal variances, no interval-scale meaning - only the claim that the observations can be ranked. For questionnaire data, pain scores, preference rankings and any measurement where 'bigger' is meaningful but 'twice as big' is not, delta is frequently the only effect size that is honestly computable, and this page computes it from the counts any ranking procedure already produces.
Worked examples
4,200 wins, 1,800 losses, 2,000 ties
(4200 pairs · 1800 pairs · 100 · 80)
| Cliff's delta | 0.300 |
| Total cross pairs | 8,000 |
| Tied pairs | 2,000 |
| Probability of superiority | 0.650 |
Negative delta: second group dominates
(950 pairs · 1450 pairs · 50 · 60)
| Cliff's delta | -0.167 |
| Total cross pairs | 3,000 |
| Tied pairs | 600 |
| Probability of superiority | 0.417 |
2,600 to 400 with no ties
(2600 pairs · 400 pairs · 60 · 50)
| Cliff's delta | 0.733 |
| Total cross pairs | 3,000 |
| Tied pairs | 0 |
| Probability of superiority | 0.867 |
Dominance, counted pair by pair
With group sizes n1 and n2 there are n1 x n2 cross pairs, and each pair lands in one of three buckets: group 1 larger, group 2 larger, or tied. Delta uses the difference of the first two buckets over the total, so ties dilute the statistic toward zero - honest behaviour, since a measurement that cannot separate the groups should not claim separation. The counts can come from raw data, from a Mann-Whitney routine, or from any pairwise comparison protocol.
The probability of superiority is delta's friendlier twin: the chance that a random group-1 member beats a random group-2 member, with ties split evenly. It equals (greater + ties/2) / total, and converts back and forth with delta through PS = (delta + 1) / 2 when ties are absent. Report both and every audience gets a number it can feel.
Counting pairs sounds laborious, but the counts are usually already in the room: a Mann-Whitney U statistic is the win count with ties halved, a rank-sum test has ranked every observation against every other, and many machine-learning evaluations report pairwise wins directly. Where only U is published, greater = U + ties/2 recovers the input this page needs. The three buckets must exhaust the pairs - greater + lesser + ties = n1 x n2 - and the calculator's tied-pairs output is the audit that they do.
Delta's relationship to the area under the ROC curve is a identity worth pocketing: for a classifier or a diagnostic score, the probability of superiority is exactly the AUC, and delta is its rescaling to the -1 to 1 axis. A literature that reports AUCs and a literature that reports deltas are therefore describing the same dominance with different rulers, and this page's paired outputs translate between them for free. It is one of the quiet unifications of applied statistics, and a reason delta keeps appearing in fields that have never heard Cliff's name.
- delta = (greater - lesser) / (n1 x n2)
- Ties = total pairs - greater - lesser
- Probability of superiority = (greater + ties/2) / total pairs
- Romano benchmarks: 0.147 small, 0.33 medium, 0.474 large
Worked examples
The examples are three shapes of separation: a solid majority with many ties, a minority position where the second group leads, and a rout with no ties at all. The sign and the tie count carry as much information as the headline number.
Counts of 4,200 wins and 1,800 losses between groups of 100 and 80 return 0.300, with Total cross pairs 8,000, Tied pairs 2,000, Probability of superiority 0.650. A clear but not overwhelming dominance - group 1 wins seven pairs in ten before ties are counted.
Counts of 950 wins and 1,450 losses between groups of 50 and 60 return -0.167, with Total cross pairs 3,000, Tied pairs 600, Probability of superiority 0.417. The negative sign is the information: the second group dominates, and the probability of superiority drops below the coin-flip line.
Counts of 2,600 wins and 400 losses between groups of 60 and 50 return 0.733, with Total cross pairs 3,000, Tied pairs 0, Probability of superiority 0.867. Not a tie in three thousand pairs - a coarse, decisive separation.
Set the deltas against their probabilities: 0.300 with 0.650, -0.167 with 0.417, 0.733 with 0.867. The probability is the version to say out loud in a meeting - 'a random patient from group 1 does better than a random patient from group 2 about two times in three' - while delta is the version that behaves in a meta-analysis.
Reading delta against its benchmarks
Romano's calibration for Cliff's delta puts small at 0.147, medium at 0.33 and large at 0.474. The examples straddle the scale: 0.300 is a near-medium effect, -0.167 a small one in the reverse direction, and 0.733 far past large. Because delta is bounded, values beyond about 0.7 describe groups that barely overlap at all - a claim worth double-checking against the raw distributions before publishing.
Delta and the Mann-Whitney U are the same information in different dress: U counts the wins (with ties halved), and delta is a rescaling of U by the pair count. If a paper reports U and the group sizes, this page's arithmetic recovers the effect size the paper should have reported - a common rescue operation in meta-analysis.
Ties deserve their reputation as delta's conscience. A coarse instrument - a five-point scale applied to hundreds of people - manufactures ties wholesale, and delta shrinks accordingly, which is correct: a measurement that cannot separate people should not report separation. If two studies of the same effect report different deltas, check their tie rates before their samples; a finer instrument in one study will produce a larger delta from identical underlying groups, and the difference is metrology, not biology.
The counting definition also exposes delta's one structural blind spot: it is a pure rank statistic, so it cannot see that group 1's wins are by miles while its losses are by inches. Applications where magnitude matters - engineering tolerances, clinical differences with a minimal important threshold - sometimes dichotomise at that threshold and count dominance across it, a hybrid the counts on this page can serve if the win and loss counts are gathered with the threshold applied. The statistic is a frame; what counts as a win remains the analyst's scientific choice.
| Wins | Losses | Ties | delta | P(superiority) |
|---|---|---|---|---|
| 4,200 | 1,800 | 2,000 | 0.300 | 0.650 |
| 950 | 1,450 | 600 | -0.167 | 0.417 |
| 2,600 | 400 | 0 | 0.733 | 0.867 |
When delta is the right tool
Reach for delta when the data are ordinal, heavily skewed, or contaminated by outliers that would drag a mean-based effect size around. Avoid it when the pairs are not independent - repeated measures on the same subjects break the counting logic, and a paired statistic belongs there instead. Note also that delta says nothing about how much bigger the wins are: a group that wins every pair by a whisker and a group that wins every pair by a mile both score 1.0, which is a feature for robustness and a limitation for engineering.
Computation from raw data is a double loop or a rank trick, but from published summaries the counts on this page are the whole job. One caution for reuse: delta computed from a sample estimates the population dominance with its own sampling error, and for small groups that error is wide - groups under about twenty per side produce deltas that should travel with a confidence interval, obtainable by bootstrap over the raw pairs.
One more consideration for practice: delta estimated from the same subjects measured twice - a pre-post design squeezed into two groups - violates the independence the pair counting assumes, and the resulting delta will generally overstate the separation a fresh pair of groups would show. The statistic has paired cousins designed for that structure. Knowing which design produced your counts is as much a part of using this page correctly as the counts themselves; the arithmetic is unconditional, but its interpretation is not.
FAQs
What delta do 4,200 wins and 1,800 losses give?
0.300 over 8,000 total pairs, with 2,000 pairs tied and a probability of superiority of 0.650.
How many pairs were tied in that example?
2,000 - the pairs neither group won, out of 100 x 80 = 8,000 cross pairs.
What does delta -0.167 mean?
The second group dominates: 1,450 wins against 950, and the probability of superiority falls to 0.417, below the coin-flip line.
Can delta reach 0.733?
Yes - 2,600 wins, 400 losses and no ties at all gives 0.733, far beyond the 0.474 'large' benchmark.
What probability matches delta 0.733?
A probability of superiority of 0.867 - a random member of group 1 beats a random member of group 2 about six times in seven.
Do group sizes matter beyond the pair count?
Only through the product n1 x n2. Groups of 100 and 80 make the 8,000 pairs the counts are divided by.