A confidence interval is a range of values that, based on sample data and a chosen confidence level, is estimated to contain the true value of a metric or of the difference between two versions. In CRO, knowing whether a variant wins or loses is not enough. We also need to understand how large the effect could realistically be. The interval shows the precision of the estimate: the narrower it is, the more information we have; the wider it is, the greater the uncertainty.

How it works

Any measurement taken from a sample contains variability. If we repeated the test with a different group of visitors, the observed rate would move a little. The confidence interval captures that uncertainty. It is built from the point estimate (a conversion rate or the difference between variants), its standard error, and a critical value tied to the confidence level, usually 95 %. For large samples, that critical value for 95 % is approximately 1.96.

The interpretation deserves care. A 95 % confidence level does not mean there is a 95 % probability that the true value lies inside the interval you have already calculated. It describes the procedure: if you repeated the sampling many times and built an interval each time, about 95 % of those intervals would contain the true value.

For experiments, the interval of a difference is especially useful. If it includes zero, the effect cannot be distinguished from chance at that confidence level. If it sits entirely above or entirely below zero, the effect can be distinguished from chance. Its width also tells you whether the test has enough precision to support a business decision.

Practical example

Imagine that an online store compares its current product page (the control) with a new design. Each variant receives 10,000 visitors. The control records 200 purchases (2.00 %) and the variant records 240 (2.40 %). The observed difference is 0.40 percentage points. Using the usual formula for two independent proportions, the standard error of that difference is about 0.21 points. Multiplying it by 1.96 gives a margin of roughly 0.41 points, so the 95 % interval runs from about -0.01 to 0.81 percentage points.

The reading is nuanced. The lower limit sits right at zero. The evidence leans favourably, but it is not conclusive. The most likely effect is positive, although it could be practically negligible. Now imagine that with 20,000 visitors per variant the same rates held, giving 400 and 480 purchases. The standard error would drop to about 0.15 points, and the interval would tighten to roughly 0.11 to 0.69 points, excluding zero. The same observed difference moves from ambiguous to clear, purely because the estimate became more precise.

How to apply it step by step

  1. Before launching the test, define the primary metric, the unit of analysis (visitors, sessions or users) and the confidence level, usually 95 %.
  2. Calculate the point estimate for each variant and the difference between them, in percentage points and, if useful, as a relative change.
  3. Obtain the standard error using a formula suited to your design, for example two independent proportions, or use a statistical tool, checking that the method fits how the test was run.
  4. Build the interval: estimate plus or minus the critical value multiplied by the standard error. For a difference, the interval is centred on the observed difference.
  5. Interpret the interval together with its width. Would the lower limit matter for the business? Does the upper limit justify the cost of implementation?
  6. Decide using criteria agreed in advance. If the interval includes zero, extend the test only if that was planned from the start; otherwise, document the uncertainty in the report.
  7. Communicate the result as a range, not only as a winner. Include the sample size and the start and end dates of the experiment.

Common mistakes

  • Reading the interval as the probability that the true value lies inside it, or as a guarantee that the result will repeat.
  • Assuming that two overlapping individual intervals mean there is no difference. Overlap between individual intervals is not the same as a direct test of the difference.
  • Ignoring width. An interval from -2 to +8 points supports no decision, even if the central estimate is positive.
  • Stopping the test as soon as the interval first excludes zero, which inflates false positives.
  • Analysing many metrics or segments without adjusting the interpretation. Every extra comparison offers another chance to find an interval that looks conclusive by pure chance.
  • Applying large-sample formulas to experiments with very few conversions without checking whether the method still holds.

Best practices

  • Always report the estimate and its interval together, in the same unit and at the same confidence level.
  • Define the sample size and the minimum effect of interest before the test starts, so you know whether the interval will be useful for deciding.
  • Translate the interval into business impact, for example a range of expected orders or revenue, and clearly label any figure as hypothetical.
  • Check whether seasonality, traffic changes or outliers distort the standard error.
  • Complement the interval with the p-value and statistical power, without treating any of them as a substitute for the others.
  • Keep a common reporting template across the organisation so that comparisons between experiments remain consistent.

Frequently asked questions

Does an interval that includes zero mean the variants are equal?

Not necessarily. It means the data do not allow us to rule out a null effect at that confidence level, but they are also compatible with positive or negative effects. Lack of evidence is not evidence of absence. Sometimes the test simply did not collect enough data to detect an effect of a reasonable size.

Which confidence level should I use?

95 % is the most widespread convention in web analytics, but it is not a mandatory rule. A higher level produces wider intervals and requires more evidence; a lower level narrows them but increases the risk of false positives. What matters most is choosing the level before the test and applying it consistently across the organisation.

How does it relate to the p-value?

Both come from the same statistical model. For a 95 % interval around a difference, a two-sided p-value below 0.05 generally corresponds to an interval that does not contain zero. The interval offers more, though: it shows the likely size of the effect and its uncertainty, which is exactly what a business decision needs.