Margin of Error Calculator

Mean • Proportion • Confidence level

Settings

Pick Mean when you know population std dev (σ). Pick Proportion for surveys/yes-no outcomes.
CL
z
If you choose a confidence level, z auto-fills. Choose “Custom z” to type your own.
Quick summary
Enter inputs to compute margin of error.

Inputs

Must be a positive number.
Used only in Mean mode.

Results

Margin of error
MoE in the same units as σ (Mean) or as a proportion (Proportion).
As percentage
%
Useful for survey results.
z used
Updating…

Action

Hard reset: cancels pending updates and clears everything on the first click.

Use this Margin of Error Calculator to estimate the plus-or-minus amount around a sample mean or proportion at a selected confidence level.

Calculation Method

For a population mean:

Margin of error = z × σ ÷ √n

For a population proportion:

Margin of error = z × √[p(1 − p) ÷ n]

A confidence interval is then written as:

Estimate ± margin of error

Example

Suppose a survey has 600 responses, uses 95% confidence, and the estimated proportion is 50%.

MoE = 1.96 × √(0.50 × 0.50 ÷ 600)

MoE ≈ 0.040, or 4.0 percentage points

If the survey estimate is 52%, the approximate confidence interval is:

52% ± 4% = 48% to 56%

Important Note

Margin of error describes sampling uncertainty under the selected formula. It does not include errors caused by biased sampling, nonresponse, poor survey questions, measurement problems, data-entry errors, or complex sampling designs.

Source

More of our calculators...

Median Calculator

Use our Median Calculator to find the middle value of any data set. Supports raw numbers, value:count input, sorted preview, and instant live results.

Mean Median Mode Calculator

Use our Mean Median Mode Calculator to find the average, median, and mode from any data set. Supports raw numbers, value:count input, and sorted preview.

Variance Calculator

Use our Variance Calculator to find sample or population variance from a data set. Get mean, variance, standard deviation, SSE, range, and sorted values fast.

Outlier Calculator (Tukey Fences)

Use our Outlier Calculator to find low and high outliers with Tukey fences and the IQR method. Get Q1, Q3, IQR, fences, counts, and sorted data fast.

Chi-Square Calculator

Use our Chi-Square Calculator to run goodness-of-fit and independence tests, or find right-tail p-values and critical χ² values from df and alpha.

Z-test Calculator

Use our Z-Test Calculator to compute z statistic, p-value, standard error, and critical z for one-sample or two-sample mean tests when sigma is known.

p-value Calculator

Use our P-value Calculator to calculate one-tailed or two-tailed p-values for Z, t, chi-square, and F test statistics.

t-statistic Calculator

Use our t-Statistic Calculator to compute the t value, degrees of freedom, and standard error for one-sample, two-sample, Welch, pooled, or paired t-tests.

Percentile Calculator

Use our Percentile Calculator to find percentile values from a data set with nearest rank or linear interpolation. Supports raw numbers and value:count input.