
The margin of error is a statistic expressing the amount of random
sampling error
In statistics, sampling errors are incurred when the statistical characteristics of a population are estimated from a subset, or sample, of that population. Since the sample does not include all members of the population, statistics of the sample ...
in the results of a
survey. The larger the margin of error, the less confidence one should have that a poll result would reflect the result of a simultaneous census of the entire
population
Population is a set of humans or other organisms in a given region or area. Governments conduct a census to quantify the resident population size within a given jurisdiction. The term is also applied to non-human animals, microorganisms, and pl ...
. The margin of error will be positive whenever a population is incompletely sampled and the outcome measure has positive
variance
In probability theory and statistics, variance is the expected value of the squared deviation from the mean of a random variable. The standard deviation (SD) is obtained as the square root of the variance. Variance is a measure of dispersion ...
, which is to say, whenever the measure ''varies''.
The term ''margin of error'' is often used in non-survey contexts to indicate
observational error
Observational error (or measurement error) is the difference between a measured value of a quantity and its unknown true value.Dodge, Y. (2003) ''The Oxford Dictionary of Statistical Terms'', OUP. Such errors are inherent in the measurement ...
in reporting measured quantities.
Concept
Consider a simple ''yes/no'' poll
as a sample of
respondents drawn from a population
reporting the percentage
of ''yes'' responses. We would like to know how close
is to the true result of a survey of the entire population
, without having to conduct one. If, hypothetically, we were to conduct a poll
over subsequent samples of
respondents (newly drawn from
), we would expect those subsequent results
to be normally distributed about
, the true but unknown percentage of the population. The ''margin of error'' describes the distance within which a specified percentage of these results is expected to vary from
.
Going by the
Central limit theorem
In probability theory, the central limit theorem (CLT) states that, under appropriate conditions, the Probability distribution, distribution of a normalized version of the sample mean converges to a Normal distribution#Standard normal distributi ...
, the margin of error helps to explain how the distribution of sample means (or percentage of yes, in this case) will approximate a normal distribution as sample size increases. If this applies, it would speak about the sampling being unbiased, but not about the inherent distribution of the data.
According to the
68-95-99.7 rule, we would expect that 95% of the results
will fall within ''about'' two
standard deviation
In statistics, the standard deviation is a measure of the amount of variation of the values of a variable about its Expected value, mean. A low standard Deviation (statistics), deviation indicates that the values tend to be close to the mean ( ...
s (
) either side of the true mean
. This interval is called the
confidence interval, and the ''radius'' (half the interval) is called the ''margin of error'', corresponding to a 95% ''confidence level''.
Generally, at a confidence level
, a sample sized
of a population having expected standard deviation
has a margin of error
:
where
denotes the ''quantile'' (also, commonly, a ''
z-score
In statistics, the standard score or ''z''-score is the number of standard deviations by which the value of a raw score (i.e., an observed value or data point) is above or below the mean value of what is being observed or measured. Raw scores ...
''), and
is the
standard error
The standard error (SE) of a statistic (usually an estimator of a parameter, like the average or mean) is the standard deviation of its sampling distribution or an estimate of that standard deviation. In other words, it is the standard deviati ...
.
Standard deviation and standard error
We would expect the average of normally distributed values
to have a standard deviation which somehow varies with
. The smaller
, the wider the margin. This is called the standard error
.
For the single result from our survey, we ''assume'' that
, and that ''all'' subsequent results
together would have a variance
.
:
Note that
corresponds to the variance of a
Bernoulli distribution
In probability theory and statistics, the Bernoulli distribution, named after Swiss mathematician Jacob Bernoulli, is the discrete probability distribution of a random variable which takes the value 1 with probability p and the value 0 with pro ...
.
Maximum margin of error at different confidence levels

For a confidence ''level''
, there is a corresponding confidence ''interval'' about the mean
, that is, the interval