Home / Sample Size Calculator

Sample Size Calculator

Estimate an initial sample size for a proportion when you choose a confidence z-score, expected proportion and margin of error.

How to use this calculator

  1. Enter the values requested by the Sample Size and keep all units consistent.
  2. Check the formula and worked example before relying on the displayed result.
  3. Change one input at a time when comparing alternative scenarios.

Formula and method

n = z² × p(1 − p) ÷ E², where p and E are proportions

  • The calculator applies the stated relationship to the inputs entered by the visitor. Intermediate calculations use full numeric precision before display rounding.
  • Sampling design, nonresponse and a finite population may require adjustments.

Worked examples

Worked example: Sample Size

At z = 1.96, p = 0.5 and margin E = 0.05

n = 1.96² × 0.25 ÷ 0.05² ≈ 384.16, rounded up to 385.

n = 1.96² × 0.25 ÷ 0.05² ≈ 384.16, rounded up to 385.

Understanding the result

Use the output as a calculation for the chosen assumptions, not as an explanation of why a real-world result occurred.

Sampling design, nonresponse and a finite population may require adjustments.

Important notes

Sampling design, nonresponse and a finite population may require adjustments.

Confirm the units, source measurements, rounding convention and context before using the result for a real project or decision.

Frequently asked questions

What does this Sample Size calculate?

Estimate an initial sample size for a proportion when you choose a confidence z-score, expected proportion and margin of error.

Which assumptions matter most?

Sampling design, nonresponse and a finite population may require adjustments.

Can the result replace professional or domain-specific guidance?

No. The tool provides arithmetic under its stated assumptions; check applicable specifications, accounting conventions, standards or qualified guidance for consequential decisions.

Related calculators

  • Proportion Calculator — Solve a simple proportion with three known values.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
  • Margin of Error Calculator — Estimate a simple proportion margin of error from sample size, assumed proportion, and a critical z value.
  • Pythagorean Theorem Calculator — Find the hypotenuse of a right triangle from the two perpendicular sides.
  • Standard Deviation Calculator — Calculate population or sample standard deviation, variance, mean, sum, and count.
  • Standard Error Calculator — Estimate the standard error of a sample mean from sample standard deviation and sample size.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • How to Calculate Standard Deviation — Learn what standard deviation measures, the population and sample formulas, and how to interpret the result.
  • How to Calculate Percent Error — Learn the percent error formula and how to compare an experimental value with a reference or accepted value.
  • Standard Deviation — Understand standard deviation as a measure of spread and the difference between population and sample standard deviation.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • Margin of Error Calculator — Estimate a simple proportion margin of error from sample size, assumed proportion, and a critical z value.
  • Standard Error Calculator — Estimate the standard error of a sample mean from sample standard deviation and sample size.
  • Standard Deviation Calculator — Calculate population or sample standard deviation, variance, mean, sum, and count.
  • Proportion Calculator — Solve a simple proportion with three known values.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
  • Pythagorean Theorem Calculator — Find the hypotenuse of a right triangle from the two perpendicular sides.
Browse by categoryMath CalculatorsBusiness CalculatorsConstruction CalculatorsFinancial CalculatorsHealth & Fitness CalculatorsScience & Electronics Calculators

Task collections

  • Math & Statistics Calculators — Free math and statistics calculators for percentages, percentage-point change, interquartile range, averages, fractions, probability, standard deviation, z-scores, geometry, equations, and number systems.
  • Business & Work Calculators — Free calculators for business and work, including ROI, markup, break-even, sales commission, salary, overtime, VAT, depreciation, profit margin, and practical percentage calculations.
  • Everyday Money Calculators — Free money calculators for salaries, overtime, discounts, VAT, sales tax, unit prices, rent splits, fuel costs, inflation, net worth, and other everyday calculations.
  • Health & Fitness Calculators — Free health and fitness calculators for BMI, BMR, calories, macros, body fat, water intake, ideal weight, waist-to-hip ratio, and pace.

Related guides

  • How to Calculate Standard Deviation — Learn what standard deviation measures, the population and sample formulas, and how to interpret the result.
  • How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.
  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.

Related terms

  • Standard Deviation — Understand standard deviation as a measure of spread and the difference between population and sample standard deviation.
  • Basal Metabolic Rate (BMR) — Learn what basal metabolic rate means and how BMR estimates are used in calorie planning.
  • Markup — Learn what markup means, how markup is calculated from cost and selling price, and how it differs from margin.

Useful conversions

  • °C to °F — Convert Celsius to Fahrenheit with a free temperature converter, formula, examples, and common temperatures.
  • °F to °C — Convert Fahrenheit to Celsius with a free temperature converter, formula, examples, and common temperatures.
  • cm to feet — Convert centimeters to feet with a free cm to feet converter, formula, examples, and a quick reference table.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.