Chalk−1

Math · Introductory statistics · Worked example

Choose a sample size for a margin of error

A survey should estimate a mean within ±3 points with 95⁢% confidence. A pilot study suggests σ≈15. How many people are needed?

Try one — Chalk checks each line

Solve the margin for n

For planning, use z∗=1.96 and the pilot estimate of σ: the margin z∗σ⁢/n must be at most 3.

n=(z∗σE)2

Substitute

(1.96⋅153)2=96.04

Round up

A fractional person is not possible, and rounding down would make the margin slightly too wide, so round up to 97. Once the data are in, the interval itself uses s and t∗, and its margin will come out close to 3, not exactly 3.

Result

At least 97 people.

Your turn

1. One like the example

How many people are needed to halve the margin to ±1.5?

Show the answer and explanation

385.

Halving E quadruples n. (1.96×15÷1.5)2 =384.16, which rounds up to 385.

n=(1.96⋅151.5)2n=19.62n=384.16

2. A variation

Keep the margin at ±3 with σ≈15, but ask for 99⁢% confidence. How many people are needed?

Show the answer and explanation

166.

99⁢% confidence uses z∗≈2.576. (2.576×15÷3)2 ≈165.89, which rounds up to 166. More confidence at the same margin costs more people.

n=(2.576⋅153)2n=12.882n≈165.89

3. Somewhere new

The budget allows only 100 people. With σ≈15 and 95⁢% confidence, what margin can the survey promise?

Show the answer and explanation

About ±2.94 points.

Run the margin formula forward instead of solving for n. E=z∗σ⁢/n =1.96×15⁢/100 =2.94.

σ=15, n=1001.96⋅15100=2.94

Keep exploring

In Math, change the margin from 3 to 2: the sample size becomes (1.96×15÷2)2 =216.09, so 217 people.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the sample size in Math Study the 7 key terms Open worked example on a board Confidence interval in Math Reference

Your existing work stays on this device. Examples open as editable copies.