TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is Twyman's law? Why surprising numbers are usually wrong

Twyman's law says any figure that looks interesting or different is usually wrong. A five-step check order, a worked 2.1% to 3.4% case and a sample ratio mismatch test.

Su He Reviewed by Ethan Brooks Also called Twymans law Last updated Nov 28, 2026 Glossary

Quick answer

Twyman's law is the data-analysis rule that any figure that looks interesting or different is usually wrong. When a metric jumps far beyond its normal range, assume a measurement fault (a deploy, duplicated events, a shrunken denominator, bots or a broken split) until checks rule it out.

What is Twyman's law?

Twyman's law is a rule of thumb from data analysis: any figure that looks interesting or different is usually wrong. It is named after William Anthony (Tony) Twyman, a UK radio and television audience-measurement researcher. Kohavi, Tang and Xu open the trustworthiness chapter of their 2020 book on online experiments with it, and note that Twyman apparently never wrote the law down himself, which is why several wordings circulate.

The law does not say surprising numbers are always false. It says where to put your first hour of work. When a metric moves much more than it normally does, the most likely explanation is a change in how the number was produced, such as a new tag, a duplicated event, a filter or a broken split, not a change in what people did. So you treat the jump as a data bug until the checks below have ruled the bugs out, and only then go looking for a real cause.

Two practical consequences follow:

  • The bigger and better the surprise, the harder you check. A small dip gets a glance; a conversion rate that rises by 60% overnight gets the full checklist before anyone presents it.
  • You check in a fixed order, cheapest and most likely first, so the review does not depend on who happens to be looking.

Why do surprising numbers usually turn out to be errors?

Because the ways a number can break are common, and real step changes in behaviour are rare. Three published figures show the base rates:

  • Broken experiment splits. In a 2020 article, Microsoft's Experimentation Platform team reported that about 6% of A/B tests analysed there had a sample ratio mismatch (SRM): the share of users in each variant differed from the configured split by more than chance allows. These teams had been checking for SRM for years.
  • Automated traffic. The 2025 Imperva Bad Bot Report (Thales, April 2025) found that automated traffic made up 51% of all web traffic in 2024, and that bad bots alone made up 37%, up from 32% in 2023. A change in how many bots get through, or get filtered, moves any per-visitor rate.
  • Bots inside experiments. The same Microsoft article describes an MSN test in which the new variant was so engaging that a bot-detection algorithm classified some real users as bots and removed them from the analysis, which created the mismatch.

Random noise rarely produces a big jump on its own. Take a site that converts 2.1% of about 12,000 visitors a day. The standard error of that daily rate is √(0.021 × 0.979 ÷ 12,100) ≈ 0.13 percentage points. A reading of 3.4% is (3.4 − 2.1) ÷ 0.13 ≈ 10 standard errors away. Chance does not do that, so it is either a big real change or a measurement change, and measurement changes are the more common of the two.

In what order should you check a result that looks too good?

Run these five checks in order. Stop celebrating at the first one that fails, but finish the list before you call the result real.

  1. What changed on the day? Look for a deploy, a tag-manager publish, a new consent banner, a change to the goal definition, a pricing change or a campaign launch on the date the number moved. If something shipped that day, it is your first suspect.
  2. Is the numerator inflated? Compare event counts with distinct people. If conversion events rose but distinct converters did not, the same people are being counted more than once (a page reload, a second tag or a retry).
  3. Did the denominator shrink? Compare visitors or sessions with the trailing 7-day average. A new bot filter, a consent change or a broken pageview tag can remove a block of visitors and make every rate look better.
  4. Did the bot share move? Compare the share of traffic identified as automated with the previous week. A crawler that floods one page, or a bot rule that starts excluding traffic, changes rates without any human doing anything different.
  5. Is the comparison fair? If two groups are compared, such as test variants or chatters versus non-chatters, check that each group has the size you expected (the SRM test below) and that both were measured the same way.

A result that passes all five has earned an investigation into real causes: a segment, a channel, a page.

Worked example: conversion jumps from 2.1% to 3.4% overnight

Sample data. A store's dashboard shows conversion as conversion events ÷ visitors. Over the previous 28 days it ranged from 1.9% to 2.4%.

DayVisitorsConversion eventsDistinct convertersRate shownEvents per converter
Monday12,0002522472.1%1.02
Tuesday12,1004112623.4%1.57

Three different faults could each produce a 3.4% reading on Tuesday:

Candidate causeWhat the numbers would have to look likeWhat Tuesday showsVerdict
Numerator inflated (duplicates)Events up, distinct converters flat411 events from 262 peopleFound
Denominator shrank (filter, consent, tag)Visitors near 252 ÷ 0.034 ≈ 7,412, a 38% drop12,100, in line with the 7-day averageNot the cause
Bot share movedAutomated share changes sharplyStable against last weekNot the cause

Walk the checklist:

  1. What changed? A release went out on Monday evening with a redesigned order-confirmation page. Suspect.
  2. Numerator. 411 events came from 262 people, 1.57 per converter, against 1.02 the day before. The new page fires the purchase event again when the customer refreshes or returns to it. This is the fault.
  3. Corrected rate. Using distinct converters, Monday was 247 ÷ 12,000 = 2.06% and Tuesday 262 ÷ 12,100 = 2.17%: up 0.11 points, inside the normal 1.9–2.4% range.
  4. Denominator and bots. Both are normal, so nothing else contributed.

The 62% "improvement" (3.4 ÷ 2.1 − 1) was a tracking bug. Fix the page so the event fires once per order, add a note on the chart for the affected days, and report the distinct-converter rate for those days.

How do you check for a sample ratio mismatch?

When the surprise comes from a comparison between groups, test whether the group sizes match the configured split before reading any metric. Use a chi-square goodness-of-fit test:

χ² = Σ (observed − expected)² ÷ expected, with 1 degree of freedom for two groups.

Sample data: a 50/50 test ends with 10,000 users in control and 10,600 in treatment. Expected is 20,600 ÷ 2 = 10,300 each.

χ² = (10,000 − 10,300)² ÷ 10,300 + (10,600 − 10,300)² ÷ 10,300 = 8.74 + 8.74 = 17.48

With 1 degree of freedom, that gives p ≈ 0.00003. The split is 48.5/51.5, which looks harmless, but it is far beyond chance. Microsoft's team flags an SRM at p < 0.0005, a deliberately strict threshold that keeps false alarms down on platforms that test continuously. Under that rule this test has an SRM, and its metric results should not be trusted until the cause is found: assignment, redirects, bot filtering or a logging join. An A/A test, where both groups get the same experience, is the routine way to catch these faults before a real test depends on them.

How does Twyman's law relate to outliers and data reliability?

IdeaQuestion it asksTypical action
Twyman's lawIs this surprising aggregate real, or did the measurement change?Run the check order before reporting
OutlierIs this single value far from the rest of the distribution?Inspect, cap or segment it; see outliers in data
Sample ratio mismatchDo the group sizes match the configured split?Chi-square test; do not read metrics if it fails
A/A testDoes the system report a difference when there is none?Run before or alongside real tests
Data reliabilityCan this source be trusted day to day?Ongoing tests for completeness and consistency; see reliable data

Twyman's law is the trigger, and the others are tools you pick up once it fires. An outlier check looks at one row. Twyman's law looks at a headline number that a whole team may act on.

What mistakes do teams make with Twyman's law?

  • Checking only good news. Bugs inflate and deflate numbers alike. A sudden drop deserves the same five checks, and skipping them for good news is how a bug ends up in a board deck.
  • Stopping at the first plausible story. "The new page is better" is a story; 1.57 events per converter is evidence. Finish the list.
  • Treating the law as a reason to dismiss results. Once the checks pass, a large effect is a finding. The law sets the order of work. It is not a veto.
  • Fixing the data silently. Mark the affected dates on the chart and say which number you report instead, so the next reader does not rediscover the jump.
  • Reading rates without their parts. Always keep the numerator and denominator next to the percentage; most of the checks above need them.

How do you apply Twyman's law in TapCub?

The Tuesday jump from the example, checked in TapCub:

  1. See whether something shipped. Configuration › Annotations marks releases, campaigns and incidents on trend charts as a dashed line or a band, and app and mini program versions are added automatically as Release annotations the first day they appear. A jump that starts on an annotated date points to check 1.
  2. Compare conversions with distinct converters. Web analytics › Goals lists, for each goal, conversions and distinct converters side by side; the conversion rate there divides distinct converters by distinct visitors, so a duplicated event shows up as a gap between the two counts rather than as a higher rate. The data report in Web analytics › Reports divides conversion count by sessions, so a duplicate inflates that rate; seeing the two disagree is itself a clue.
  3. Check the denominator and the bots. By default, recognized bots and AI crawlers go only to Web analytics › Bots and are excluded from human visitors, sessions and pageviews, so a crawler surge does not change the human denominator. Compare visitors with the previous week, and look at the bots report to see whether automated traffic moved.
  4. Confirm the events arrive as designed. In All-platform analytics › Data › Tracking plan, Live verification (24 h) shows each event's hits in the last 24 hours and how complete its required properties are, which catches an event that suddenly fires twice as often.
  5. Get warned next time. All-platform analytics › Operations › Monitors can watch a metric with a period-change, forecast-band or anomaly condition and notify you; a dry run shows how often the rule would have fired in the last 30 days. Monitors only notify; they do not change data.

TapCub does not run A/B tests or split traffic, so the SRM check applies to experiments you run in another tool; TapCub supplies the visitor and conversion counts you compare.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Su He

Data Analyst

Explores traffic sources, conversion funnels, and retention, using clear metric definitions and concrete examples to explain what the numbers mean.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is Twyman's law?

Twyman's law states that any figure that looks interesting or different is usually wrong. It is named after UK audience researcher Tony Twyman. In practice it means treating a surprising jump as a measurement fault, such as a tracking change, duplicate events, bots or a broken split, until checks rule those out.

Who came up with Twyman's law?

It is credited to William Anthony (Tony) Twyman, who worked in UK radio and television audience measurement. According to Kohavi, Tang and Xu's 2020 book on online experiments, he apparently never wrote it down himself, which is why several wordings of the law circulate.

How do you apply Twyman's law to a conversion rate jump?

Check in order: what shipped that day, whether conversion events rose faster than distinct converters, whether visitors fell, whether the bot share moved, and whether group sizes match in any comparison. In the example, 411 events from 262 people revealed a duplicate purchase event; the real rate was 2.17%, not 3.4%.

Does Twyman's law mean big results are never real?

No. It sets the order of work, not a verdict. Once the tracking, denominator, bot and sample-ratio checks pass, a large effect is a finding worth investigating by segment, channel or page. The law only says that measurement faults are more common than real step changes of the same size.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics