Skip to main content
Best Web Developer — web design, development and digital growth agency
Language and currency EN £ GBP

Language

  • More languages coming soon

Currency

Prices on this site are shown in the currency you choose.

Calculators

Statistical Power Calculator

Find the sample size per group needed to detect a difference between two means or two proportions, and the power achieved with a given sample.

  • Runs in your browser
  • Nothing uploaded

The tool

Enter your numbers below. Results update as you type, and nothing leaves your browser.

Everything you enter stays on your own machine. Nothing is sent to us or to anyone else, which you can confirm in your browser network tab.

What people use it for

  • A/B test planning
  • Clinical and academic study design
  • Grant proposals
  • Checking whether a null result was underpowered

About this tool

What the Statistical Power Calculator does

Statistical power is the chance a study detects an effect that really exists. It depends on the effect size, the significance level (α), whether the test is one- or two-sided and the sample size. This calculator uses the normal approximation for comparing two independent groups.

It also works as a power analysis calculator or a sample size for two groups.

Formula

  • Means: n = 2 × ((z₁₋α/k + z₁₋β) ÷ d)² per group, k = number of tails
  • Proportions: n = (z₁₋α/k √(2p̄q̄) + z₁₋β √(p₁q₁ + p₂q₂))² ÷ (p₁ − p₂)²

Worked example

Using the starting values in the calculator above:

Input Value
Comparison Two proportions
Effect size (Cohen’s d) 0.5
Proportion in group 1 10%
Proportion in group 2 13%
Significance level (α) 5%
Test Two-sided
Target power 80%
Your sample per group (for achieved power) 1,000
Result Value
Sample size per group 1,774
Power with your sample 55.7%
Total sample (both groups) 3,548
Effect to detect 3.00 points (30.0% relative)

How to read the result

Decide the smallest effect worth detecting before collecting data, not after.

Small samples give t-test results slightly less powerful than this normal approximation; add a few per group for very small studies.

Related calculators

  • Confidence Interval Calculator: Calculate a confidence interval for a mean (t-distribution) or a proportion (Wilson score interval), with the margin of error.
  • Molarity Calculator: Calculate the mass of solute to weigh for a solution, the molarity of a solution you made, or the stock volume for a dilution (C₁V₁ = C₂V₂).
  • Radioactive Decay and Half-life Calculator: Calculate the amount remaining after a given time from the half-life, the decay constant and mean life, and the time to decay to a target level.
  • PCR Primer Tm Calculator: Calculate a primer’s melting temperature using SantaLucia nearest-neighbour thermodynamics with salt and magnesium correction, plus GC content and basic formulas.

Browse every calculator in Science, Statistics and Everyday Utility Calculators, or talk to us about custom calculators and web tools.

Questions

Questions about this tool

The things clients actually want to know — costs, timelines, ownership and what happens after launch.

The probability of detecting a real effect of a given size; 80% is a common target.

The difference between two means divided by their pooled standard deviation.

Required sample size grows with the inverse square of the effect size.

Free strategy session

Let’s build something worth finding.

Tell us where you want the business to be in twelve months. We will come back with a costed plan, a realistic timeline, and the numbers we expect to move — no obligation, no jargon.

  • 30-minute call, no pitch deck
  • Fixed-price proposal in 48 hours
  • You own everything we build

Talk to a developer

Not a sales team

Response time
Within 1 business hour
Where we work
UK, USA & the Gulf
Contracts
No lock-in, monthly rolling
Working since
2023
infobestwebdeveloper.org

Free strategy session

Let’s build something worth finding.

Tell us where you want the business to be in twelve months. We will come back with a costed plan, a realistic timeline, and the numbers we expect to move — no obligation, no jargon.

  • 30-minute call, no pitch deck
  • Fixed-price proposal in 48 hours
  • You own everything we build

Talk to a developer

Not a sales team

Response time
Within 1 business hour
Where we work
UK, USA & the Gulf
Contracts
No lock-in, monthly rolling
Working since
2023
infobestwebdeveloper.org
Free consultation

show prices in USD?