Margin of Error Calculator

This margin of error calculator tells you how far a survey or poll result might sit from the true population value, expressed as a plus or minus percentage. You enter the sample proportion, such as the share of people who answered yes, the sample size and the confidence level, and the tool returns the margin of error. The formula multiplies the z multiplier for your confidence level by the square root of the proportion times one minus the proportion, divided by the sample size. A 95 percent level uses a z value of about 1.96, a 90 percent level uses 1.645 and a 99 percent level uses 2.576. Pollsters, market researchers, students and anyone reading survey headlines use this figure to judge how reliable a result is. A result of 52 percent with a margin of error of 3 percent really means the true value is likely between 49 and 55 percent, which matters a lot when two options are close. Three tips help you use it well. First, the margin of error is largest when the proportion is near 50 percent, so using 0.5 gives the most cautious, conservative estimate when you are planning a sample size. Second, quadrupling the sample size only halves the margin of error, because the sample size sits under a square root, so chasing a tiny margin gets expensive fast. Third, this figure only captures sampling error, not bias from poor question wording, non response or an unrepresentative sample, so a small margin of error does not guarantee an accurate survey. Always report the margin of error and confidence level alongside any headline percentage.

3.10%
Margin of error
Plus or minus+/- 3.10%
At proportion50.0%

MoE = z * sqrt(p(1-p)/n). Estimate only, not financial or tax advice.

How it works

The tool takes the proportion times one minus the proportion, divides by the sample size and takes the square root to get the standard error. It then multiplies that standard error by the z multiplier for your confidence level. The result is shown as a percentage.

Worked example

With a proportion of 0.5, a sample of 1,000 and 95 percent confidence, p times one minus p is 0.25. Dividing by 1,000 gives 0.00025, and the square root is about 0.01581. Multiplying by 1.96 gives 0.0310, or a margin of error of 3.10 percent.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.