Sampling Proportion Calculator

Sampling Proportion Calculator

Find the chance a sample percentage lands above, below or between given values when the true rate is known, using the normal approximation and checking it against the exact binomial answer.

p̂ ~ N(p, √(p(1 − p) ÷ n))

Enter the true rate, sample size and cut-off

What Is the Sampling Distribution of a Proportion?

The sampling distribution of p̂ describes how the percentage in a random sample varies around the true percentage p from one sample to the next. It's centred on p with spread √(p(1 − p) ÷ n).

Strictly, the number of successes follows a binomial distribution, so p̂ can only take the values 0, 1/n, 2/n and so on. When n is large enough the binomial looks normal, and a z-score shortcut works.

This calculator shows both answers side by side. That way you can see when the shortcut is fine and when it isn't, rather than relying on the rule of thumb alone.

Sampling Proportion Formula

As given in OpenStax Introductory Statistics, chapter 7, and the NIST/SEMATECH e-Handbook, section 1.3.6.6.18. See Sources.

1. Spread of p̂

σp̂ = √(p(1 − p) ÷ n)

2. Normal approximation

z = (a − p) ÷ σp̂

Reasonable when np and n(1 − p) are both at least 10.

3. Exact answer

P = Σ C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ over every k with k ÷ n in the region

Worked Example: Airline No-Shows

Given:
8% of passengers don't turn up. A flight has 200 bookings. How likely is a no-show rate above 10%?
Step 1:
Check the shortcut and find the spread:
np = 16 ✓ · σp̂ = √(0.08 × 0.92 ÷ 200) = 0.0192
Step 2:
Normal approximation:
z = (0.10 − 0.08) ÷ 0.0192 = 1.043 → P = 0.1486
Step 3:
Exact: more than 20 no-shows out of 200:
P(X ≥ 21) = 0.1225
Result:
About 12% of flights

The normal shortcut overstates the risk by about 2.6 points, even though np = 16 passes the rule of thumb. Most of the gap comes from the step between 20 and 21 passengers, which a continuity correction bridges.

When the Normal Shortcut Works

P(p̂ > 10%) for an 8% true rate at different sample sizes. The two columns converge as np grows.

Normal approximation and exact binomial probabilities at several sample sizes
nnpNormalExact
2520.35620.3232
5040.30110.2081
200160.14860.1225
1,000800.00990.0101
5,0004009.30e-82.05e-7

Common Sampling Proportion Mistakes

  • Using the sample p̂ in the spread. Here p is the known true rate. Using p̂ belongs to confidence intervals, not to probability questions about future samples.
  • Applying the normal shortcut to rare events. With a 1% rate and 100 people, np = 1, and the normal curve puts real probability below 0%.
  • Forgetting that p̂ jumps in steps. With 200 bookings, p̂ moves in 0.5-point steps, so "above 10%" and "at least 10%" differ by a whole passenger.
  • Typing 10 for 10%. Enter 10%, 0.1 or 1/10; a bare 10 isn't a proportion.

Sampling Proportion FAQs

What is the mean of the sampling distribution of p̂?

The true proportion p. The sample proportion is an unbiased estimator.

What is the standard deviation of p̂?

√(p(1 − p) ÷ n). It’s largest when p = 50% and falls with √n.

Why both a normal and an exact answer?

Textbooks use the normal shortcut, but the exact binomial is what actually happens. Seeing both shows how good the shortcut is for your numbers.

What is the success–failure condition?

np ≥ 10 and n(1 − p) ≥ 10. Some books use 5; 10 is the safer modern convention.

Does population size matter?

Only if the sample is more than about 5% of the population. Then the true spread is a little smaller.

How is this different from the p-hat calculator?

That works backwards from an observed sample to the true rate. This one goes forwards from a known rate to what samples will look like.

Can I use this to plan overbooking?

Yes, as a first estimate. Real airlines also model groups who travel together, which makes no-shows clumpier than the binomial assumes.

Why does the exact answer use strict inequalities?

Because “above 10%” means more than 20 of 200. If you want “at least”, lower the cut-off slightly, for example to 9.9%.

Sources

Related Tools