
The Confidence Level Formula: Confidence Intervals and Statistical Significance for UX Tests
The confidence level formula and the interval it produces, worked through on an A/B test, a five-user usability task and a SUS score: z-values, sample size, p-values in plain words, and what changes when n is small.
Here is the confidence level formula, and the confidence interval it produces:
Confidence level = 1 − α
Confidence interval = estimate ± z × standard error
α (alpha) is the error rate you accept: the share of intervals, over many repeated studies, that will miss the true value. Pick α = 0.05 and the confidence level is 95%. The z in the second line is the number of standard errors you need to go out from the estimate to cover that 95%, and it comes from the normal distribution:
| Confidence level | α | z (two-sided) |
|---|---|---|
| 90% | 0.10 | 1.645 |
| 95% | 0.05 | 1.96 |
| 99% | 0.01 | 2.576 |
The standard error depends on what you measured. For a rate (conversion, task success, click-through) it's √(p(1−p)/n). For an average (time on task, a satisfaction score) it's s/√n, where s is the sample's standard deviation.
Level, interval, significance
Confidence level is a setting you choose before looking at data: 90%, 95% or 99%. It describes the method. Run the same study many times, build a 95% interval each time, and about 95 of every 100 intervals will contain the true value.
Confidence interval is the range you get from one study, such as "conversion is between 3.5% and 4.5%." Its width depends on the confidence level, the sample size and how variable the measure is.
Significance level is α, the flip side of the confidence level. A test run at α = 0.05 and a 95% confidence interval are the same decision rule written two ways: if the 95% interval for a difference excludes zero, the difference is significant at 0.05.
A common misreading is "there's a 95% chance the true value is in this interval." Strictly, the true value either is or isn't in that particular interval. The 95% describes how often the procedure works. For product decisions the gap between the two readings rarely matters. It starts to matter when p-values get read as the probability that a design is better.
Worked example: an A/B test on checkout conversion
A team tests a shorter checkout (the plain-English A/B explainer covers the setup). Each arm gets 5,000 visitors.
- Control: 200 orders, 4.0%
- Variant: 230 orders, 4.6%
The variant is 0.6 points ahead. Visitors were split at random, so the control arm is a true control group and the open question is whether 0.6 points is bigger than noise. Use the confidence level formula on the difference between the two rates. The standard error of a difference adds the two variances:
SE = √(0.04 × 0.96 / 5,000 + 0.046 × 0.954 / 5,000) ≈ 0.0041
At 95%, the interval is 0.6 ± 1.96 × 0.41 points, which runs from −0.2 to +1.4 points. Zero is inside it. The variant could be slightly worse, about equal, or more than a point better, and this sample can't tell those apart. The matching p-value is about 0.14.
Now suppose the same rates had come from 20,000 visitors per arm. The standard error halves (quadruple n, halve SE), and the interval becomes +0.2 to +1.0 points, with p ≈ 0.003. Only the standard error moved, from 0.41 to about 0.2 points.
That's also why the A/B testing guide insists on fixing the sample size before launch. Checking this interval every morning and stopping the first time it clears zero produces far more false winners than the 5% the confidence level promises.
What a p-value says in plain words
A p-value answers one question: if the variant truly made no difference, how often would a gap at least this large show up by chance?
At 5,000 visitors per arm, the answer was 14%. Random noise produces a 0.6-point gap fairly often at that sample size, so the result isn't evidence of much. At 20,000 per arm, the answer was 0.3%, and chance alone becomes a poor explanation.
A p-value is not:
- The probability the variant is better. p = 0.03 does not mean a 97% chance the new design wins.
- The size of the effect. A tiny, commercially pointless lift can reach p < 0.001 on enough traffic. Read the interval for size.
- A verdict on p = 0.06. It's evidence of about the same strength as p = 0.04. The 0.05 line is a convention for making yes/no decisions, not a property of the data.
If you only report one number from a test, report the interval. It carries the direction, the plausible size and the significance call in one line.
How sample size moves the interval
Because n sits under a square root, precision is expensive. To halve the width of an interval you need four times the sample.
Run the confidence level formula backwards, solving the interval for n, and you get the sample-size formula for estimating a single rate:
n = z² × p(1−p) / E²
E is the margin of error you can live with. With no prior idea of p, use 0.5, which gives the widest interval and so the safest estimate. For a margin of ±5 points:
| Confidence level | Sample needed |
|---|---|
| 90% | 271 |
| 95% | 385 |
| 99% | 664 |
This is the number behind "survey about 400 people": it gets a yes/no question to ±5 points at 95%.
For comparing two groups you also need statistical power, the chance of detecting an effect that really exists. At 95% confidence and 80% power, detecting the checkout lift above (4.0% to 4.6%) takes about 17,940 visitors per arm. The first test, at 5,000 per arm, had little chance of reaching significance even if the variant really was better. Low baselines and small lifts are the expensive case. A product with 400 checkouts a week can't settle a half-point question by A/B test in any reasonable time, and should test bigger changes or use a different method.
Confidence intervals for small usability tests
Usability tests run on 5 to 15 people. Their rates still have intervals; the intervals are wide, and the width belongs in the report.
Task completion rates
Eight of ten participants complete a task. The textbook interval (called the Wald interval) gives 80% ± 25 points, or 55% to 105%. An upper bound over 100% shows the method breaking down at small n.
The fix most UX researchers use is the adjusted Wald interval, which Jeff Sauro and James Lewis recommend for small-sample completion rates in Quantifying the User Experience. Add z²/2 successes and z² trials before computing (at 95%, that's about 2 successes and 4 trials):
p̃ = (8 + 1.92) / (10 + 3.84) ≈ 0.72
Then apply the usual formula with p̃ and n = 13.84. The 95% interval is 48% to 95%.
So the honest summary of 8/10 is "somewhere between about half and nearly all users complete this." If the bar for launch was 90% completion, the test hasn't shown you've cleared it. If the worry was that most users fail, it's fairly good evidence they don't.
Averages: time on task and SUS
A team runs the System Usability Scale with 15 participants and gets a mean of 72 with a standard deviation of 12. For averages from small samples, swap z for the t-value with n − 1 degrees of freedom (2.145 for 14 df at 95%), because the sample's own standard deviation is uncertain too:
72 ± 2.145 × 12 / √15 = 72 ± 6.6, or 65.4 to 78.6
Since 68 is the commonly cited SUS average, this interval spans "a bit below average" to "good." Fifteen people can't distinguish between those. For time on task, compute the interval on log-transformed times and transform back, since task times skew right and a few slow sessions inflate a plain mean.
Finding problems is a different question
The five-user test is a discovery tool. If a problem affects 31% of users, the chance that at least one of five participants hits it is 1 − 0.69⁵ ≈ 84%. Five sessions are enough to surface frequent problems. They aren't enough to say what percentage of users will hit each one. The usability testing guide covers running those sessions; keep the interval math for the questions that ask "how many" or "how often."
Choosing a confidence level
95% is the default and rarely worth arguing about. Two situations justify moving it.
90% when a wrong call is cheap and reversible: a copy change, a button colour, anything you can roll back in an afternoon. The narrower interval lets you decide on less traffic, and you accept that roughly one in ten such calls will be wrong.
99% when a wrong call is expensive or hard to undo: a pricing change, removing a feature people depend on, a redesign of the main navigation. You pay for it in sample size (about 1.7 times the 95% requirement).
Change the level before the test starts, never after seeing the result. Lowering the bar to 90% because a test came in at p = 0.07 converts a non-result into a false one.
Frequently asked questions
What is the formula for confidence level?
Confidence level = 1 − α, where α is the significance level you accept. A 0.05 significance level gives a 95% confidence level. The confidence interval built from it is estimate ± z × standard error, with z = 1.96 at 95%.
How do I calculate a confidence interval for a conversion rate?
Take the rate p and the sample size n. The standard error is √(p(1−p)/n), and the 95% interval is p ± 1.96 × SE. For 40 conversions out of 1,000 visitors: SE ≈ 0.0062, interval 2.8% to 5.2%. Under about 100 observations, or when the rate is near 0% or 100%, use the adjusted Wald version instead.
What's the difference between confidence interval and confidence level?
The level is the setting (95%); the interval is the range one study produces at that setting (2.8% to 5.2%). Raising the level widens the interval.
Is 90% confidence good enough for an A/B test?
For low-stakes, reversible changes, often yes, and it shortens tests. Decide before launch and record the choice next to the result, so nobody later reads a 90% result as if it met a 95% bar.
Can a usability test with five users be statistically significant?
For comparisons between designs, almost never: the intervals are too wide. For discovery it doesn't need to be: the goal there is finding problems. If you report a rate from five users, report its interval with it.
Where do confidence intervals fit among other research methods?
They apply to any quantitative measure: surveys, analytics, A/B tests, benchmark usability studies. They don't apply to interview findings or observed problem lists. The research methods hub maps which method answers which question.
Related
Navigation Design
YouTube UX Teardown, October 2026: The Hype Chart, From List to Mini-Player
YouTube's Brazilian Hype Top 100 keeps its name on screen from the list to the watch page, where it is labelled Unlisted and drops the hyped labels, and on to the mini-player. The rows print views and age but no hype count. October 2026 edition, with a comparison against our June screens.
TYPENORMLabs · 4 min · November 27, 2026

UX Clarity
Wise UX Teardown: Remitly on Top of Wise's Own Price Table
For 1,000 USD to EUR, the first row of Wise's own provider comparison is Remitly, 0.34 EUR ahead of Wise, while Wise's row gets the green fill and the largest type. A teardown of the converter, rate chart, comparison table and send calculator on Wise's US site.
TYPENORMLabs · 6 min · November 3, 2026

Information Architecture
WhatsApp UX Teardown: Download on Every Page, Then a Business Site That Asks You to Choose
Every consumer page on whatsapp.com keeps a green Download button at the right end of the nav. The For Business link opens whatsappbusiness.com, where the hero offers Get Started and Download App at equal size, one scroll above the cards that explain the two business products.
TYPENORMLabs · 5 min · November 7, 2026

Comments
Loading comments…