Margin Of Error Calculator

Calculate the margin of error for a survey or experiment given sample size, population proportion, and confidence level.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

How to Use the Margin of Error Calculator

This calculator computes the margin of error (MOE) for a survey or experiment using the formula: MOE = z × √(p̂(1-p̂)/n).

  1. Enter Sample Size (n) – The number of respondents or observations (must be ≥ 1).
  2. Enter Population Proportion (p̂) – The estimated proportion of the population (a decimal between 0 and 1). Default is 0.5 (50%), which gives the largest margin of error.
  3. Select Confidence Level – Choose 90%, 95% (default), or 99%. This sets the z-score automatically.
  4. Click "Calculate" – The margin of error appears as a percentage (e.g., ±3.45%). The formula with your inputs is shown below the result.

Tip: Use p̂ = 0.5 when you don’t have a prior estimate—it yields the most conservative (largest) margin of error.

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

Margin of error is a statistic expressing the amount of random sampling error in a survey's results. It represents the range within which the true population parameter is expected to fall.

The formula is MOE = z * sqrt( p̂(1-p̂) / n ), where z is the z-score corresponding to the confidence level, p̂ is the sample proportion, and n is the sample size.

This calculator supports 90% (z=1.645), 95% (z=1.96), and 99% (z=2.576) confidence levels.

Reviewed by Experts

Eurico José Kiala

Eurico José Kiala

Mathematician

Teacher

LinkedIn
João Lino

João Lino

Mathematician

LinkedIn
Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0