Sample Size Calculator

Set your population, margin of error, and confidence level.
This calculator computes your required sample size in real time then SurveyMars helps you reach exactly the people behind that number.

Sample Size Dashboard Real-Time Calculation
Population Size(N)
Margin of Error± 5.0%
± 1%± 5%± 10%
Confidence Level
Advanced Settings
Response Distribution50%
1%50%99%

Expected proportion (p). Use 50% when uncertain for the most conservative estimate.

Recommended Sample Size
383
N = 100,000 , margin ± 5.0% , 95% confidence

For a population of 100,000 people, a confidence level of 95%, and a margin of error of ± 5.0%, you need at least 383 completed survey responses to achieve statistically reliable results.

n₀ = Z² × p(1−p) / e²  →  corrected for finite population
The response distribution defaults to p = 0.50 (the most conservative value when the population proportion is unknown).
Find Your Target Audience
Audience Panel

Sample Attributes

Refine your target audience by selecting demographic and professional attributes.

Our global survey panel supports detailed respondent targeting. Select one or more attributes below to match your research requirements. Available filters and options vary by selected country.

Research Guide

How to Calculate Sample Size for a Survey

Use this free sample size calculator to determine how many completed responses your survey needs — then launch with confidence using SurveyMars.

What Is Sample Size?

Sample size is the number of completed survey responses you need before your results can be treated as statistically representative of the population you are studying. In survey research, sample size is not simply "how many people you can afford to ask." It is the minimum number of responses required to keep random error within an acceptable range, so that percentages, averages, and comparisons reflect real patterns rather than noise from a lucky or unlucky draw.

A survey sample size calculator translates your research design into a concrete target: how many people must finish your questionnaire. Whether you are running a customer satisfaction study, an employee pulse survey, a political poll, or a university thesis project, the same core logic applies — you need enough responses to support the level of precision and confidence you promise in your findings.

Why Sample Size Matters

Too few responses inflate uncertainty. If you survey only 30 customers and 60% say they are satisfied, a wide margin of error means the true satisfaction rate in your full customer base could plausibly be anywhere from roughly 42% to 78%. Decisions built on that range — pricing changes, product launches, policy updates — carry unnecessary risk. An undersized sample also increases the chance that outliers skew your results, creating the appearance of a trend that does not exist in the broader population.

Oversampling is equally wasteful. Collecting 5,000 responses when 400 would have delivered the same precision drains budget, slows fieldwork, and can delay action. A well-calibrated survey sample size calculator helps you strike a balance between collecting enough data for reliable inference and avoiding redundant responses that waste your budget. That efficiency matters especially in competitive market research cycles where speed and cost both influence whether insights reach decision-makers in time.

Confidence Level

Confidence level describes how often your sampling method would produce an interval that captures the true population parameter if you repeated the study many times. At 95% confidence, if the same survey were repeated many times, 95% of the resulting confidence intervals would contain the true population parameter. This is the standard definition used in statistics — it does not mean that any single result has a 95% probability of being "correct," but that your sampling procedure is calibrated to a widely accepted reliability threshold.

Most consumer and business surveys use 95% confidence because it balances rigor with practical sample sizes. Higher confidence (such as 99%) requires more responses for the same margin of error, which is appropriate for high-stakes research — regulatory submissions, clinical-adjacent studies, or legal evidence. Lower confidence (90%) reduces required sample size but accepts more sampling variability. Your confidence level choice should match the consequences of being wrong, not personal preference alone.

Margin of Error

Margin of error (also called sampling error) defines the expected range around a reported percentage. If 52% of respondents prefer Option A with a ± 5% margin of error, the true population preference likely falls between 47% and 57%, assuming proper random sampling. Tighter margins — ± 3% or ± 2% — require substantially larger samples because precision increases exponentially as error shrinks.

When presenting results to stakeholders, always report margin of error alongside headline numbers. It signals transparency and prevents over-interpretation of small differences — for example, 51% versus 49% is often a statistical tie, not proof of a winner, when margins overlap.

Population Size

Population size (N) is the total number of individuals in the group you want to describe — all employees in a company, all customers in a CRM segment, all registered voters in a district, or all students in a faculty. When the population is finite and relatively small, a correction factor reduces the required sample compared with an infinite population formula.

For very large or unknown populations, you can enter 1,000,000 or more. Beyond this point, the required sample size changes very little because confidence level and margin of error have a much greater impact on the calculation. That is why researchers often use a large placeholder when surveying "the general public" or an open market — the calculator stabilizes, and your focus should shift to confidence, error, and response quality rather than debating whether N is 2 million or 20 million.

Response Distribution

Response distribution (p) is the expected proportion of responses in the category you are measuring — for example, the share who agree, purchase, or recognize a brand. When you do not know this proportion in advance, statisticians use p = 0.50 because it maximizes variance p(1−p) and produces the most conservative (largest) sample size estimate. If you expect 80% approval based on prior data, entering 80% in advanced settings yields a smaller required sample because less variability is assumed.

This survey sample size calculator defaults to 50% response distribution so first-time users receive a safe, conservative estimate. Adjust p only when you have credible prior evidence — pilot studies, industry benchmarks, or historical campaign data — and understand that an incorrect assumption can leave you underpowered if actual variance is higher than expected.

From Calculation to Fieldwork

Knowing your target number is step one; reaching qualified respondents is step two. After you calculate sample size, build your questionnaire in a Survey Builder, run quick pulse checks with a Poll Maker, or field a full study through the Audience Panel when you need verified participants matched to demographic and professional filters. For segmentation studies and concept tests, pair your sample size target with a structured Market Research Solution workflow so every response contributes to statistically defensible conclusions.

Whether you need a market research sample size calculator for brand tracking, a sample size calculator for students working on academic projects, or a sample size calculator for surveys inside your organization, the same inputs drive the math. Define population, confidence, margin of error, and (optionally) expected response distribution — then collect at least that many completed, valid responses before drawing conclusions.

Statistical Method

Sample Size Formula Explained

The sample size formula below powers this calculator. It follows standard survey statistics used in market research, social science, and polling.

Initial Sample Size Formula

Before adjusting for a finite population, the initial sample size n₀ is calculated as:

n₀ = (Z² × p × (1 − p)) / e²
  • Z = Z-score for your chosen confidence level (1.645 at 90%, 1.960 at 95%, 2.576 at 99%)
  • p = Response distribution — the expected proportion in the measured category (0.50 when unknown)
  • e = Margin of error expressed as a decimal (5% → 0.05)

In plain terms: higher confidence raises Z, which raises required sample size. A smaller margin of error (more precision) also increases n₀ because e appears in the denominator squared — halving your margin of error roughly quadruples the sample needed. Response distribution affects sample size through p(1−p), which peaks at 0.25 when p = 0.50, making 50% the conservative default when you lack prior data.

Finite Population Correction

When your population N is known and not extremely large, apply the finite population correction:

n = n₀ / (1 + ((n₀ − 1) / N))
  • n₀ = Initial sample size from the formula above
  • N = Population size — total members of the group being studied

This adjustment reflects that sampling without replacement from a small pool reduces variance compared with sampling from a vast population. For example, surveying 200 employees out of 250 requires fewer responses than surveying 200 people from a national consumer base of millions — because each additional respondent represents a larger share of the finite group. As N grows toward very large values, the correction factor approaches 1 and n converges toward n₀.

This sample size calculator applies both steps automatically: it computes n₀ from your confidence level, margin of error, and response distribution, then adjusts for population size when N is provided. The result is rounded up to the nearest whole number because you cannot collect a fraction of a respondent.

Quick Reference

Sample Size Calculator Summary

Concise answers to the most common sample size questions — designed for quick scanning by researchers and AI search systems.

What is sample size?

Sample size is the number of completed survey responses needed for results to represent a target population within a stated margin of error and confidence level.

Why is sample size important?

Correct sample size balances statistical reliability with cost — too few responses produce unreliable estimates; too many waste budget without improving precision.

How is sample size calculated?

Sample size uses n₀ = (Z² × p × (1−p)) / e², then adjusts for finite population N. Inputs are confidence level, margin of error, response distribution, and population size.

What is a good sample size for a survey?

There is no universal number — a good sample size depends on population, desired precision, and confidence. Use a calculator rather than rules of thumb.

What confidence level should I use?

95% is standard for most business and academic surveys. Use 99% for high-stakes decisions and 90% when budget constraints require a smaller sample.

Frequently Asked Questions

Frequently Asked Questions

A good sample size depends on your population, desired margin of error, and confidence level — not a fixed number like 100 or 400. For most consumer surveys at 95% confidence with ± 5% error, samples between 300 and 500 responses are common. Smaller populations need fewer responses after finite correction; tighter margins require more. Use this calculator with your specific parameters rather than generic rules of thumb.
Enter your population size, margin of error, and confidence level into the calculator above for an instant answer. At 95% confidence and ± 5% margin of error with an unknown response distribution, a large population typically requires roughly 385 responses. Stricter precision (± 3%) or 99% confidence increases that number significantly. Always aim for completed, valid responses — not just invitations sent.
The standard formula is n = (Z² × p × (1 − p)) / e², where Z is the Z-score for your confidence level, p is expected response proportion, and e is margin of error as a decimal. For finite populations, apply n = n₀ / (1 + ((n₀ − 1) / N)). This calculator performs both steps automatically and rounds up to a whole number.
Higher confidence requires a larger Z-score, which increases required sample size. Moving from 90% to 95% confidence raises Z from 1.645 to 1.960 — a meaningful jump in required responses. Moving to 99% (Z = 2.576) increases sample size further. You trade sample size for greater assurance that repeated studies would capture the true parameter.
Margin of error is the expected range around a survey result due to random sampling. If 60% agree with ±5% margin of error, the true population rate likely falls between 55% and 65%. Smaller margins mean more precision but require larger samples because error appears squared in the denominator of the sample size formula.
Response distribution (p) is the expected proportion of responses in the category you measure — such as the percentage who agree, buy, or recognize a brand. When unknown, p = 0.50 is used because it maximizes variance and yields the most conservative sample size. Adjust p in Advanced Settings only when you have reliable prior data.
Statistical significance and sample size are related but not identical. Significance testing compares groups or detects effects; sample size planning ensures your estimates have acceptable precision. For detecting small differences between two groups, you may need more responses than a single-proportion survey at the same margin of error. Start with this calculator for estimation, then consult power analysis for hypothesis tests.
Market research sample sizes vary by study type. Brand awareness tracking often uses 400–1,000 respondents per segment at ± 3–5% error. Concept tests with niche audiences may require fewer after finite correction but need precise screening. Use this market research sample size calculator with your segment population, then field through SurveyMars Audience Panel for verified respondents.
Student thesis and course projects should follow the same statistical principles as professional research. If surveying a finite campus population of 2,000 students, enter N = 2,000 with your advisor-approved confidence and error levels. Many academic supervisors accept 95% confidence and ± 5% error. Document your inputs in your methodology section — this sample size calculator for students provides transparent, defensible numbers.
Yes. Political and opinion polls use the same proportion-based sample size logic. Enter your eligible voter or adult population, select confidence and margin of error, and use 50% response distribution when vote share is unknown. Remember that polls also require representative sampling methodology — correct sample size alone does not guarantee accuracy if the sample is biased.
An undersized sample produces wide confidence intervals and unstable percentages. A few outlier responses can shift results dramatically, and subgroup analysis becomes unreliable. Business decisions based on underpowered data risk false positives and missed trends. If budget limits sample size, widen margin of error transparently in reporting rather than presenting precise-looking numbers without support.
Use 95% confidence for most surveys — it is the industry standard in market research and social science. Choose 99% when errors carry high cost: regulatory, medical-adjacent, or legal contexts. Use 90% only when sample size constraints are severe and stakeholders accept wider sampling uncertainty. The choice should reflect decision risk, not convenience.
For very large or unknown populations, you can enter 1,000,000 or more. Beyond this point, the required sample size changes very little because confidence level and margin of error have a much greater impact on the calculation. The "Unknown / General Public" preset applies this approach automatically.
Choose 95% for standard consumer, employee, and market research where industry benchmarks apply. Choose 99% when the cost of a wrong conclusion exceeds the cost of additional responses — compliance audits, safety-related feedback, or executive decisions with large financial exposure. Compare both settings in the calculator to see how sample size changes before committing budget.
SurveyMars builds custom screening processes for specialized targets — for example, CTOs at mid-sized logistics firms in Southeast Asia. Custom screeners qualify respondents at survey entry, ensuring your calculated sample size is filled with verified, on-target participants rather than generic panelists filtered after the fact.

Take control of your data.

Pair the right sample size with the right audience, and every response you collect contributes to statistically significant, actionable insights.

Feedback
Contact Us
WhatsApp WhatsApp
Email Email
Write to Me on WhatsApp!
Hello! 😊 We will respond to your questions on WhatsApp as quickly as possible.
Your question
0 / 300
Contact Us
To better assist you, please provide your contact information and we will get back to you as soon as possible.
rating rating rating rating rating
(5.0rating/5032 reviews)