Home · Math · Percentages · Margin of Error Calculator
Margin of Error Calculator
The margin of error for a proportion multiplies the standard error by the z-value of the chosen confidence level (1.96 for 95%); p is entered as a decimal and the result is in percent.
What this calculator does
The margin of error for a proportion multiplies the standard error by the z-value of the chosen confidence level (1.96 for 95%); p is entered as a decimal and the result is in percent. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
The margin of error for a proportion multiplies the standard error by the z-value of the chosen confidence level (1.96 for 95%); p is entered as a decimal and the result is in percent.
Inputs use the units shown in the field labels and every denominator or total must be non-zero. The result is an arithmetic value from the stated formula only; it is not a quote, a rating or professional advice. Percent fields hold the percent number itself (6.5 means 6.5%); expressions divide by 100 wherever a fraction is needed, and percentage results are reported back as percent numbers.
Worked example
With the example inputs this page opens with (z-value for the confidence level 1.96, sample proportion (0–1) 0.5, sample size (n) 1067), the result is 3.00 — margin of error. Change any figure and the result updates with the same formula.
Quick reference
| z-value for the confidence level | Margin of error |
|---|---|
| 0.98 | 1.50 |
| 1.568 | 2.40 |
| 1.96 | 3.00 |
| 2.45 | 3.75 |
| 2.94 | 4.50 |
| 3.92 | 6.00 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Margin of Error Calculator work?
The margin of error for a proportion multiplies the standard error by the z-value of the chosen confidence level (1.96 for 95%); p is entered as a decimal and the result is in percent. Z-value for the confidence level · Sample proportion · Sample size → Margin of error. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Margin of Error Calculator need?
Z-value for the confidence level · Sample proportion · Sample size → Margin of error. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Margin of Error Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.