Glossary

Sample ratio mismatch (SRM): definition and quick check

Sample ratio mismatch (SRM) is when an A/B test's traffic split differs from the plan by more than chance allows. Definition, a quick check and what it means.

Sample ratio mismatch (SRM) happens when the split of users between variations differs from the planned split (for example 50/50) by more than random chance would explain. It’s a symptom that assignment, redirects, tracking or data processing is broken, so the test result can’t be trusted until the cause is found (Fabijan et al., 2019).

Quick check

Run a chi-square goodness-of-fit test on user counts against the planned split.

Planned Observed
A 50,000 50,800
B 50,000 49,200

Chi-square = 25.6, p ≈ 0.0000004. That’s SRM. A split of 50,250 vs 49,750, by contrast, gives p ≈ 0.11: normal noise.

In Google Sheets: =CHISQ.TEST(observed_range, expected_range).

What it means

  • Don’t read the results until you’ve found the cause.
  • Common causes: redirects or slow variations losing users, tracking that differs between variations, bots, and eligibility rules applied after assignment.

For causes, diagnosis and a full worked example, read the guide to sample ratio mismatch.

Sources (1)

  1. Diagnosing Sample Ratio Mismatch in Online Controlled Experiments: A Taxonomy and Rules of Thumb for Practitioners. Fabijan, Gupchup, Gupta, Omhover, Qin, Vermeer and Dmitriev, KDD 2019 (ACM). Accessed 12 November 2026.

Search lessons, guides, case studies and templates. Press Esc to close.