Canonical: https://toolipedia.app/statistical-power-and-sample-size-for-means

# Statistical Power and Sample Size for Means

Gives the power of a t-test, the sample size per group needed for a given effect size, alpha and power, or the smallest effect you can detect, with a power curve.

Breadcrumbs: Toolipedia > Online calculators > Maths and school calculators > Statistical Power and Sample Size for Means

## About Statistical Power and Sample Size for Means

Plan a study that compares means. Choose a one-sample or paired design, or two equal groups, a two-sided or one-sided test and α, then solve for the power from a sample size, the sample size from a target power, or the smallest effect you can detect. The calculation uses the non-central t distribution. A chart shows power against sample size. With Cohen's d = 0.5, α = 0.05 and 80 percent power, two groups need 64 people each, while a one-sample or paired design needs 34.

## How to use Statistical Power and Sample Size for Means
1. Choose the design, whether to solve for power, sample size or detectable effect, and the test type and α.
2. Enter the effect size as Cohen's d, or as a mean difference with the standard deviation.
3. Read the sample size or power and check the power curve to see how it changes with n.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.

## Also known as
- statistical power and sample size for means
- t test power calculator
- sample size for t test
- power analysis calculator
- minimum detectable effect size calculator
- cohen's d sample size

## Frequently asked questions

### What effect size should I enter?

Use the smallest difference that would matter in practice, ideally from earlier studies or from the field's judgement. Cohen's labels of 0.2, 0.5 and 0.8 are only rough defaults when nothing else is known.

### What is the difference between 80 percent and 90 percent power?

Higher power lowers the risk of missing a real effect but needs more subjects. Going from 80 to 90 percent power typically raises the required sample size by about a third.

### Why does my result differ slightly from a z-based formula?

This tool uses the exact non-central t distribution, which gives slightly larger sample sizes than the normal approximation, especially for small studies.

### Is Statistical Power and Sample Size for Means free?

Yes. Statistical Power and Sample Size for Means on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

### Can I put Statistical Power and Sample Size for Means on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

## Related tools

More free tools that go well with Statistical Power and Sample Size for Means:
- [Cohen's d effect size calculator](https://toolipedia.app/cohens-d-effect-size-calculator)
- [T-Test and Z-Test Calculator](https://toolipedia.app/t-test-and-z-test-calculator)
- [Curve Fitting Calculator](https://toolipedia.app/curve-fitting-calculator)
- [Weighted mean calculator](https://toolipedia.app/weighted-mean-calculator)
- [Special Number and Power Checker](https://toolipedia.app/special-number-and-power-checker)
