Sample Size Calculator Online

Calculate the exact number of people needed for your study. Includes options for finite or infinite population, adjustable confidence levels and margin of error.

Suggested Size n
0 surveys needed
Critical Value Z
1.96
Text for your report

For a population of 10,000 people, with a confidence level of 95% and a margin of error of 5%, the representative sample size is 370 individuals.

Sensitivity: Size vs Margin of Error

Observe how sample size spikes when trying to reduce the margin of error.

Utilities Studio

Want this utility on your website?

Customize colors and dark mode for WordPress, Notion or your own site.

Frequently Asked Questions

What is the population size?

It is the total number of people that make up the group you want to study or survey. If it is less than 100,000, it is usually considered a finite population. If you do not have this data or it is unmanageable, select the infinite population option.

What confidence level should I choose?

95% is the most widely used standard in scientific research, theses, and market studies. Only change this value if your professor, tutor, or client requires a different precision level (e.g., 99%).

Why does the tool ask for a margin of error?

No sample is perfect. The margin of error defines the amount of imprecision you are willing to accept. The most common is 5%.

What expected proportion (p) should I use if I know nothing about the population?

Leave the default value: 50%. In statistics, this represents the "worst case scenario" because it maximizes the variance p(1-p), ensuring your sample size is never too small under any circumstances.

# Sample Size Calculator Online: The Definitive Guide

Determining the right number of people to survey is one of the most critical steps in any research, market study, or academic project. The Sample Size Calculator provides students, researchers, and marketing professionals with a precise, fast, and easy-to-use tool to calculate the exact number of individuals needed for statistically significant results.
95% Standard Confidence
5% Margin of Error
Fast Real-Time Calculation

# Why Is Calculating Sample Size Fundamental?

In statistics, it is rarely possible to study an entire population. The solution is to select a representative subgroup known as a sample. If the sample is too small, results will be biased. If too large, you will waste time and money unnecessarily.

# The Two Calculation Modes: Finite and Infinite Population

Our calculator adapts to your situation by offering two distinct calculation modes.

Finite Population (Known)

The exact total number of individuals is known.

  • Requires the N value
  • Applies correction factor
  • Reduces the final sample size

Infinite Population (Unknown)

Total size unknown, unmanageable, or greater than 100,000.

  • Does not require knowing N
  • Standard classic formula
  • Most conservative and safe scenario

# Understanding the Control Panel Parameters

Parameter Description Standard Recommendation
Confidence Level (Z)Mathematical certainty that the sample represents the population.Use 95%.
Margin of Error (e)Tolerated deviation percentage from reality.Use 5%.
Expected Proportion (p)Probability that the studied event occurs.Use 50% (maximizes variance).
Beware of the Margin of Error
Reducing the margin of error from 5% to 2% requires an exponential increase in sample size. Check the Sensitivity Chart in the calculator before deciding on a margin that is too strict.

# The Mathematical Formula Behind the Calculation

  • Infinite Population: n = (Z² × p × q) / e²
  • Z: Critical value derived from the Confidence Level.
  • p: Expected proportion (q is 1 - p).
  • e: Tolerated margin of error.

# Quick Glossary for Researchers

Population (N)
Total set of elements or individuals sharing a characteristic that are the subject of study.
Sample (n)
Representative subset selected from the total population.
Maximum Variance
Occurs when p=0.5 (50%), ensuring the calculated sample is viable for the most diverse possible case.

Bibliographic References