What this calculator does
This calculator runs statistical tests on continuous metrics — revenue per visitor, average order value, items per cart, time on task — the metrics conversion calculators cannot touch. Paste the raw per-visitor values for control and variant (straight from a spreadsheet or SQL export; commas, spaces, or newlines all work), choose Welch's t-test or the Mann-Whitney U test, and get the means, the difference with a confidence interval, a p-value, and a plain-English verdict.
The formulas
Welch's t-test compares means without assuming equal variances:
where are the sample variances and is the Welch–Satterthwaite degrees of freedom. Mann-Whitney U instead ranks all values together and asks whether one group's ranks are systematically higher:
with the rank sum of group 1; the calculator applies the normal approximation with tie and continuity corrections.
A worked example
You test a free-shipping threshold. Control: 4,000 visitors averaging $3.10 per visitor. Variant: 4,000 visitors averaging $3.42 (+10.3%). Revenue is spiky — standard deviations near $18 in both arms. Welch's test gives t ≈ 0.79 and p ≈ 0.43: despite the attractive +10% headline, this difference is well within noise at this sample size. Mann-Whitney agrees (p ≈ 0.51). The verdict block says exactly that — and the honest readout is "we need roughly 4x this traffic for a lift this size", not "variant wins by 10%".
When to use it
- Pricing, shipping, bundling, and upsell tests, where the money moves through order size rather than conversion.
- Any test where the honest primary metric is revenue per visitor, not clicks — pair it with the significance calculator on the conversion metric to see the whole picture.
- Non-monetary continuous metrics: session duration, items viewed, scroll depth.
Common mistakes
- Excluding zeros — that silently converts revenue-per-visitor into average order value, a different metric with different dynamics.
- Letting whales decide the test. One $8,000 order in either arm can dominate everything. Decide a winsorization cap before the test, and use Mann-Whitney as a robustness check.
- Testing the mean but reporting the median (or vice versa). Mann-Whitney significance does not certify a mean lift — be precise about which claim you ship.
- Assuming session-level values are independent when the same user appears in many rows. Aggregate to one value per randomized unit (usually per user) before pasting.
- Underpowering. Revenue tests need dramatically more data than conversion tests; check feasibility with the MDE calculator and consider CUPED to claw back variance.