How many to pin an average?

Sizing a poll for a yes/no split is one thing; pinning down an average — wait time, basket size, blood pressure — is another. Here the lever isn't the proportion, it's the spreadThe standard deviation of the individual values: how spread out they are. Wider spread needs a bigger sample to average out to the same precision. of the values. Feed in how varied they are and how tight a band you want, and read off the sample it takes — or run it backwards.

Pin the average to within ±units, at% confidenceHow often the interval contains the true mean across repeated samples. 95% is the default; raising it widens the band, so it costs more..
The values vary with a spread of aboutunits, around a mean near.
217measurements

Enough to estimate the average to within ±2 units — 98 to 102 — at 95% confidence, given a spread of 15.

217measurements
±2target margin
2z usedThe critical z for your confidence level: how many standard errors the margin spans. ā‰ˆ1.96 at 95%, 2.58 at 99%.
MarginMeasurements
±4
55
±2chosen
217
±1
865
±0.5
3,458

Precision costs by the square: the sample grows with (spread ÷ margin)², so halving the band quadruples the measurements. Tightening the last little bit is always the expensive part.

margin of error for a mean · E = z·σ/√n