What is the ideal sample size for digital surveys?
5 min read

When a company decides to conduct a digital survey, it seeks representative and reliable answers about the behavior or opinion of its target audience. For this, a crucial step is to determine the ideal sample size: that is, how many people should respond so that the results reflect reality with a good level of confidence and acceptable error.
In this article, we will practically explain what this means, how this size is defined, and offer a reference table that can help when planning your survey.
What is a sample in a survey
The sample is the set of people selected to represent a larger population within a survey. Instead of interviewing every individual in a group (which is often unfeasible in terms of time and cost), you choose a portion of that universe and collect data only from them.
For example: if a company wants to understand the behavior of 50 thousand active customers, it does not need to interview all 50 thousand. Instead, it defines a strategic and statistically valid cut — the sample — that allows inferring the results for the entire base.
In practical terms:
-
Population is the total number of people you want to represent.
-
Sample is the group actually interviewed.
-
Ideal sample size is the quantity needed for this representation to have an adequate margin of error and confidence level.
The quality of the survey does not depend only on “how many responses” you have, but on how this sample was defined. If you select participants without criteria, you can generate bias. On the other hand, when you apply correct statistical and methodological criteria, the sample becomes a powerful tool for decision-making.
Read also: Why do we use samples in surveys?
What is the ideal sample size
The ideal sample size is the number of respondents a survey needs to have for its results to be representative of the target population, within a defined margin of error and confidence level. In other words, it ensures that the collected data can be used to infer the behavior of the entire population with a degree of statistical confidence.
This number is not absolute: it depends on factors such as:
-
Total population you want to represent;
-
Margin of error you are willing to accept (e.g., ±3%, ±5%);
-
Confidence level (e.g., 90%, 95% or 99%);
-
Expected variability in responses (when unknown, 50% is used, or p = 0,5).
Read also: Sample Size Calculator
Why it matters
Without an adequate sample size, your survey may present biased results, with a higher risk of error and more difficult to justify strategic decisions based on these data.
Furthermore, correctly defining sampling directly influences:
-
Accuracy of results: the larger the sample (within reason), the lower the chance of error;
-
Cost and time of the survey: excessively large samples can be expensive and time-consuming without bringing real information gain; while very small samples can generate useless data.
Read also: Most used sample types in market research
How sample size is calculated (simple)
The most common way to calculate the ideal sample size in quantitative research uses the confidence level (represented by a z-score), the desired margin of error, and the population variability. A widely used formula is:
n=Z2⋅p(1−p)e2n = \frac{Z^2 \cdot p(1 – p)}{e^2}
where:
-
n is the sample size;
-
Z is the score associated with the confidence level (for example, 1,96 for 95%);
-
p is the estimated proportion of the studied characteristic (when unknown, 0,5 is used);
-
e is the desired margin of error.
For small or finite populations, a correction is applied, but in many digital surveys with a large universe of users, this formula already provides a good starting point.
Read also: Sampling Calculator for surveys
Reference table: recommended sample sizes
The table below provides a general guideline of how many respondents are ideally needed according to the survey population (considering 95% confidence level and ±5% margin of error). These values are commonly used in the market and in online calculation tools.
| Total population | Ideal sample size (≈) |
|---|---|
| 500 | 217 |
| 1.000 | 278 |
| 5.000 | 357 |
| 10.000 | 370 |
| 50.000 | 381 |
| 100.000 | 383 |
| 500.000+ | 384 |
These values show an important principle: after a certain point, increasing the population hardly changes the ideal sample size, as long as the confidence level and margin of error remain.
Read also: Types of samples: what they are and how to choose the best option
When to adjust the sample size
You can consider adjustments in specific cases:
-
Smaller margin of error (e.g., ±3%) → requires larger samples;
-
Higher confidence level (e.g., 99%) → requires more participants;
-
Research segmented by groups (such as age or region) → each segment needs its own size;
-
Exploratory or qualitative objectives → here, smaller numbers may be acceptable, as the purpose is not to statistically infer the entire population.
Read also: The importance of sample error for reliable research
Why method matters more than volume
Defining the ideal sample size is one of the most important steps in planning any digital survey. When a company correctly calculates the margin of error, the confidence level, and the population profile, it not only collects responses, it builds a solid statistical basis for strategic decisions.
However, online calculators are just the starting point. True consistency lies in how the sampling design is structured, in the definition of quotas, and in the quality control of respondents. It is precisely at this point that PainelTAP operates: integrating technology, methodology, and panel curation to ensure that the calculated number actually translates into representation.
Read also: Why hiring a sample of respondents is essential for companies
