Free tool
Lighthouse required-runs calculator
“We ran it five times and the score went up two points” isn't evidence — Lighthouse is noisy enough that a small before/after change can be pure run-to-run variance. This tool measures your page's real variance for you (a short PageSpeed Insights pilot, per metric), tells you how many runs a claim actually needs, writes the experiment protocol — and when you've run it, drop your before/after Lighthouse JSONs below for the statistical verdict.
Paste a URL on the left and hit “Measure my variance” — a short PSI pilot measures this page's real per-metric σ, and the results appear here.
3 · Ran the experiment? Upload the runs — get the verdict.
Drop your before and after Lighthouse JSON files (raw Lighthouse reports or PageSpeed Insights API exports, any number per side). The verdict comes from your runs' own measured spread — median difference, a deterministic bootstrap confidence interval, and a noise floor — per metric. Files never leave this page's session and nothing is stored.
Load at least one file on each side and the per-metric verdict appears here — including the consistency checks (mixed Lighthouse versions, mixed device profiles, mixed throttling) that silently invalidate most spreadsheet comparisons.
Why “just run it five times” isn't proof
Running Lighthouse five times and taking the median is excellent advice — for getting a stable single estimate of where a page sits today. It is not the same as having enough statistical power to prove a small before/after change is real. Those are different jobs, and the second one is governed by the spread of the runs:
n ≥ 2 · (z₁₋α/₂ + z_power)² · σ² ⁄ δ² (independent, equal n)
at α = 0.05 and 80% power: n ≈ 15.7 · σ² ⁄ δ²
The dependence on σ²/δ² is what bites. Halving the change you want to detect
quadruples the runs you need. With a typical run-level SD of 5 points, proving a 5-point
change needs about 16 runs per condition; a 3-point change needs about 44. Median-of-five can only
resolve changes of roughly nine points or more — fine for a big regression, useless for the
single-digit gains most optimisation work produces.
What the pilot measures — and what it can't. The “measure it for me” pilot runs your page through PageSpeed Insights repeatedly and takes the per-metric standard deviation. That σ includes Google's runner mix (we report the CPU-benchmark spread when it's material), so it's the honest σ for PSI-based before/afters; a pinned local or CI setup is usually tighter, so measure there if that's where your experiment will run. A small pilot's σ̂ is itself uncertain — we show its 90% band and the conservative run count from the upper bound rather than hiding it. And note the pilot yields the run-level σ: a paired design needs the SD of paired differences from your own harness. Lab CLS is often deterministic; when the pilot measures σ = 0, any before/after CLS difference is directly interpretable and there is no sample-size question to answer.
How the upload verdict decides. The before/after comparison never trusts a single number: it takes the median of each side, builds a deterministic bootstrap confidence interval on the median difference from your runs' own spread, and sets a noise floor from the within-arm variation. A change is called real only when the interval excludes zero and the change clears the floor — and an apparent regression larger than the page's own baseline is treated as instability, not as a confident result. It also checks what spreadsheets silently miss: mixed Lighthouse versions, mixed device profiles, mixed throttling, and multiple URLs in one comparison.
The full method, the secondary evidence, and the registered protocol behind this calculator are in the study “How many Lighthouse runs prove a change?”
Free 5-day email course
Read your PageSpeed report like an auditor
The statistics you just used are day 5 of the course — the other four days teach the rest of the method, every number from our published worked example:
- Day 1The 81% problem — a real report, 21 flags, and why only four deserved effort.
- Day 2The four verdicts — Real, Wrong, Trivial, Locked — and the test each flag must pass.
- Day 3Falsifying a flag — three places the disproof hides, starting with the tool's own numbers.
- Day 4Hearing the silence — the five-minute field-vs-lab drill that outranks every flag.
- Day 5Predict, prove, confirm — this calculator's math and the 28-day rule that make a fix provable.
The course lives in email only — it isn't published anywhere on the site.