Impact-Site-Verification: 1fce05f2-a6cf-4f31-8ca1-aaddc332516c

Sample Size Calculator

Estimate required sample size from confidence level, margin of error, and proportion or population SD.

Clear formulas
Educational steps
Detail breakdown

Round-up sample size for proportion or mean modes using z critical.

Limitation: Educational survey planning—assumes simple random sampling and stated inputs.

Jump to calculator · Sources & review

How to Use the Sample Size Calculator

Round-up sample size for proportion or mean modes using z critical.

1

Open the Sample Size calculator and read field labels.

Match the mode

Educational survey planning—assumes simple random sampling and stated inputs.

What It Calculates

Round-up sample size for proportion or mean modes using z critical.

Worked Examples

Proportion p=0.5 E=0.05

Inputs

mode:proportion
confidenceLevel:95
marginOfError:0.05
proportion:0.5

Result

n ≈ 385

Classic poll sizing.

Mean σ=10 E=2

Inputs

mode:mean
confidenceLevel:95
marginOfError:2
populationSd:10

Result

n ≈ 97

(1.96×10/2)² rounded up.

90% confidence

Inputs

mode:proportion
confidenceLevel:90
marginOfError:0.03
proportion:0.5

Result

Lower n than 95%

Smaller z*.

Check your mode

Educational survey planning—assumes simple random sampling and stated inputs.

Frequently Asked Questions

Yes. Results keep the precision shown on the page unless the engine requires integers.

Still have questions about this calculation?

Try the Calculator

Formulas

Standard definitions with assumptions noted below.

Formula

n ​=​ ⌈z² p​(​1−p​)​​/​E²⌉

Scientific Background

Standard statistics definitions with assumptions stated on-page. Educational only—not professional certification.

Sources & review

Sample Size Calculator documents the references behind its formulas and assumptions. Always treat results as educational estimates, not personalized professional advice.

Last reviewed

July 22, 2026

  • Free Calculator Hub methodology

    Free Calculator Hub

    /methodology

See our methodology and corrections policy.