Confidence Interval Calculator

Calculate the confidence interval for a conversion rate or proportion. Support for 90%, 95%, and 99% confidence levels with sample size inputs.

Total exposure
Successful outcomes
Observed Conversion Rate
3.50%
175 / 5000 visitors converted
Margin of Error
±0.51%
Z-score: 1.96 at 95% confidence
Confidence Interval Lower
2.99%
95% confident rate is at least this
Confidence Interval Upper
4.01%
95% confident rate is at most this
Interval Width
1.02%
Upper − Lower — Excellent
Min. Detectable Lift
0.72%
Minimum lift detectable with this sample

Confidence Interval Visualization

0%3.50% ± 0.51%100%
We're 95% confident the true rate is between 2.99% and 4.01%

Statistical Detail

MetricValueInterpretation
Sample Size (n)5,000Total visitors exposed
Successes (x)175Total conversions observed
Observed Rate (p)3.50%Point estimate of conversion rate
Standard Error (SE)0.26%Uncertainty in estimate
Z-Score1.96Critical value for 95% confidence
Interval Width1.02%Excellent

Test Adequacy Guide

  • Width < 5% = Excellent precision, test is conclusive
  • Width 5-10% = Good precision, results are reliable
  • Width > 10% = Wide interval, collect more data for certainty
  • If interval includes 0% or >100%, consider more samples
Planning notes, formulas, and examples

About the Confidence Interval Calculator

A confidence interval gives you a range within which the true conversion rate likely falls, rather than a single point estimate. If your observed CR is 3.5% with a 95% CI of [3.1%, 3.9%], you can be 95% confident the true CR is somewhere in that range.

This calculator computes the confidence interval for a proportion (conversion rate) using the normal approximation. Enter your sample size and observed conversions, choose your confidence level (90%, 95%, or 99%), and get the lower bound, upper bound, and margin of error.

Confidence intervals are more informative than significance tests alone because they convey both the size of the effect and the uncertainty around it. They are essential for reporting A/B test results and for understanding the precision of your metrics.

When This Page Helps

Point estimates like "our conversion rate is 3.5%" hide the uncertainty inherent in any sample. This calculator reveals the range of plausible values, helping you make decisions that account for statistical uncertainty rather than treating estimates as exact.

How to Use the Inputs

  1. Enter the total sample size (number of visitors or trials).
  2. Enter the number of conversions (successes).
  3. Select the confidence level (90%, 95%, or 99%).
  4. Review the confidence interval bounds and margin of error.
  5. A narrower interval indicates more precise measurement.
Formula used
p̂ = x / n ME = Z_{α/2} × √[p̂(1−p̂) / n] CI = [p̂ − ME, p̂ + ME] Z values: 90% = 1.645, 95% = 1.960, 99% = 2.576

Example Calculation

Result: 95% CI: [3.00%, 4.00%]

With 175 conversions out of 5,000 visitors, the observed CR is 3.50%. The margin of error at 95% confidence is ±0.51%. The true conversion rate is between 2.99% and 4.01% with 95% confidence.

Tips & Best Practices

  • Wider intervals mean more uncertainty — you need more data for precision.
  • The interval narrows proportionally to the square root of sample size (4× sample = 2× precision).
  • Use 95% CI as the default. Switch to 99% for high-stakes decisions.
  • When comparing A/B test variants, overlapping CIs do NOT necessarily mean no significant difference.
  • Report A/B test results as CIs rather than just "significant/not significant."
  • For very small samples (<30) or extreme rates (<1% or >99%), use Wilson or exact CIs instead.

Why Report Confidence Intervals

A single number like "3.5% conversion rate" implies false precision. A confidence interval communicates both the estimate and its uncertainty, enabling better decisions. Stating "3.5% ± 0.5% (95% CI)" gives stakeholders an honest picture of what the data supports.

Confidence Intervals in A/B Testing

For A/B tests, report the CI of the difference between variants, not just the individual CIs. The CI of the difference directly answers "how much better is B than A?" with the appropriate uncertainty. A CI for the lift of [2%, 18%] is much more actionable than "p < 0.05."

Sample Size and Precision

The margin of error is inversely proportional to the square root of the sample size. Practical implication: doubling your sample only reduces the CI width by 29%. To truly narrow uncertainty, you need patience (more data) or higher base rates (test on a macro-metric like add-to-cart instead of purchase).

Sources & Methodology

Last updated:

Frequently Asked Questions

  • If you repeated the same experiment 100 times, approximately 95 of the resulting intervals would contain the true value. It does NOT mean there is a 95% probability the true value is in this specific interval (a common misconception).