Back to blog
power analysisA/B testingstatistical powersample sizeeffect size

What Is a Power Analysis? Sample Size Made Clear

What is a power analysis? See how statistical power, effect size and significance level guide sample size for A/B tests that deliver reliable results.

A power analysis is a pre-test calculation that works out how many observations you need to reliably detect a real effect of a given size while keeping false positives under control. Before a single visitor enters an experiment, it ties together four numbers: effect size, outcome variability, significance level, and statistical power.

Yet how many marketing teams check whether their traffic can spot a worthwhile uplift before hitting launch? Most skip straight to building variants, run the test for two weeks, and stare at a dashboard waiting for a green badge. That habit treats experimentation like a lottery rather than a commercial decision. Asking what is a power analysis gets you past the textbook formula and onto a sharper question: what is the smallest uplift worth acting on, and can your real traffic detect it in a sensible timeframe? Once you treat sample-size planning as a business-risk gate, you stop wasting weeks on experiments that could never have given you a clear answer.

What a Power Analysis Actually Answers

In practical terms, a power analysis is a prospective calculation you run before collecting data to verify that your experiment is big enough to answer the question you are asking. Notice the word prospective. In the UK Research and Innovation Medical Research Council applicant guide, power analysis is defined operationally as a quantitative method for choosing sample size prior to data collection, requiring teams to make their assumptions explicit and scientifically justifiable instead of plucking a headcount out of thin air. You can't use it after a disappointing test to salvage noisy results.

That same UKRI guidance explains that the calculation must connect the planned statistical test directly to the proposed sample size and show how the expected effect was estimated. For a website team running a conversion experiment, that translates cleanly into naming your expected uplift, your baseline conversion rate or revenue spread, your false-positive cap, and your target chance of spotting a genuine gain.

Two Planning Questions Every Experiment Faces

A pre-test calculation isn't a one-way street. Depending on whether your traffic or your business target is the harder constraint, it answers one of two distinct questions:

  • How many observations do you need? You set the smallest uplift that justifies engineering time and design effort, then solve for the required number of visitors per variant.
  • What minimum effect can your fixed traffic detect? When a seasonal promotion or campaign window caps your audience, you plug in the available visitor count and check whether the smallest detectable lift is still realistic.

Both versions rely on conventional starting thresholds. Under UK government statistical considerations guidance, sample-size planning conventionally uses a Type I error of 5% or less for a two-sided test alongside a Type II error of 20% or less, which gives at least 80% statistical power. If your assumed effect and variability hold true, an 80% power design at a 5% significance level gives you an 80% probability of rejecting the null hypothesis when that effect exists.

Practical rule: Reaching 95% statistical confidence does not prove an experiment was well designed. If traffic was only ever large enough to catch an implausibly huge jump, your test was blind to the modest commercial gains that actually pay the bills.

Those standard figures of 80% power and a 5% false-positive rate are starting conventions, not laws of physics. High-stakes pricing changes or core checkout redesigns often warrant stricter protection against missed wins, while low-risk exploratory tweaks can tolerate looser guardrails. What never changes is the core function of the maths: separating experiments capable of delivering a dependable business decision from ones that are too small to trust.

The Four Inputs in the Power Equation

A power calculation is one equation with four dials. Move any dial and the visitor count shifts, sometimes by a lot. The question that equation is built to answer is which smallest uplift is worth detecting, and whether this site's traffic can detect it.

The NC3Rs Experimental Design Assistant is clear that a prospective power calculation has to match the exact test and hypothesis you will run. On a two-arm conversion test that means the baseline conversion rate, the absolute or relative uplift you care about, the traffic split, and whether the test is two-sided or one-sided. A round number of monthly visitors is not a substitute for those inputs.

The diagram below maps how those four inputs pull on your required sample size at the centre of the equation.

A diagram illustrating the four key inputs required to calculate sample size for statistical power analysis.

Each input is a commercial or measurement fact on the site:

Input What it means for an A/B test Typical default If you increase it, the sample needed... Effect size The smallest uplift worth detecting (absolute or relative to baseline conversion rate) Set by business value, e.g. a 2 percentage-point lift Falls sharply Variability Natural spread in the metric; captured by baseline rate for conversions, much wider for revenue Taken from historical data Rises Significance level (alpha) False-positive risk you are willing to accept. A lower alpha is a stricter bar 5% (two-sided) Rises (tightening alpha from 5% to 1% needs a larger sample) Statistical power (1 - beta) Chance of detecting a real effect of that size 80% (beta = 20%) Rises

Effect size is the heavy dial. State it as your minimum detectable effect: the smallest absolute or relative conversion gain that still makes shipping worthwhile. A bold jump needs far fewer visitors than a small tweak. Chasing a subtle lift inflates traffic faster than a straight-line guess suggests, which is why this dial decides whether the test is a real go or a polite way to waste a campaign window.

Variability is noise from one visitor to the next. For a binary conversion rate, that noise is already inside the baseline. A checkout converting in the low single digits does not behave like an email capture form converting much higher. Switch the primary goal to revenue per visitor, where most baskets are small and a few are huge, and the wider spread pushes the required sample up sharply.

Then the two error guardrails.

Significance level (alpha) is the false-positive risk you will tolerate, often 5% on a two-sided test. Tighten that bar from 5% to 1% and you are asking for stronger evidence before a flat result gets called a winner. The sample rises with that stricter bar.

Statistical power (1 minus beta) is the chance of catching a real effect of the size you named. At 80% power (beta = 0.20), that effect would show up in about eight of ten repetitions if the model's assumptions hold. Moving the target to 90% buys more protection against a missed win and costs more visitors. Cut the sample and power drops with it. A 2025 review of trial-design methods archived on PubMed Central showed that a hypothetical study of 2,400 participants achieved only 70% power, compared with 80% under the larger reference design.

Why Two-Sided Tests Are the Default

Sidedness is chosen before launch, with the four dials. A two-sided test checks whether the variant is significantly better or significantly worse than control. That is the sensible default on a commercial site: a broken layout can cut orders as readily as a good one can raise them. A one-sided test trims the sample slightly. It also ignores a statistically real decline in the other direction, a poor trade when the downside is lost revenue.

Honest settings on these dials can put a sized test anywhere from a few hundred observations to hundreds of thousands of visitors. "A few thousand visitors, then we'll see" never names the uplift, so the count cannot tell you what the experiment is able to see. The calculated sample is a planning threshold, not proof the idea works. The traffic split belongs in that same plan: the calculation assumes the allocation you will run, not a 50/50 story you abandon once the variant is live.

How to Run a Power Analysis Before You Launch

Knowing the four inputs is half the job. Turning them into a repeatable pre-launch routine is what keeps weak tests off your site, and the routine matters more than the maths behind it. Training material from the Association for Respiratory Technology and Physiology, an NHS-linked UK professional body, frames sample-size calculation plainly as a compromise between statistical reliability and practical resource constraints. You are not chasing mathematical perfection. You are answering one commercial question: can my traffic detect the smallest uplift worth shipping, before anyone commits a budget to finding out?

The six-step flow below gives a quick visual overview of that sizing routine before you work through the full pre-launch checklist.

A six-step infographic guide on how to perform a power analysis before launching an experiment.

Follow these eight steps before any variant goes live:

  1. Name one primary metric. Pick the single outcome that decides whether the change ships, such as completed purchases, checkout conversion rate, or revenue per visitor. Secondary metrics like button clicks or scroll depth help diagnose behaviour, yet sizing around five goals at once forces you into formal multiplicity adjustments and inflates your required traffic.
  2. Pull an honest baseline from comparable weeks. Export recent conversion rate and variance data from the exact page and device segment entering the test, watching out for payday spikes, bank holidays, or clearance sales. A common slip is grabbing site-wide conversion instead of the specific funnel step where your variant appears. That single mistake can shift your baseline by a full percentage point, and every downstream calculation inherits the error.
  3. Agree the minimum detectable effect with commercial stakeholders. Ask what uplift covers development cost and justifies the risk of changing a working page, rather than guessing what sounds achievable. This is the step where power analysis becomes a go/no-go decision on the test itself. If the smallest effect worth detecting is tiny, and your traffic cannot detect tiny effects, the honest answer is to redesign the change or drop the experiment, not to launch anyway.
  4. Lock in alpha and power before launch. Default to a 5% two-sided significance level and 80% power, and write down a brief commercial reason whenever you adjust either dial. Changing thresholds once numbers start rolling in invalidates the error rates you planned around.
  5. Check your traffic allocation ratio. An even 50/50 split delivers the highest precision for a fixed pool of visitors, because in unequal splits the smaller arm generally limits statistical power. Specialised adaptive designs do use skewed allocation ratios deliberately, and they are built around that choice. A standard website A/B test is not. Uneven splits and extra variants cost you power, which means a slower, weaker decision for the same traffic.
  6. Calculate the required sample and record every assumption. Before launching any test, run a free sample size calculator to check whether real traffic can support the design, then save every input so a teammate can reproduce the exact figure.
  7. Sanity-check the calendar duration. Divide your total required visitors by realistic eligible daily traffic. If the answer comes back as nine months on a seasonal catalogue, you have caught a doomed experiment before a developer writes a line of code, giving you space to redesign around a bolder change or drop the test.
  8. Fix the stopping rule in advance. Decide the exact sample size or full-week calendar endpoint before launch and stick to it. Repeatedly checking significance and halting the moment a dashboard flashes 95% inflates your real false-positive risk unless a formal sequential monitoring rule was specified upfront.

For a quick visual walkthrough of how sample size, power, and significance interact in practice, watch the explainer below.

Your One-Page Pre-Launch Test Brief

Don't leave these assumptions buried in a Slack thread. Before pushing live, save a single page holding eight lines: your primary metric, historical baseline, minimum detectable effect, alpha, target power, variant allocation and eligibility rules, planned duration, and pre-specified stopping rule. That page is your insurance policy when results arrive. A test that hits its planned sample and shows nothing is a clean negative you can act on. A test that drifted past every checkpoint tells you nothing at all, no matter how tidy the dashboard looks.

When the test finishes, report the confidence interval and estimated revenue impact alongside the p-value. Leadership then sees statistical reliability and commercial weight in one glance, which is exactly what the sizing exercise was for: a decision you can defend, in traffic, money, and time.

A Worked Example for a UK Ecommerce Test

Abstract rules click into place on a real storefront. Say a UK homeware store on Shopify wants to test a simplified checkout layout. Its current checkout converts at a 4% baseline, and the trading team decides the redesign is only worth shipping if it adds at least 2 percentage points, taking conversion to 6%. They plan a balanced 50/50 split with a standard 5% two-sided significance level and 80% power.

That 2-point jump is a 50% relative improvement, yet the required sample is still substantial because 96 out of every 100 visitors leave without buying. The business question is therefore not “Can we run this test?” It is “Can our traffic detect the smallest uplift that would make this change worth shipping?”

Now change one assumption at a time on that same storefront:

Scenario change Baseline Target effect Effect on required sample Reference case 4% 2 percentage points (50% relative) 1× reference requirement Smaller target effect 4% 1 percentage point (25% relative) About 4× larger Higher baseline rate 15% 50% relative lift, or a 2-point absolute lift About one-ninth as large for the same relative lift; about 1.4× larger for a 2-point absolute lift Balanced split versus 80/20 4% 2 percentage points About 1.25× larger with an 80/20 split Binary conversion versus revenue per visitor 4% Comparable commercial impact About 2× larger if revenue variance is twice as high; the multiplier grows with basket-value spread 90% power instead of 80% 4% 2 percentage points About 1.3× larger

Look closely at the second row. Suppose the store owner decides a 2-percentage-point leap sounds too optimistic and asks instead to detect a 1-percentage-point gain, moving conversion from 4% to 5%. Halving the minimum detectable effect does not double the required traffic. It makes the required sample roughly four times larger.

That single line of arithmetic kills plenty of minor copy tweaks before they reach staging. The calculation is doing exactly what it should: exposing a mismatch between the size of the likely win and the traffic available to measure it.

The third row exposes a subtler trap. Compare the 4% checkout with a mid-funnel step converting at 15%, such as adding an item to basket. If you keep the same relative target, a 50% lift on that 15% baseline, the higher-converting step needs far fewer visitors because the absolute uplift is larger. If you instead hold the absolute lift constant at 2 percentage points, moving from 15% to 17%, required traffic grows because binomial variance rises as conversion moves closer to 50%.

This is why power analysis belongs in commercial planning rather than being treated as a pre-test formula. Teams deciding which storefront changes are bold enough to test can review practical ways to improve your Shopify conversion rate, then size only those candidates whose plausible upside justifies the traffic cost.

The remaining rows move in clear directions. Switching from a 50/50 split to an 80/20 rollout starves the smaller arm and pushes the total requirement up by about a quarter. Measuring revenue per visitor instead of binary order rate adds basket-size volatility on top of conversion noise, so the sample scales with that extra variance. Raising power from 80% to 90% buys extra protection against missing a real win, but the insurance premium is roughly 30% more traffic.

Reading a Flat Result Without Fooling Yourself

What happens when the test finishes and shows no statistically significant difference? Your pre-launch power calculation dictates what you are allowed to conclude:

A flat result from an under-sampled test proves nothing at all. A flat result at full planned sample tells you something genuinely useful: any true effect is likely smaller than the minimum uplift you sized the test to catch.

Keep one caveat in view. If the team only reached its planned traffic count because someone entered an unrealistically rosy 2-percentage-point jump for a subtle colour tweak, the experiment remained underpowered for realistic lifts all along. Hitting a bad target number does not make the verdict reliable.

A power calculation earns its place when it changes the decision. Sometimes that means proceeding because the smallest commercially useful uplift is detectable. Sometimes it means redesigning the test around a bolder change, choosing a higher-converting step in the funnel, or accepting that the question cannot be answered with the available traffic.

Costs of Underpowered Tests and Common Misconceptions

A checkout test that cannot detect the smallest uplift worth shipping spends a month of traffic on a question the site cannot answer. You pay in three places at once: engineering time, the better test that page cannot run, and the profit you might throw away because the sample was too noisy to see it.

An infographic titled Costs of Underpowered Tests and Common Misconceptions, explaining why low-powered tests are problematic.

What Underpowered and Badly Monitored Tests Really Cost

Power is the resolution of the test. Size a layout change for a fantasy jump, burn a full month of checkout traffic, and the likely line is "no significant difference". That line is not a winner to ship. It is also not proof the idea failed. The meter was too coarse for the money you needed to see.

The costly version of that miss is a Type II error: a profitable improvement discarded because random order noise drowned it out. If real traffic cannot detect the smallest lift that would pay for the work, the honest call is not to run a thinner test. It is to change the idea or leave the page alone.

Daily peeking creates a different bill. Stop the moment a metric crosses a nominal 95% line and the true false-positive rate climbs well above 5%. The chart looks decisive on Thursday. The "win" fades the week after rollout, and you have shipped noise.

Four or five variants on one URL, with no plan for multiple comparisons, split the same visitors thinner. Each arm loses power. At least one flat treatment is more likely to look lucky by chance.

Clinical work treats that waste as more than a spreadsheet problem. An underpowered study can be unethical because it exposes participants without a fair chance of answering the question, while an unnecessarily large study burns resources, and a weak sample-size justification can make a grant unfundable. UK Research and Innovation and the Medical Research Council separate a detectable difference from a useful one, and recommend roughly 80% to 95% power depending on how expensive a missed effect would be. The same guidance allows early mechanistic studies to pair 80% power with a 10% or 20% false-positive rate when the purpose warrants it, as long as that trade-off is written down first.

Five Misconceptions That Follow Finished Tests

Running post hoc power after a flat result. Feeding the observed uplift from a finished test back into a power formula adds nothing. Observed power is tied to the p-value you already have, so a non-significant test will always report low observed power. A confidence interval shows how wide the remaining uncertainty still is.

Equating 95% confidence with a well-designed test. Significance only says a gap is unlikely if nothing changed. A statistically significant 0.2% uplift can be commercially irrelevant on a low-margin catalogue, while a lift that would have paid for itself stays hidden when traffic, variability, incomplete journeys, repeat visitors, seasonality, or revenue volatility were guessed badly.

Confusing statistical significance with practical significance. A p-value does not know your margin. Set the minimum detectable effect from gross margin, expected profit, and the opportunity cost of occupying that page, then ask whether your traffic can see an effect of that size.

Treating 80% power and 5% alpha as unbreakable rules. Those figures are sensible defaults for a commercial test, not laws of nature. When a false negative is cheap and a false positive is tolerable, a looser bar can be justified, but only if you defend the trade-off before the first visitor arrives.

Believing the calculated sample proves the treatment works. Reaching the planned visitor total means the measuring tape was long enough for the effect you assumed. It does not mean the variant beat control, and it does not repair a baseline or a lift you invented to make the calendar look kind.

Write the primary metric, the hypothesis, the analysis plan, and the stopping rule before launch. When the test ends, read the confidence interval and the expected profit beside the p-value, and ship only what clears both the statistics and the margin.

Decide Whether Your Next Test Is Worth Running

Every concept behind power analysis boils down to one go/no-go gate before you build a single variant: can your real traffic deliver the required sample within a sensible duration?

Use the pre-launch checklist below to run that gate in minutes before committing design or developer time.

A checklist for determining if an A/B test is worth running based on traffic and statistical requirements.

When the calendar check comes back clean, launch with confidence and leave the test alone until it hits its stopping rule. When the gate fails, don't cross your fingers and launch anyway. Pick one of four deliberate moves:

  • Test a bolder change. Raising your minimum detectable effect cuts traffic demands sharply. On a 4% baseline, targeting a 1-percentage-point lift needs roughly four times the traffic of a 2-percentage-point lift, so either combine smaller tweaks into a redesign capable of delivering 2 points or move on.
  • Cut variants and concentrate traffic. Drop a four-way headline race down to a clean A/B comparison so every eligible visitor feeds two arms instead of four.
  • Extend the duration where seasonality allows. Running an extra two weeks can turn a borderline design into a solid one, provided you aren't crossing straight into Black Friday or a major sale that warps buyer intent.
  • Decline the test and decide with judgement. If traffic can't validate a minor change within a reasonable window, say so plainly. Ship obvious usability fixes directly and save your testing bandwidth for bets big enough to measure.

Frequentist Thresholds Versus Bayesian Probabilities

Once you commit to sizing tests properly, the reporting framework you pick shapes how stakeholders read the finish line. Traditional frequentist workflows give you strict fixed-horizon sample targets and clear error caps, which is why they remain the backbone of formal power planning. Bayesian reporting shifts the final question from "did this cross a significance threshold?" to "what is the probability this variant wins, and how much upside or downside sits in the distribution?"

Platforms handle this split differently. At Otter A/B, our statistical engine supports both frequentist and Bayesian analysis with configurable thresholds, giving manual frequentist splits fixed-horizon sample-size guidance while Bayesian mode reports the probability that each variant beats control alongside the expected lift distribution. On the results page, a one-line executive summary card translates those numbers straight into a clear call: ship the change, keep testing, or stop.

Size every experiment for the smallest effect you would actually act on. If your traffic cannot detect it, change the design or skip the test.


If you want to put pre-launch sizing into practice today, start with our free Sample Size Calculator, Duration Calculator, Significance Calculator, and Conversion Rate Calculator (available with no account required) to check whether your traffic can support your next test idea. When you are ready to run experiments that track purchases, average order value, and revenue per visitor alongside conversion rate using frequentist or Bayesian reporting, visit Otter A/B and start testing for free.

Stop guessing

Ready to start testing?

Set up your first A/B test in under five minutes. No credit card required.

  • 14-day free trial
  • No credit card required
  • Cancel anytime