Skip to content
    TheCalculatorsCalculate Anything. Anytime.
    HomeCalculatorsCategoriesBlogAbout
    HomeCalculatorsCategoriesBlogAbout
    1. Home
    2. Statistics
    3. Sample Size Calculator

    Sample Size Calculator

    Find the minimum number of responses needed for a survey or experiment: n = z²·p(1−p)/e², adjusted for finite populations. Enter a confidence level, margin of error and expected proportion (50% if unsure).

    #sample size#margin of error#confidence level#survey sample#population proportion

    TheCalculators — Sample Size Calculator

    Printed thecalculators.com

    Presets
    %
    115
    %
    0100

    Use 50% if unsure — it is the most conservative choice.

    Leave 0 for an unlimited (very large) population.

    Live mode: results update as you type.

    Required sample size

    385

    95% confidence · ±5% margin · p = 50%

    Confidence level
    95%
    z score
    1.96
    Margin of error (e)
    5%
    Proportion (p)
    50%
    Unadjusted n₀ = z²p(1−p)/e²
    384.15
    Adjusted n′
    — (not needed)
    Minimum sample size
    385

    Step-by-step solution

    1. 1Find z for the confidence levelz = normInv(1 − (1 − 95%)/2) = 1.96
    2. 2Apply the sample size formulan₀ = z²·p(1−p)/e² = 1.96² × 0.5×0.5 / 0.05² = 384.15
    3. 3Round upAlways round up: n = 385 respondents

    p = 50% maximizes p(1−p), giving the largest (safest) required sample. If you expect roughly 80/20, entering the real proportion shrinks n.

    Most useful next

    Required sample size

    385

    Formula

    n = z²·p(1−p)/e² · finite population: n′ = n/(1 + (n−1)/N)

    Pro tips

    • • Use p = 50% when you have no prior estimate — it is the worst case.
    • • Tightening the margin from 5% to 3% roughly triples the required sample.
    • • Finite populations (classrooms, companies) need fewer samples thanks to the correction factor.

    FAQ

    Related Calculators

    More Statistics tools you might need.

    Confidence Interval Calculator

    Compute the confidence interval and margin of error for a sample mean at 90/95/99%.

    Calculate

    Standard Deviation Calculator

    Population or sample standard deviation, variance and margin of error from raw data.

    Calculate

    Probability Calculator

    Coin flips (binomial), dice rolls or a custom favorable/total ratio, with likelihood band.

    Calculate
    TheCalculatorsCalculate Anything. Anytime.

    Your all-in-one destination for free online calculators. Simple. Fast. Accurate. Always here for you.

    Quick Links

    • Home
    • All Calculators
    • Categories
    • Blog
    • About Us
    • Contact

    Popular Categories

    • Health Calculators31
    • Finance Calculators62
    • Education Calculators9
    • Travel Calculators8
    • Everyday Calculators65
    • Developer Calculators7

    Resources

    • Calculator Guide
    • Tips & Tutorials
    • Calc of the Day
    • FAQs
    • Privacy Policy
    • Terms of Service
    • Sitemap

    © 2026 TheCalculators. All rights reserved. · 204 free tools and counting.

    Calculate Anything, Anytime.Made for a Smarter World

    /orCtrl Kto searchEscto close dialogsEnterto calculate