Sample Size Calculator

This sample size calculator tells you how many people you need to survey to estimate a proportion to a chosen accuracy. Whenever you survey a sample rather than the whole population, your results carry a margin of error, and the sample size controls how tight that margin is. You set the confidence level you want, usually 95 percent, and the margin of error you can live with, often plus or minus 5 percent, and the calculator returns the number of completed responses required. It also lets you enter the expected proportion, the share you think will answer a certain way; using 50 percent is the cautious default because it produces the largest, safest sample, so when in doubt leave it at 50. If you are surveying a small, known group, such as the staff of one company or the members of a club, you can enter the total population size to apply a finite population correction, which lowers the number of responses you actually need. The base formula multiplies the square of the critical z-value by the proportion times one minus the proportion, then divides by the square of the margin of error. The required sample grows quickly as the margin shrinks, so halving the margin roughly quadruples the sample. Enter your confidence level and margin to see how many responses you need.

%
%
385
completed responses needed
Before population correction385

Leave population size blank for a very large or unknown population. Uses p of 0.5 for the safest size when unsure. Estimate only.

How it works

The base sample size is the z-value squared times p times one minus p, divided by the margin of error squared, with the margin and proportion as decimals. If you enter a population size, the calculator applies the finite population correction, dividing the base size by one plus the base size minus one over the population. The result is rounded up to a whole number of people.

Worked example

For 95 percent confidence, a 5 percent margin and a proportion of 50 percent, the base size is 1.96 squared times 0.25 over 0.05 squared, which rounds up to 385 responses for a large population.

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.