CalculatorScale — 4,500+ Free Online Calculators and Converters
calculators calculatorscale.com • Free

Sample Size Calculator

Survey Statistics & Research Cochran's Formula & FPC

Sample Size Calculator

Determine the minimum required sample size or evaluate the margin of error and confidence interval for survey research, academic studies, and finite population models.

Modify the values and click the Calculate button to use

• Find Sample Size: Enter desired confidence level (typically 95%), acceptable margin of error (e.g. 5%), and expected proportion to calculate minimum required sample size $n$.

• Find Margin of Error: Enter an existing sample size $n$ to determine the survey precision $\pm E\%$.

• Leave Population Size blank if surveying an unlimited or unknown population.

Find Out The Sample Size

This calculator computes the minimum number of necessary samples to meet the desired statistical constraints.

1 - α
± E %
%
Allowed estimation error
p %
%
Use 50% if not sure
Optional
Leave blank if unlimited

Comprehensive Guide to Sample Size, Margin of Error & Survey Statistics

Principles of statistical inferencing, Cochran's formula, finite population correction, and confidence interval theory.

1Understanding Sample Size & Survey Sampling

In clinical research, opinion polling, and quality assurance, surveying an entire population (a census) is often physically impossible, costly, or time-prohibitive. By taking a representative, randomly selected sample of size $n$, statisticians can extrapolate findings to the whole population with quantifiable mathematical certainty.

2Core Statistical Concepts Defined

Confidence Level (1 - α)

The probability that the sample results accurately capture the true population parameter within the margin of error. A 95% confidence level means that if the survey were repeated 100 times, 95 of those surveys would yield intervals containing the real population value.

Margin of Error (E)

The maximum expected difference between the true population parameter and the sample estimate (e.g., “$\pm 3\%$”). A narrower margin of error requires a substantially larger sample size.

Population Proportion (p = 50% Conservatism)

The product $p(1 - p)$ reaches its absolute mathematical maximum when $p = 0.50$ ($0.5 \times 0.5 = 0.25$). Setting $p = 50\%$ guarantees the most conservative (largest) necessary sample size, ensuring sufficient statistical power regardless of the true split.

Finite Population Correction (FPC)

When a sample size represents a noticeable percentage of the total population ($n / N > 5\%$), sampling without replacement reduces variability. FPC adjusts the required sample size downward according to $n = n_0 / [1 + (n_0 - 1) / N]$.

3Statistical Formulas & Z-Scores

• Cochran's Infinite Population Formula: n₀ = [Z² · p(1 - p)] / E²
• Finite Population Sample Size: n = n₀ / [1 + (n₀ - 1) / N]
• Margin of Error (Infinite): E = Z · √[p(1 - p) / n]
• Margin of Error with FPC: E = Z · √[p(1 - p) / n] · √[(N - n) / (N - 1)]

4Worked Examples & Step-by-Step Solutions

Example 1: Large / Unlimited Population Sample Size

Suppose a national polling organization wants to measure public opinion with a 95% confidence level ($Z = 1.960$), a 5% margin of error ($E = 0.05$), and assumes maximum uncertainty ($p = 0.50$).

n₀ = [1.960² × 0.50 × (1 - 0.50)] / 0.05²
n₀ = [3.8416 × 0.25] / 0.0025 = 0.9604 / 0.0025 = 384.16
Rounding UP: n = 385 respondents

Example 2: Finite Population Correction (High School of 1,000 Students)

A high school principal surveys a student body of $N = 1,000$ at a 95% confidence level and 5% margin of error.

n₀ = 384.16
n = 384.16 / [1 + (384.16 - 1) / 1000] = 384.16 / [1 + 0.38316] = 384.16 / 1.38316 = 277.74
Rounding UP: n = 278 students

Example 3: Calculating Margin of Error for 100 Respondents

In a customer satisfaction survey, $n = 100$ customers were polled, with $60\%$ reporting positive satisfaction ($p = 0.60$) at a 95% confidence level ($Z = 1.960$) with an unlimited customer base.

E = 1.960 × √[(0.60 × 0.40) / 100] = 1.960 × √[0.24 / 100] = 1.960 × √0.0024 = 1.960 × 0.04899 = 0.0960 (9.60%)
Confidence Interval: [60% - 9.60%, 60% + 9.60%] = [50.40%, 69.60%]

Frequently Asked Questions

Why does sample size barely increase once population size exceeds 100,000?

Once a population is large (e.g. over 50,000 or 100,000), the Finite Population Correction factor approaches 1. For a 95% confidence level and 5% margin of error, the required sample size for a city of 100,000 is 383, and for an entire country of 300 million it is 384.

Why is 95% the most commonly used confidence level?

A 95% confidence level (Z = 1.960) has become the gold standard in scientific and social research because it strikes an ideal pragmatic balance between statistical precision and realistic sample collection costs.

What should I do if I have no prior estimate for the population proportion?

Always default to 50% (0.50). This produces the maximum possible standard error p(1 - p) = 0.25, ensuring your sample size is sufficiently large to maintain your desired margin of error no matter the survey outcome.

Can sample size be larger than total population size?

No. When sampling without replacement from a finite population, the sample size n cannot exceed N. The calculator will automatically alert you if n > N.

⚡ 100% Free Tool • Instant Calculation • No Sign-Up
Embed Widget

Understanding Sample Size Calculator & Formula

Mathematical Formula: Infinite: n₀ = [Z² · p(1 - p)] / E² | Finite Population Correction: n = n₀ / [1 + (n₀ - 1) / N] | E = Z · √[p(1 - p) / n] · √[(N - n)/(N - 1)]

The Sample Size Calculator on CalculatorScale.com is engineered to deliver instant, mathematically verified calculations conforming strictly to standard institutional equations. Whether planning long-term investments, managing household budgets, tracking clinical fitness targets, analyzing academic genetics, calculating veterinary dosages, or converting dimensional units, every calculation updates dynamically in real time without lag.

Every formula used in this tool adheres to certified international standards, including World Health Organization biometric metrics, veterinary clinical guidelines, NIST physical conversion constants, and standard biological equations. Results are computed entirely client-side inside your browser with complete data privacy, ensuring your sensitive numbers and statistics never leave your device.

Our calculators are 100% free with no registration, subscriptions, or paywalls required. You can toggle between imperial and metric units, customize input parameters, export calculation summaries, or embed this calculator directly into your own website or blog.

How to Use the Sample Size Calculator

  1. 1 Choose "Find Out The Sample Size" or "Find Out The Margin of Error" from the module selector tabs.
  2. 2 Select a confidence level (e.g. 95% standard or custom %) and enter your desired margin of error (e.g. 5%).
  3. 3 Keep population proportion at 50% for the most conservative (maximum) statistical sample size estimate.
  4. 4 Enter the total population size (N) for Finite Population Correction (FPC), or leave blank for unlimited populations.
  5. 5 Compare sample sizes across 90%, 95%, and 99% confidence levels in the comparative table.
FAQ & Help 3 questions

Sample Size Calculator — Frequently Asked Questions

Q1 Why is 95% confidence and 5% margin of error the research standard? ▾

A 95% confidence level with a 5% margin of error strikes an optimal balance between high statistical certainty and realistic respondent recruitment costs (typically requiring 384 respondents for large populations).

Q2 Why should I use a 50% population proportion if unknown? ▾

Setting proportion p = 50% maximizes the product p(1 - p) = 0.25, ensuring the largest and most conservative sample size that guarantees the margin of error regardless of the actual survey outcome.

Q3 What is Finite Population Correction (FPC)? ▾

When a sample represents a substantial fraction of a small or closed population (e.g. > 5%), sampling without replacement reduces variability. FPC adjusts the required sample size downwards to avoid over-sampling.

Statistics • Other calculators

More in Other calculators

Browse Statistics →
Categories

Explore All 4,700+ Calculators by Category

Master A-Z Directory →
Biology Calculators 124

Genetics, molecular laboratory science, veterinary dosages, animal gestation, agronomy, and forestry.

Chemistry Calculators 111

Stoichiometry, chemical solutions, thermodynamics, kinetics, electrochemistry, and organic reactions.

Construction Calculators 7

Concrete, roofing, brick, framing, lumber spans, driveway paving, gravel, and material specifications.

Conversion Calculators 17

Precision metric and imperial unit converters for length, area, volume, mass, pressure, temperature, and speed.

Ecology Calculators 6

Carbon footprint, solar energy payback, tree sequestration, recycling offsets, and sustainable living metrics.

Everyday Life Calculators 13

Travel durations, clothing and shoe sizes, fuel economy, home budgeting, sleep cycles, and daily routines.

Finance Calculators 77

Mortgage amortization, compound interest, loans, retirement planning, taxes, investments, and salary projections.

Food & Cooking Calculators 1

Culinary volume-to-weight conversions, baking hydration, ingredient scaling, pizza dough, and party food planning.

Health Calculators 29

BMI, daily caloric needs (TDEE/BMR), body fat percentage, pregnancy due dates, clinical dosage, and pediatric metrics.

Math Calculators 433

Scientific calculators, fractions, percentages, geometry, trigonometry, algebra, linear systems, and matrices.

Physics Calculators 490

Kinematics, Newtonian dynamics, thermodynamics, fluid mechanics, electromagnetism, optics, and relativity.

Sports & Athletic Calculators 4

Heart rate training zones, running pace, triathlon pacing, cycling power, calories burned, and 1RM lifting benchmarks.

Statistics Calculators 6

Standard deviation, normal distribution (Z-scores), confidence intervals, sample size, and probability odds.

Other Calculators 17

Education GPA, photography exposures, music BPM, data storage, network bandwidth, and specialty calculations.