Glossary

Survey margin of error

What is the margin of error?

The margin of error is a statistical measure that quantifies the uncertainty inherent in a survey, or in any estimate based on a sample, the sample itself being drawn from an initial target group called the population.

It shows how far the results of a survey can be expected to reflect the opinion of the whole population studied.

The margin of error is usually expressed through a confidence interval: the survey result plus or minus the margin gives a range that probably contains the true percentage or mean, at a stated level of confidence. For example, if a survey shows that 60% of respondents hold a certain opinion, with a margin of error of plus or minus 3 percentage points, the true proportion in the whole population probably lies between 57% and 63%.

The margin of error depends on several factors, such as the sample size, the chosen confidence level and the variability of the answers. Note that it does not measure the absolute accuracy of the estimate, but the statistical uncertainty attached to it. A narrower margin of error indicates a more precise estimate; a wider one indicates a less precise estimate.

How to calculate the margin of error

The formula for the margin of error of a survey uses three variables:

  • the sample size (n): the number of people surveyed from your initial population;
  • the standard deviation of the population (σ);
  • the z-score (z).

The margin of error reflects how much certainty can be attached to a survey result. As a rule, it lies between 1% and 10%, most commonly around 5%. A margin above 10% is not advisable.

Calculating the standard deviation of a population

The standard deviation is a statistical measure that describes how widely the data are spread around the mean of a population, and so shows whether the population's profile is concentrated around its centre:

  1. Step 1: calculate the arithmetic mean of the population (μ) by adding up all the values and dividing by the total number of values (N).
  2. Step 2: for each value, subtract the mean and square the result, then add up these squared deviations from the mean.
  3. Step 3: divide this sum by the total number of values in the population, then take the square root of the result.

In other words: σ = √( Σ (xᵢ − μ)² ÷ N )

For a result expressed as a proportion p (60% in the example above), the standard deviation is σ = √( p × (1 − p) ).

The standard deviation is expressed in the same unit as the original data, which makes the spread of values around the mean easier to grasp.

It is an important measure in statistics, because it quantifies the variability of the data and indicates how precise the results are. The higher the standard deviation, the more widely the data are spread around the mean and the less precise the measurement. A low standard deviation, by contrast, indicates limited spread and therefore more precise results.

Calculating the z-score

The z-score is the number of standard deviations by which a raw value lies above or below the mean of the population.

It is calculated by subtracting the mean (μ) from the observation (X), then dividing the result by the standard deviation (σ): z = (X − μ) ÷ σ

The higher an observation's z-score, the further it lies from the mean. The z-score is also tied to a level of confidence, and that is the sense in which it is used to calculate the margin of error of a customer survey: for a given confidence level, it is the number of standard deviations either side of the mean that contains that share of a normal distribution.

For example, a z-score of 1.96 corresponds to a 95% confidence level: in a normal distribution, 95% of values lie within 1.96 standard deviations of the mean (roughly two). A z-score of 2.58 corresponds to a 99% confidence level.

The z-score is therefore an important measure of how far an observation lies from the mean and of the confidence attached to it, but it is only meaningful if the data follow a normal distribution. If they do not, other statistical methods may be needed to assess an observation's distance from the mean and the confidence attached to it.

To make things easier, the table below gives the z-score for the most common confidence levels (a 95% confidence level is the usual choice).

Confidence levelz-score
80%1.28
85%1.44
90%1.65
95%1.96
99%2.58

Calculating the margin of error

Once you have the standard deviation and the z-score, you can calculate the margin of error.

As a reminder, a survey's margin of error does not reflect how true the results are: it quantifies the uncertainty attached to a statistical estimate. In other words, it shows how far the results of a study may differ from reality.

The larger the sample, the smaller the margin of error, because the statistical estimates are more precise.

The margin of error (M) is obtained by:

  1. dividing the standard deviation (σ) by the square root of the sample size (n);
  2. then multiplying the result by the z-score (z).

M = z × σ ÷ √n

Learn more

How does the margin of error affect sample size?

The margin of error plays a crucial role in setting the sample size, because it is closely linked to the level of confidence you want in the results: it measures how large the possible statistical fluctuations are between the sample and the whole population.

The larger the margin of error you can accept, the smaller the sample can be. The margin of error can never be eliminated completely, however, because it is inherent in any sampling process.

To reduce the margin of error, you need to increase the sample size: this reduces random variation and gives more precise estimates of the characteristics of the population studied.

For example, with a 95% confidence level, you might set the margin of error at ±3 percentage points. If the sample is large enough, this means there is a 95% chance that the result, plus or minus 3 points, contains the true value for the whole population. If you want a margin of error of ±1 point at the same confidence level, you need a much larger sample. Raising the confidence level (to 99%, for example) also increases the sample size required.

The impact of the margin of error on sample size therefore depends directly on the level of confidence and the precision you want. Thinking these parameters through carefully lets you set the optimal sample size, and reach conclusions that are valid and representative of the population studied.

The consequences of a high margin of error in a survey

A high margin of error in a survey can have several consequences.

First, it calls the reliability of the results into question: a high margin of error means the estimates may be far from reality, so decisions based on them risk being wrong. It can also damage credibility: the customers surveyed may doubt the competence and rigour of the team running the study. Finally, a high margin of error can influence respondents' behaviour: knowing that their answers may vary considerably, people may be less inclined to give sincere or precise answers, which can bias the results and distort the interpretation of the data.

The different sources of error in a survey

A survey is a valuable tool for gathering the opinions and preferences of a group of people, but it can contain several sources of error.

The first comes from the sample. The margin of error measures random sampling error; but if the sample of people surveyed is not representative of the target population (selection bias), the survey results cannot be generalised, whatever the margin of error. For example, a survey on political preferences carried out only among older people will not give a complete picture of the opinions of the population as a whole.

Next comes non-response error. Some people decide not to take part in a survey, which can bias the results. For example, if customers who are unhappy with a product are less likely to answer a satisfaction survey, the results will be skewed in the product's favour.

Then there is question wording error. If the questions in a survey are ambiguous, badly worded or leading, they can influence participants' answers and lead to unreliable results.

Finally, there is interviewer error. The interviewer's attitude, tone of voice or prejudices can unconsciously influence participants' answers, so interviewers must be trained to stay neutral and impartial when collecting data.

How to minimise survey error and get reliable results

To get reliable results from a survey, you need to minimise every possible source of error.

First, make sure the sample is representative of the population studied: select participants at random, avoiding any selection bias. It is also important to use appropriate data collection methods.

Questions must be clear, unambiguous and unbiased, to obtain accurate and genuine answers. It is also crucial that the survey itself does not influence participants: keep the questions neutral, and take a neutral approach throughout data collection.

A high response rate matters just as much, because a low response rate can bias the results. Incentives can be used to encourage people to take part. This applies to private surveys only: an incentive must never be offered in exchange for a public online review.

Finally, process and analyse the data collected from your surveys with statistical rigour, to make sure the results are reliable. By removing potential errors at every stage of the survey process, you can obtain precise, reliable results.

Learn more

Further reading

Author

Sébastien Neveu

Sébastien Neveu

Head of Marketing

Related articles

On the same topic

Keep reading with articles from our blog on this topic.

All articles

A question about your customer listening set-up?

Talk to a Wizville expert and see what the platform changes across your network.

  • A reading of your network, location by location
  • The satisfaction drivers that weigh most on your sales
  • A feedback collection set-up suited to your customer journeys

Request a demo

Your data remains confidential and is never shared.