Skip to content
Live Tennis API Free API key ↗
Menu

Tennis stat significance calculator

Is a gap in first-serve points won or break points saved bigger than you would expect from chance alone? Enter the counts behind both rates.

The example comes from Newcombe (1998), Table II. Replace it with your own tennis counts.

Sample A
Sample B

Difference in point win rates

Published example

+20.00 percentage points (A minus B)

The data favor a higher rate for sample A at 95% confidence.

Sample A win rate
80.00%
95% Wilson interval 69.18% to 87.70%
Sample B win rate
60.00%
95% Wilson interval 49.05% to 70.04%
95% confidence interval for the gap
5.24 to 33.39 percentage points
Pooled z score
2.650
Two-sided p-value
0.0080
Conservative points per sample for at least 80% power
211
Open result link

The result link includes the counts you entered.

How it works

Use counts for the same stat in both samples. For break points saved, enter saves as points won and break points faced as points played.

The formulas assume independent points and a steady win rate in each sample. Points from the same match share an opponent and surface. Pressure can change with the score. Avoid overlapping samples, such as a full season and one month from that season.

Rates and gap

In each sample, x is points won and n is points played. The output shows A minus B in percentage points. The formulas use proportions between 0 and 1.

p = x / n
Δ = pA − pB

Pooled z-test

The test asks what gaps we'd see if both samples had the same underlying rate. Under that assumption, the p-value is the approximate chance of getting a z score at least as far from zero as yours.

P = (xA + xB) / (nA + nB)
SE = √[P(1 − P)(1/nA + 1/nB)]
z = Δ / SE
p-value = 2Φ(−|z|)

Φ is the standard normal cumulative distribution. The test calls a gap significant when the p-value is below α, where α = 1 − confidence as a fraction.

The calculator skips that call if either sample expects fewer than 10 wins or losses under the pooled rate. The expected counts are nP and n(1 − P). If P is 0 or 1, the z-test is undefined.

Wilson interval for each rate

Use the sample's p and n. The critical value c is Φ−1(1 − α/2).

center = p + c²/(2n)
radius = c√[p(1 − p)/n + c²/(4n²)]
[L, U] = [(center − radius)/(1 + c²/n), (center + radius)/(1 + c²/n)]

Newcombe interval for the gap

Combine the Wilson bounds L and U using Newcombe's method 10. This interval and the pooled test can disagree near the threshold.

lower = Δ − √[(pA − LA)² + (UB − pB)²]
upper = Δ + √[(UA − pA)² + (pB − LB)²]

Points per sample for 80% power

This gives a conservative target for two equal samples of independent points. If the input rates are the true rates, the test detects a gap at least 80% of the time at this size. Smaller samples can also reach 80% power. Rates from very few points can give a poor target.

The calculation allows up to a 10% chance of missing the z cutoff and 5% each for too few pooled wins or losses.

m = (pA + pB) / 2
t = 2 × 10, ℓ = ln(20)
ngap = [c/√2 + √ln(10)]² / Δ²
ncounts = [t + ℓ + √(ℓ(2t + ℓ))] / [2 min(m, 1 − m)]
n = ceil(max(ngap, ncounts))

Ceil rounds up to a whole point. There is no finite target when the observed rates are equal.