Sampling Error Calculator

Calculate sampling error (standard error and margin of error) for proportions and means. Includes finite population correction, error decomposition, and sample size comparison.

Sampling Error Calculator

Standard Error
0.015799
Standard deviation of the sampling distribution
Margin of Error
±3.10%
At 95% confidence
Without FPC
0.015799
SE before finite population correction
FPC Factor
Not applied
No population specified
Critical z
1.9604
For 95% confidence
Sampling Fraction
N/A
No population size

Error Components

ComponentValueExplanation
p(1−p)0.249600Proportion variability (max at p=0.5)
1/n0.001000Sample size reduction factor
Variance = p(1−p)/n0.00024960Sampling variance before FPC
FPC1.000000Finite population correction
Final SE0.015799√(variance) × FPC

How Sampling Error Changes with n

Sample SizeSEMOE (95%)
100.157987±30.97%
250.099920±19.59%
500.070654±13.85%
1000.049960±9.79%
2500.031597±6.19%
5000.022343±4.38%
1,0000.015799±3.10%
2,5000.009992±1.96%
5,0000.007065±1.39%

Visual: SE by Sample Size

n=10
0.15799
n=25
0.09992
n=50
0.07065
n=100
0.04996
n=250
0.03160
n=500
0.02234
n=1000
0.01580
n=2500
0.00999
n=5000
0.00707
Planning notes, formulas, and examples

About the Sampling Error Calculator

Sampling error is the natural variability that occurs when you estimate a population parameter using a sample. Even with perfect random sampling, different samples yield slightly different results. The sampling error quantifies this unavoidable uncertainty and is the foundation of all inferential statistics.

This calculator computes the standard error and margin of error for both proportions (survey percentages) and means (continuous measurements). It breaks down the error components, applies finite population correction when appropriate, and shows how the error changes with different sample sizes.

Understanding sampling error is crucial for survey research (polling accuracy), quality control (measurement precision), scientific experiments (result reliability), and any context where sample data is used to make population-level conclusions. It is especially useful when you need to explain how much uncertainty comes from sampling alone rather than from measurement or model assumptions. That makes the output easier to defend in reports where precision is part of the decision.

When This Page Helps

Sampling error is often confused with margin of error or total survey error. This calculator clarifies the distinction, shows exactly how each component contributes, and demonstrates the relationship between sample size and precision. The visual comparison makes trade-offs immediately clear. It is useful when you need to justify whether a sample is precise enough for the decision you want to make.

How to Use the Inputs

  1. Select whether you're estimating a proportion or a mean.
  2. Enter the sample statistic (proportion or mean and standard deviation).
  3. Enter the sample size.
  4. Optionally enter the population size for finite population correction.
  5. Set the confidence level for the margin of error.
  6. Review the standard error, margin of error, and error components.
  7. Examine how the error decreases with larger sample sizes.
Formula used
Standard Error of Proportion: SE = √(p̂(1−p̂)/n) Standard Error of Mean: SE = s / √n Finite Population Correction: SE_adj = SE × √((N−n)/(N−1)) Margin of Error: MOE = z* × SE Sampling Error decreases as: SE ∝ 1/√n (inverse square root law)

Example Calculation

Result: SE = 0.0158, MOE = ±3.10%

With a sample proportion of 0.52 from n = 1,000, the standard error is 0.0158. At 95% confidence (z* = 1.96), the margin of error is ±3.1%. The true proportion is likely between 48.9% and 55.1%. The FPC is not applied because no population size was specified.

Tips & Best Practices

  • Sampling error is ONLY about random variability from sampling. It does NOT include bias, non-response, or measurement error.
  • SE halves when you quadruple n. Doubling precision requires 4× the sample size — an important cost consideration.
  • Finite population correction is negligible when n < 5% of N. It matters for small populations or large sampling fractions.
  • For proportions, SE is maximized at p = 0.5 (maximum uncertainty) and minimized near p = 0 or p = 1.
  • In practice, total survey error (including non-sampling errors) is usually much larger than sampling error alone.
  • Always report the sampling error or margin of error alongside your point estimate.

Anatomy of Sampling Error

Sampling error arises because a sample is only a subset of the population. Different random samples yield different statistics: different proportions, means, and variances. The standard error quantifies the typical size of this variation. Larger samples capture more of the population's diversity and produce more stable estimates.

Sampling Error vs Total Survey Error

The total error framework in survey methodology identifies: coverage error (who can be sampled), sampling error (who is sampled), non-response error (who responds), and measurement error (accuracy of responses). Sampling error is often the smallest contributor. Media reports of "margin of error" actually refer only to sampling error, understating true uncertainty.

Practical Sample Size Planning

When planning a study, work backward from the desired precision: choose your acceptable margin of error, set the confidence level, estimate the population variability, and solve for n. Add 10-20% for expected non-response. The diminishing returns of larger samples mean there's usually a practical maximum beyond which additional data isn't cost-effective.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Sampling error is the natural variability from using a sample instead of a census. Non-sampling errors include measurement error, non-response bias, coverage error, and processing mistakes. Sampling error decreases with larger samples; non-sampling errors may not.