Survey Sample Size Calculator

Offline — showing the version cached on .

Show all explainers, focus on one, or collapse them. You can also open or close each section directly.

Results

Completed responses you need is 383. That requirement before rounding up is 382.68. People to select, before rounding up is 382.68. People to select or invite is 383.

Completed responses you need
That requirement before rounding up
People to select, before rounding up
People to select or invite
Find
Did this solve your problem?

How to use this calculator

  1. Choose What are you estimating?
    Choose 'A percentage' if you are estimating a share of people who answer a certain way, or 'An average' if you are estimating a quantity like spending, hours or a score.
  2. Enter Confidence level — any level; ninety-five percent is the usual choice
    Enter the confidence level as a percentage between 50 and 99.99; ninety-five percent is the usual choice for most surveys.
  3. Enter Margin of error you can accept, in percentage points
    Enter the margin of error in percentage points you can accept for a percentage estimate, between 0.01 and 50; a smaller number needs a larger sample.
  4. Enter Percentage you expect to find, if you have an idea (fifty is the safe choice)
    Enter the percentage you expect to find, between 0.01 and 99.99; if you have no prior estimate, fifty is the safe choice because it needs the largest sample.
  5. Enter Margin of error you can accept, in the units you are measuring in
    Enter the margin of error you can accept in the units you are measuring, between 0.000001 and 1,000,000, for an average estimate.
  6. Enter Standard deviation you expect, in the same units
    Enter the standard deviation you expect in the same units as your average, between 0.000001 and 1,000,000; a previous study or pilot survey is the usual source for this figure.
  7. Enter Population size — how many people the survey is about
    Enter how many people the survey is about, between 1 and 100,000,000,000; this adjustment matters most when the population is small or medium sized.
  8. Enter Response rate you expect
    Enter the response rate you expect as a percentage between 1 and 100; a lower response rate means more people must be invited to reach the same number of completed responses.
  9. Read People to select or invite

People to select or invite () vs Confidence level — any level; ninety-five percent is the usual choice (%)

1492465099.99

People to select or invite () Confidence level — any level; ninety-five percent is the usual choice (%)

What this calculates

A survey's sample size is the number of respondents you select for the sample, adjusted for the expected response rate. This number lets you reach a chosen level of precision. Precision and sample size are linked. As sample size grows, sampling variance falls. So a smaller margin of error needs more completed responses. 1

How precise a survey needs to be depends on its purpose. For example, a national survey sponsor might accept a margin of error of only 3% for national estimates. They might accept 5% for provincial estimates. They might accept 10% for subprovincial estimates. This calculator takes your confidence level and margin of error. It also uses your population and response rate, where relevant. It turns these into the sample size that matches. 1

What a calculated sample size does and does not cover

Sample size determination controls for sampling error. It also controls for nonresponse that happens at random. It does not control for other nonsampling errors. A calculated sample size is a plan for sampling and expected nonresponse in a survey. It is not a guarantee against every kind of error. 1

How the formula builds a sample size

The formula needs four things. These are a target margin of error, a confidence level, an estimate of variability, and the size of the population. The confidence level sets a value called z. This value is used throughout the formula. For a percentage, the variability estimate is Pˆ times one minus Pˆ. Here, Pˆ is the percentage you expect to find. Finding the sample size also requires knowing the size of the population. 1

The calculation runs in stages. First, you find an initial sample size from the margin of error and variability. Then you adjust it for the size of the population. Next, you adjust it for the design effect. Then you adjust it for the expected response rate. The formula for that initial sample size also holds when you give both the margin of error and the expected percentage in percentage points. 1

Adjusting for the size of the population

First, you find the initial sample size. Then you adjust it down using the population size. To get the adjusted figure, multiply the initial sample size by the population. Then divide that by the population plus the initial sample size. This adjustment matters a lot for small populations. It matters somewhat for medium-size populations. It matters only a little for large populations. 1

For very small populations, you often must survey a large share of the population. This lets you reach the precision you want. This is why, in practice, people sometimes conduct censuses for small populations. 1

Confidence level, margin of error and the z-score

Consider a survey that found 15% of Ottawa residents attend religious services every week. That estimate came from a sample of 1,345 residents. It was considered accurate within plus or minus three percentage points, 19 times out of 20. This margin of error of three points gives a confidence interval of 12% to 18%. It means the true percentage is likely within three points of the 15% estimate. 2

The confidence level you choose sets the z used in the formula. A 90% confidence level corresponds to a z of 1.65. A 95% confidence level corresponds to a z of 1.96. A 99% confidence level corresponds to a z of 2.58. 2

Choosing the percentage or standard deviation you expect

When you estimate a percentage, a 50-50 split gives the most variability in the population. If you have no advance knowledge of that variability, it is often best to assume the greatest variability. For a variable with two possible values, you then assume a 50-50 split. If you have a good estimate of the percentage, use it instead. Assuming a 50-50 split when nothing is known gives the largest sample size, given the other assumptions. 1

You need an estimate of variability before you can calculate sample size. The true variability is usually not known in advance. This estimate can be a percentage or a standard deviation. It can come from a past study on the same subject or from a pilot survey. This input is often the hardest one to get. People usually estimate it using past studies of a similar population. 1

Why you invite more people than you need responses

To reach your target number of completed responses, you must adjust the initial sample size for the response rate you expect. Not everyone you invite will respond. For example, an initial sample size of 400 with an expected response rate of 75% needs a selected sample of 400 divided by .75. That equals 533 people to invite. A lower expected response rate means more people must be invited for the same number of completed responses. 1

Simply increasing the sample size does not fix nonresponse on its own. Potential bias can still result if the people who do not respond differ from those who do, with respect to what the survey measures. Dealing with nonresponse well means paying attention to who is not responding, not just how many. 1

Design effect for more complex sample designs

The formula on this page assumes a simple random sample. In this case, the design effect, called deff, equals 1. When the actual design is more complex than a simple random sample, you should multiply the required sample size by the design effect. For a highly clustered design, that design effect may be as high as 6 or 7. In some cases, a design effect of at least 2 might be used. 1

Balancing precision against your resources

A smaller margin of error always needs a larger sample size; it is not free. A margin of error of .05 can seem large next to an estimate expected to be around .05. In that case, a smaller margin of error, perhaps no greater than .01 or .02, should be specified instead. The best solution is not always the largest sample size that yields the smallest margin of error. Sometimes accepting a larger margin of error and using resources more efficiently gives suitably accurate results. 1

A worked example

Percentage survey — population of 2,500: Completed responses you need 93

See inputs and calculation

Starting values

What are you estimating?
A percentage — the share of people who answer a certain way
Confidence level — any level; ninety-five percent is the usual choice
95 %
Margin of error you can accept, in percentage points
10 %
Percentage you expect to find, if you have an idea (fifty is the safe choice)
50 %
Population size — how many people the survey is about
2500
Response rate you expect
65 %
    1. Completed responses you need: 93
      Show arithmetic
      ceil(normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 * 2500 / (2500 + normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2))
      Full branch logicceil((0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2) * 2500 / (2500 + (0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2)))
    2. That requirement before rounding up: 92.48
      Show arithmetic
      normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 * 2500 / (2500 + normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2)
      Full branch logic(0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2) * 2500 / (2500 + (0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2))
    3. People to select, before rounding up: 142.28
      Show arithmetic
      normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 * 2500 / (2500 + normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2) / (65 / 100)
      Full branch logic(0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2) * 2500 / (2500 + (0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2)) / (65 / 100)
    4. People to select or invite: 143
      Show arithmetic
      ceil(normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 * 2500 / (2500 + normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2) / (65 / 100))
      Full branch logicceil((0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2) * 2500 / (2500 + (0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (10 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2)) / (65 / 100))
    Original example and source context

    Here is a worked example. Say you want to estimate a percentage. You choose a 95% confidence level. You want a margin of error of 10 percentage points. You expect the percentage to be 50%. The population is 2,500 people. You expect a response rate of 65%. The formula gives an initial sample size of 96. This number is adjusted down to 92 for the population size. Round that up to 93 completed responses. The number is then adjusted up to 142 for the expected response rate. Round that up to 143 people to invite. 1

    The same steps work when you estimate an average instead of a percentage. Examples include spending, hours, or a score. In that case, you use an estimate of the standard deviation instead of the expected percentage. The standard deviation shows how spread out the values are. The rest of the calculation stays the same. 1

    Size your sample around how you'll use the data

    Decide first what you'll do with each number before you decide how precise it needs to be. A sponsor of a national survey might need a margin of error of only ±3% for national estimates, but be fine with ±5% for provincial estimates and ±10% for subprovincial ones. 1

    Also check your margin of error against the size of the number you expect. A margin of error of ±.05 looks tight until you realize the estimate itself is expected to land around .05 — then it's actually huge. In a case like that, aim for something no larger than ±.01 or ±.02 instead. 1

    What a statistic from your sample actually is

    A percentage or an average from your sample is an estimate, not a fixed fact. It carries sampling variance: the amount it would shift if you drew the sample again. Precision and sample size are tied together for this reason — sampling variance shrinks as sample size grows, so tighter precision calls for a bigger sample. 1

    The standard error of that estimate is just the square root of its sampling variance. It's the quantity sitting underneath every margin of error you calculate. 2

    Mistakes worth avoiding

    Don't expect doubling your sample to halve your margin of error. The relationship isn't a straight line: going from a sample of 50 to a sample of 100 only tightens the margin of error on a proportion estimate from ±.139 to ±.098, not down to ±.070. 1

    Don't assume a bigger sample fixes nonresponse on its own. Simply increasing your sample size is inadequate to deal with total nonresponse — if the people who don't respond differ from the people who do on what you're measuring, that bias stays no matter how many extra people you invite. 1

    Questions people still ask

    What does '±3 percentage points, 19 times out of 20' actually mean? Picture a survey of 1,345 residents finding that 15% attend religious services every week. The three points are the margin of error, and 12% to 18% is the confidence interval built from it. The '19 times out of 20' is the confidence statement — how often you'd expect that kind of interval to cover the true value if you ran the survey over and over. 2

    Is a margin of error the same thing as a confidence interval? No. The margin of error is the plus-or-minus figure on its own; the confidence interval is the full range you get once you apply that figure to your estimate. 2

    Terms you won't find here

    What it does say is that precision and sample size move together: the more precise you need your estimate to be, the larger the sample size you need. 1

    This page's formulas are described as covering an estimated average or a proportion. 1

    When you're estimating a mean, not a percentage

    Everything above still applies if you're after a mean instead of a percentage. The same sample size formulas work for an estimated average just as they do for an estimated proportion. 1

    You still need to plug in an estimate of the population's variability before you can solve for n. The true variability is rarely known ahead of time, so get an estimate from a previous study on the same subject, or from a pilot survey. 1

    This is often the hardest input to pin down. It's usually approximated by looking at previous studies of a similar population. 1

    What this page leaves out: other nonsampling errors

    Here's what does bear on it: sample size math is built to control for sampling error, and for nonresponse that happens randomly. It is not built to control for other nonsampling errors. 1

    Simply increasing the sample size does not adequately deal with nonresponse, since bias could remain if nonrespondents differ from respondents. 1

    Key facts

    • At a 90% confidence level, a 1% margin of error, an expected 10% split, a population of 2,500, and a 65% response rate, the calculator asks for 1,234 completed responses and 1,898 invitations. 1
    • Raising the confidence level from 90% to 99%, with a 5% margin of error, a 50% expected split, a population of 100,000, and a 65% response rate, raises the requirement from 270 to about 660 completed responses, and from 416 to about 1,015 invitations. 1
    • For an average estimate with a 0.5 margin of error, a standard deviation of 5, and a 90% confidence level, growing the population from 2,500 to 10,000,000 only raises the completed-response requirement from 245 to 271. 1
    • For that same average estimate with a population of 2,500 and a 90% confidence level, raising the expected response rate from 65% to 100% leaves the completed-response requirement at 245 but cuts the invitations needed from 376 to 245. 1

    How this is calculated

    First estimate the sample needed for your chosen precision. Adjust for population size, then round up. The invitation estimate also allows for the expected response rate.

    Completed responses you need

    ceil(N0 × N ÷ (N + N0))
    • N0 = Initial sample requirement
    • N = Population size
    • ceil = rounded up to the next whole number
    Understand each part

    These names are shorthand for the exact calculations below, not different formulas.

    1. Initial sample requirement (N0)

      Use the percentage or average formula you selected, before the population adjustment.

      See the definition of N0Z ^ 2 * expected_percentage / 100 * (1 - expected_percentage / 100) / (margin_of_error / 100) ^ 2
    2. Confidence multiplier (Z)

      The standard normal quantile for the chosen two-sided confidence level; this is what normal_ppf computes.

      See the definition of Znormal_ppf((1 + confidence_level / 100) / 2)
    3. Population size (N)

      The number of people the survey is about.

      See the definition of Npopulation_size
    Follow the calculation with your values
    1. Completed responses you need: 383
      Show arithmetic
      ceil(normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 * 100000 / (100000 + normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2))
      Full branch logicceil((0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2) * 100000 / (100000 + (0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2)))
    2. That requirement before rounding up: 382.68
      Show arithmetic
      normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 * 100000 / (100000 + normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2)
      Full branch logic(0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2) * 100000 / (100000 + (0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2))
    3. People to select, before rounding up: 382.68
      Show arithmetic
      normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 * 100000 / (100000 + normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2) / (100 / 100)
      Full branch logic(0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2) * 100000 / (100000 + (0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2)) / (100 / 100)
    4. People to select or invite: 383
      Show arithmetic
      ceil(normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 * 100000 / (100000 + normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2) / (100 / 100))
      Full branch logicceil((0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2) * 100000 / (100000 + (0 == 0 ? normal_ppf((1 + 95 / 100) / 2) ^ 2 * 50 / 100 * (1 - 50 / 100) / (5 / 100) ^ 2 : normal_ppf((1 + 95 / 100) / 2) ^ 2 * 10 ^ 2 / 2 ^ 2)) / (100 / 100))
    Full formulas, symbols and sources

    responses_needed = ceil(normal_ppf((1 + confidence_level / 100) / 2) ^ 2 * expected_percentage / 100 * (1 - expected_percentage / 100) / (margin_of_error / 100) ^ 2 * population_size / (population_size + normal_ppf((1 + confidence_level / 100) / 2) ^ 2 * expected_percentage / 100 * (1 - expected_percentage / 100) / (margin_of_error / 100) ^ 2))

    A percentage — the share of people who answer a certain way

    responses_needed = ceil(normal_ppf((1 + confidence_level / 100) / 2) ^ 2 * expected_percentage / 100 * (1 - expected_percentage / 100) / (margin_of_error / 100) ^ 2 * population_size / (population_size + normal_ppf((1 + confidence_level / 100) / 2) ^ 2 * expected_percentage / 100 * (1 - expected_percentage / 100) / (margin_of_error / 100) ^ 2))

    An average — a quantity such as spending, hours or a score

    responses_needed = ceil(normal_ppf((1 + confidence_level / 100) / 2) ^ 2 * standard_deviation ^ 2 / margin_of_error_average ^ 2 * population_size / (population_size + normal_ppf((1 + confidence_level / 100) / 2) ^ 2 * standard_deviation ^ 2 / margin_of_error_average ^ 2))

    That requirement before rounding up

    responses_needed_exact = normal_ppf((1 + confidence_level / 100) / 2) ^ 2 * expected_percentage / 100 * (1 - expected_percentage / 100) / (margin_of_error / 100) ^ 2 * population_size / (population_size + normal_ppf((1 + confidence_level / 100) / 2) ^ 2 * expected_percentage / 100 * (1 - expected_percentage / 100) / (margin_of_error / 100) ^ 2)

    People to select, before rounding up

    people_to_invite_exact = responses_needed_exact / (response_rate / 100)

    People to select or invite

    people_to_invite = ceil(people_to_invite_exact)

    estimate_type
    What are you estimating?: 0 = A percentage — the share of people who answer a certain way, 1 = An average — a quantity such as spending, hours or a score
    confidence_level
    Confidence level — any level; ninety-five percent is the usual choice (%)
    margin_of_error
    Margin of error you can accept, in percentage points (%)
    expected_percentage
    Percentage you expect to find, if you have an idea (fifty is the safe choice) (%)
    margin_of_error_average
    Margin of error you can accept, in the units you are measuring in ()
    standard_deviation
    Standard deviation you expect, in the same units ()
    population_size
    Population size — how many people the survey is about ()
    response_rate
    Response rate you expect (%)
    responses_needed
    Completed responses you need
    responses_needed_exact
    That requirement before rounding up
    people_to_invite_exact
    People to select, before rounding up
    people_to_invite
    People to select or invite
    ceil
    rounded up to the next whole number
    normal_ppf
    the standard normal value with this probability at or below it

      Frequently asked questions

      What is a good sample size for a survey?
      The formulas on this page calculate the sample size you need. This size gives you a chosen level of precision for an average or a proportion. A good sample size matches the confidence level, margin of error, and variability you enter. It is not one fixed number that works for every survey. 1
      What sample size is too small?
      There is not a linear relationship between sample size and margin of error. So there is no single number that always counts as too small. Whether a sample size is too small depends on whether the resulting margin of error fits how the estimate will be used. 1
      What happens if the sample size is too small?
      When a sample size doubles from 50 to 100, the margin of error improves only from ±.139 to ±.098, not all the way to ±.070. A sample that is too small leaves you with a wide margin of error. That means a wide range around your estimate where the true value could fall. 1
      How does sample size affect the confidence interval?
      A wider confidence interval goes with a larger margin of error, and margin of error is one of the inputs used to size a sample. A smaller margin of error always needs more completed responses. Accepting a wider confidence interval needs fewer. 1
      What confidence level should I choose?
      A confidence level describes how often the confidence interval would cover the true population value if the survey were repeated many times. At a 95% confidence level, that would happen 19 times out of 20. Choose the confidence level that matches how sure you need to be. 2
      What is margin of error in a sample size calculation?
      A margin of error always comes with a confidence statement. This states how much comfort you feel about the interval around your estimate. For a percentage, you enter the margin of error in percentage points. For an average, you enter it in your own units. 2
      Does sample size depend on population size?
      First, you find an initial sample size. Then you adjust it using the population size. If the initial sample size is tiny compared to the population, the population adjustment is about equal to the initial sample size. In other words, population size matters much less once it is far bigger than the sample. 1
      What is a z-score?
      In the formula, z depends on the level of confidence. It is one of several related terms used to describe precision. The others are the margin of error and the standard error. You can move from one of these terms to another using simple math. The standard error of an estimator is the square root of its sampling variance. 2

      Limitations & common mistakes

      • The confidence level, margin of error, expected percentage, standard deviation, population size, and response rate you enter must fall within this page's own accepted ranges — confidence level 50% to 99.99%, percentage margin of error 0.01% to 50%, expected percentage 0.01% to 99.99%, margin of error and standard deviation for an average 0.000001 to 1,000,000, population size 1 to 100,000,000,000, and response rate 1% to 100% — and outside them the page refuses to answer and states the limit.
      • The formula assumes a simple random sample with a design effect of 1; it does not add the extra sample size that a more complex, clustered sample design would need.
      • This calculator adjusts for sampling error and for nonresponse that occurs at random, and nothing beyond that. Other kinds of nonsampling error fall outside what the calculation addresses. 1
      • The results are computed only from the numbers you enter, so they are only as accurate as those numbers, and they are not a substitute for a measurement taken on site or for a professional's judgement where one is required.
      • The population-size adjustment matters most for small and medium populations and only slightly changes the required sample size for very large ones.

      Formula, sources, and review

      This calculation follows the formula published on this page and rests on 2 cited sources, listed under Sources below. Last checked .

      How we review

      Sources & methodology

      ConstantValueUnitSource
      survey_sample_size_calculator_c11001
      survey_sample_size_calculator_c221

      Sources