Home / Sample Size for a Proportion Calculator

Sample Size for a Proportion Calculator

Estimate a sample size for a proportion from an expected proportion, margin of error and confidence z-score, with an optional finite-population correction.

How to use this calculator

  1. Enter p between 0 and 1, margin as a percent, z-score and optional population size.
  2. Confirm that all inputs use the stated units and the same population, period or scope.
  3. Change one assumption at a time when comparing scenarios.

Formula used by the sample size proportion calculator

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

  • n₀=z²p(1−p)/E²
  • The calculation assumes a simple random sample and does not include nonresponse or clustered-sample design effects.
  • Inputs are validated against required ranges and outputs are rounded for readability.

Worked examples

Worked example

Use p=0.5, z=1.96 and a 5% margin of error.

The large-population initial estimate is about 385 observations.

The large-population initial estimate is about 385 observations.

Understanding the result

Estimate a sample size for a proportion from an expected proportion, margin of error and confidence z-score, with an optional finite-population correction.

The calculation assumes a simple random sample and does not include nonresponse or clustered-sample design effects.

Important notes

The calculation assumes a simple random sample and does not include nonresponse or clustered-sample design effects.

Use the result as a calculation aid for the inputs supplied; confirm critical specifications independently.

Frequently asked questions

Why is p=0.5 often used?

It maximizes p(1−p) and therefore gives a conservative sample size when the proportion is unknown.

Does this guarantee representativeness?

No; sampling method and response bias matter beyond sample size.

How do I use this calculator?

Enter p between 0 and 1, margin as a percent, z-score and optional population size.

Affiliate recommendations

Tools related to Sample Size for a Proportion Calculator

These tools are selected for the calculator topic. The Calc Studio may earn a commission from purchases made through affiliate links.

  • Growth Wise SAT & ACT prep Visit partner ↗

    SAT and ACT study tools, flashcards, and preparation resources for students.

See the Affiliate Disclosure for details.

Related calculators

  • Sample Size Calculator — Estimate a simple random-sample size for a proportion using a chosen confidence z-score, assumed proportion and margin of error.
  • Margin of Error Calculator — Estimate a simple proportion margin of error from sample size, assumed proportion, and a critical z value.
  • Percent Error Calculator — Calculate percentage error and absolute error between observed and reference values.
  • Standard Error Calculator — Estimate the standard error of a sample mean from sample standard deviation and sample size.
  • Proportion Calculator — Solve a simple proportion with three known values.
  • Two-Proportion Z-Test Calculator — Compare two independent success proportions using a pooled z statistic and a two-sided normal approximation.

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

  • Sample Size Calculator — Estimate a simple random-sample size for a proportion using a chosen confidence z-score, assumed proportion and margin of error.
  • 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.
  • Proportion Calculator — Solve a simple proportion with three known values.
  • Two-Proportion Z-Test Calculator — Compare two independent success proportions using a pooled z statistic and a two-sided normal approximation.
  • Confidence Interval for Mean Calculator — Estimate a normal-approximation confidence interval around a sample mean from its spread and sample size.
Browse by categoryMath CalculatorsBusiness CalculatorsHealth & Fitness CalculatorsFinancial CalculatorsScience & Electronics CalculatorsConstruction Calculators

Task collections

  • Math & Statistics Calculators — Free math and statistics calculators for Bayes theorem, set operations, matrices, complex numbers, vector products, normal distributions, averages, percentages, standard deviation, geometry, equations, and number systems.
  • Business & Work Calculators — Free business and work calculators for ROI, markup, break-even, sales commission, DSO/DPO, customer-acquisition payback, weighted sales pipelines, labour cost per unit, FTE staffing, email growth, and creator RPM.
  • Everyday Money Calculators — Free money and operating calculators for salary, overtime, VAT, pricing, budgets, fuel costs, receivables and payables days, acquisition payback, staffing, email-list growth, and creator RPM estimates.
  • Home Project Calculators — Free home and construction calculators for square footage, roofing, stairs, tile, concrete, framing stud counts, steel plate weight, siding, countertops, insulation, and material estimates.

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.
  • Markup — Learn what markup means, how markup is calculated from cost and selling price, and how it differs from margin.
  • Percent Difference — Understand percent difference, when it is appropriate, and how it differs from percentage change and percent error.

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.