Everyday tools ↗

Study & statistics / FREE BROWSER TOOL

Sample size planning.

Plan a proportion/mean precision sample or approximate two-group mean study with explicit power.

YOUR EVERYDAY DESKKeep your
next task close.
Switch between tools ↗
Sample size planning
See result ↓● Live result
01 / YOUR INPUTS

Processed on this device.

02 / YOUR RESULT

Your answer

ON YOUR DEVICE

Your result will appear here.

Adjust a field to calculate.

LOCAL INPUTS / CLEAR WORKING / USEFUL OUTPUTNothing to sign in to.

Built and maintained by Operance Labs · Report a calculation or documentation issue

A LITTLE KNOW-HOW

How to use
this tool.

  1. Enter the values for your task.
  2. Adjust the settings and inspect the live result and working.
  3. Copy the result or save a local report.

What the inputs mean

Study design
Choose Single proportion: margin of error, Single mean: margin of error, Two independent means: effect and power.
Confidence level (%)
Enter confidence level (%). Minimum: 50. Maximum: 99.99.
Absolute margin (proportion uses 0–1)
Enter absolute margin (proportion uses 0–1). Minimum: 0.000001.
Expected proportion
Enter expected proportion. Minimum: 0. Maximum: 1.
Expected standard deviation
Enter expected standard deviation. Minimum: 0.000001.
Minimum mean difference (power mode)
Enter minimum mean difference (power mode). Minimum: 0.000001.
Desired power (%)
Enter desired power (%). Minimum: 50. Maximum: 99.99.
Finite population (0 = unlimited)
Enter finite population (0 = unlimited). Minimum: 0. Maximum: 1000000000.
A WORKED STARTING POINT

See the working.

Inputs used in this example

These are example values, not a current price, tariff or personal recommendation. Reset example restores them in the workspace.

InputExample value
Study designSingle proportion: margin of error
Confidence level (%)95
Absolute margin (proportion uses 0–1)0.05
Expected proportion0.5
Expected standard deviation1
Minimum mean difference (power mode)0.5
Desired power (%)80
Finite population (0 = unlimited)0

Required sample size

385

n₀ = z²p(1−p)/E²

  • Normal-approximation planning estimate, rounded upward. Assumes independent representative sampling; effect/power mode uses equal groups, known planning SD and a two-sided test. It excludes clustering, attrition and multiple comparisons.

Method references

Background reading for the calculation. These sources do not endorse PixelDesk or verify an individual result.

Your inputs stay here

Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.

Methods and public data ↗

Keep a useful
thing close.

All study & statistics ↗

Questions, answered.

What can I do with sample size planning?

Plan a proportion/mean precision sample or approximate two-group mean study with explicit power.

What does the sample size planning example show?

With Study design: Single proportion: margin of error; Confidence level (%): 95; Absolute margin (proportion uses 0–1): 0.05, the example returns 385. The workspace shows the substituted formula and its assumptions; Reset example restores these inputs.

What should I check before using the result?

Normal-approximation planning estimate, rounded upward. Assumes independent representative sampling; effect/power mode uses equal groups, known planning SD and a two-sided test. It excludes clustering, attrition and multiple comparisons.