Understand confidence intervals for a population proportion the easy way, with plain English intuition, the margin of error, worked examples and an auto marked practice test. VCE Maths Methods Units 3 and 4.
Learn
Imagine you taste one spoonful of a giant pot of soup to judge the whole pot. You cannot be sure the entire pot tastes exactly like that one spoon, but you can give a sensible range. A confidence interval does the same thing with a poll. You only ever measure a small sample, so instead of claiming one exact proportion for the whole population, you report a range and say how confident you are that the true value sits inside it. That honesty about uncertainty is the whole point.
A 95 per cent confidence interval captures the middle 95 per cent of the distribution, between z = -1.96 and z = 1.96. Only the two small tails are left outside.
What the interval actually is
You can never survey everyone, so you survey a sample of n people and count how many said yes. That gives you the sample proportionp^, the fraction of your sample that agreed. The true population proportion p is the number you really want, but it stays hidden. Your p^ is a good guess, yet a different sample would have given a slightly different guess.
A confidence interval wraps a sensible range around your guess. It is built as the sample proportion give or take a cushion:
p^±znp^(1−p^)
The square root piece is the standard error, a measure of how much p^ tends to wobble from sample to sample. The z is a fixed number that sets your confidence level. For the common 95% interval, z=1.96.
The margin of error
The cushion you add and subtract has its own name. The margin of error is everything after the plus or minus sign:
M=znp^(1−p^)
Once you have M, the interval is simply p^−M to p^+M. Two things shrink the margin and make your estimate sharper. A bigger sample size n shrinks it, because n sits under a square root in the denominator. A lower confidence level shrinks it too, because it uses a smaller z.
Notice the trade off. If you demand more confidence, your z goes up and the interval gets wider, so you are more sure but less precise. More confidence costs you precision. The only way to get both is to gather a larger sample.
Reading the interval correctly
This is where careful students pick up easy marks and rushed students throw them away. It is tempting to say “there is a 95% chance the true proportion is inside my interval”, but that sentence is wrong. The true proportion p is a fixed number. It is not bouncing around, so it does not have a probability of landing anywhere.
What actually varies is the interval. Each new sample gives a new p^ and therefore a new interval. The correct reading is about the method, not one interval:
If you repeated the whole sampling process many times, about 95% of the intervals you build would capture the true proportion p, and about 5% would miss it. Your one interval either caught p or it did not, you just do not know which.
How to actually do it
Every confidence interval question follows the same short recipe.
Find the sample proportion p^ by dividing successes by the sample size n.
Work out the standard error p^(1−p^)/n.
Multiply by the z value for your confidence level to get the margin of error.
Write the interval as p^ plus or minus the margin of error.
Two traps catch students every year. The first is leaving out the z and reporting only the standard error as the margin, which makes the interval far too narrow. The second is rounding. Confidence intervals are usually wanted correct to three decimal places, so keep full accuracy in your working and only round the final endpoints.
Lock it in with active recall
Cover the answer and say each one out loud before you flip. Rate yourself honestly — the cards you find hard come back sooner, the ones you know are spaced further out.
Active recall
Answer from memory first, then flip. Rate yourself and each card returns on a spaced schedule (1 → 3 → 7 → 16 days).
Write the formula for an approximate confidence interval for a proportion.
p^±znp^(1−p^) — the sample proportion give or take a margin of error.
What is the margin of error, and what z value goes with 95% confidence?
M=znp^(1−p^), the cushion after the ±. For 95%, z=1.96.
What does a 95% confidence interval actually mean?
If you repeated the sampling many times, about 95% of the intervals you build would capture the true p. The true p is fixed; the interval varies.
Why is a 99% interval wider than a 95% one from the same sample?
Higher confidence uses a larger z (1.96→≈2.58), which makes the margin bigger. More confidence costs you precision.
Keeping p^ fixed, you multiply the sample size n by 4. What happens to the margin of error?
It is halved — n is in the denominator, so the margin scales by 41=21.
Recall · Sampling distributions of proportions
What are the mean and standard deviation of the sample proportion p^?
E(p^)=p and sd(p^)=np(1−p). The standard error in a CI is this with p^ in place of p.
Recall · The normal distribution
Where does the z=1.96 for a 95% interval come from?
From the standard normal: the middle 95% of the bell curve lies between z=−1.96 and z=1.96, leaving 2.5% in each tail.
See this recipe in action in the Worked Examples tab, then test yourself in Try It.
Worked examples
Worked Example 1Confidence level from a given interval, from a real exam
An inspector takes a random sample of 32 tennis balls and determines a confidence interval for the population proportion of grade A balls produced. The confidence interval is (0.7382,0.9493), correct to four decimal places. Find the level of confidence that the population proportion of grade A balls is within the interval, as a percentage correct to the nearest integer.
1
The sample proportion is the midpoint of the interval, and the margin of error is half its width.
p^=20.7382+0.9493≈0.84375,E≈0.10555
2
Use E=zp^(1−p^)/32 and solve for z.
z=p^(1−p^)/32E≈1.645
3
A z value of about 1.645 corresponds to a 90% confidence level. The examiner report notes many students computed p^ incorrectly or simply gave 95%.
confidence level=90%
Answer
90%
VCAA 2023 Mathematical Methods Exam 2, Section B Q4g
Worked Example 2Interval, then a wider one, from a real exam
In one random sample of 50 pieces of luggage, 10 are labelled heavy. (i) Use this sample to find an approximate 90% confidence interval for p, the population proportion of luggage labelled heavy, correct to three decimal places. (ii) A second random sample of 50 pieces is selected, and its approximate 90% confidence interval for p is wider than the one in part (i). State the minimum and maximum possible number of pieces of luggage labelled heavy in the second sample.
1
(i) The sample proportion is p^=5010=0.2, and for 90% confidence z=1.6449.
0.2±1.6449500.2×0.8=(0.107,0.293)
2
(ii) The width is proportional to p^(1−p^), so a wider interval needs p^(1−p^)>0.16, i.e. p^ strictly between 0.2 and 0.8.
0.2<p^<0.8⟹10<X<40
3
So the heavy count X ranges from 11 to 39. The report notes many found the minimum 11 but gave a wrong maximum such as 50.
minimum X=11,maximum X=39
Answer
(i)(0.107,0.293);(ii)minimum 11,maximum 39
VCAA 2024 Mathematical Methods Exam 2, Section B Q4e
Worked Example 3A 95% interval from a sample
A polling company surveys n=200 randomly chosen voters and finds 50 support a new policy. Construct an approximate 95% confidence interval for the population proportion p, correct to three decimal places.
1
Find the sample proportion p^ from 50 out of 200.
p^=20050=0.25
2
Find the standard error using p^(1−p^)/n.
2000.25×0.75=0.0009375≈0.030619
3
For 95% confidence the z value is 1.96. The margin of error is z times the standard error.
1.96×0.030619≈0.060
4
The interval is p^ plus or minus the margin of error.
0.25±0.060
Answer
(0.190,0.310)
Worked Example 4Margin of error at 90% confidence
In a sample of n=100 households, the proportion owning an electric vehicle is p^=0.4. Find the margin of error for an approximate 90% confidence interval, then state the interval. Use z=1.645.
1
Write the standard error with p^=0.4 and n=100.
1000.4×0.6=0.0024≈0.048990
2
The margin of error is z times the standard error, with z=1.645 for 90%.
M=1.645×0.048990≈0.081
3
Build the interval as p^±M.
0.4±0.081
Answer
(0.319,0.481)
Worked Example 5How big a sample do I need?
A researcher wants a 95% confidence interval with a margin of error no larger than 0.04. Using the safest case p^=0.5, find the smallest sample size n needed. Use z=1.96.
1
Start from the margin of error formula and set it to be at most 0.04.
1.96n0.5×0.5≤0.04
2
Rearrange to make n the subject.
n≥(0.041.96)2×0.25
3
Evaluate the right hand side.
n≥492×0.25=600.25
4
Sample size must be a whole number, and you must round up so the margin stays under the limit.
n=601
Answer
n=601
Practice questions
Practice test
Try it yourself
9 questions, 13 marks
Choose your answers, then submit to see your score and the full worked solutions.
Multiple choice is marked for you, just like Exam 2 Section A.
Q1.A random sample of n Victorian households is taken to estimate the proportion of all Victorian households that have vegetable gardens. The approximate 95% confidence interval calculated using this sample is (0.248,0.552), correct to three decimal places. The number of households, n, in the sample is:
1mark
Show worked solution
From the interval, the centre is p^=20.248+0.552=0.4 and the margin is E=20.552−0.248=0.152. Solving 0.152=1.96n0.4×0.6 gives n≈39.9, and n=40 reproduces the interval (0.248,0.552) exactly to three decimal places. (n=49 is a distractor: it gives (0.263,0.537).)
VCAA 2025 Mathematical Methods Exam 2, Section A Q8
Q2.An approximate 95% confidence interval for the proportion p of households having solar panels installed was determined to be (0.04,0.16), with sample proportion p^=0.1. Using z=2 to approximate the interval, find the size of the sample from which this confidence interval was obtained.
2marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
The margin of error is half the interval width, 0.16−0.1=0.06. Setting up the margin formula with p^=0.1 and z=2:
2n0.1×0.9=0.06.
Isolating and squaring, n0.09=0.03, so n0.09=0.0009, giving
n=0.00090.09=100.
The examiner report notes arithmetic slips led to common wrong answers such as n=10.
VCAA 2023 Mathematical Methods Exam 1, Q6b
Q3.In a town, 100 people were randomly selected and surveyed, with 60 indicating that they were unhappy with the roads. Determine an approximate 95% confidence interval for the proportion of people in the town who are unhappy with the roads. Use z=2 for this confidence interval.
2marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
The sample proportion is p^=10060=0.6. Using the formula with z=2:
0.6±21000.6×0.4.
Simplifying the margin, 21000.24=1020.24=256, so the interval is
(53−256,53+256).
The report notes some students struggled to simplify the surd, and some omitted the brackets around the interval.
VCAA 2024 Mathematical Methods Exam 1, Q5c.i
Q4.A sample of n=400 people gives 160 who agree with a statement. The sample proportion p^ used to build a confidence interval is:
1mark
Need a hint?
The sample proportion is the number of successes divided by the sample size, not the raw count.
Show worked solution
The sample proportion is p^=400160=0.4. It is the number of successes divided by the sample size, not the raw count.
Q5.For a sample with p^=0.6 and n=150, the margin of error of an approximate 95% confidence interval (using z=1.96) is closest to:
1mark
Need a hint?
Work out the standard error first, then remember to multiply it by z=1.96.
Show worked solution
The standard error is 1500.6×0.4=0.0016=0.04. The margin of error is 1.96×0.04≈0.078. Option C forgets to multiply by z=1.96.
Q6.A reporter writes: 'There is a 95% probability that the true proportion lies between 0.42 and 0.48.' The correct interpretation of a 95% confidence interval is:
1mark
Need a hint?
Remember that the true proportion is fixed, and it is the interval that changes from sample to sample.
Show worked solution
The true proportion p is a fixed number, not random. What varies is the interval, because it changes with each new sample. So the 95% describes the long run capture rate of the method, not a probability about p for one fixed interval.
Q7.Keeping p^ fixed, a researcher increases the sample size n by a factor of 4. The margin of error of the 95% confidence interval is:
1mark
Need a hint?
The sample size n sits under a square root, so think about what 4 does to the margin.
Show worked solution
The margin of error has n in the denominator, so it scales by n1. Multiplying n by 4 multiplies the margin by 41=21, so it is halved.
Q8.Compared with a 95% confidence interval from the same sample, a 99% confidence interval is:
1mark
Need a hint?
Think about whether more confidence needs a bigger or smaller z value, and what that does to the width.
Show worked solution
Higher confidence uses a larger z value (1.96 for 95% rises to about 2.576 for 99%). A larger z makes the margin of error bigger, so the interval is wider. More confidence costs you precision.
Q9.A sample of n=100 has sample proportion p^=0.5. Using z=1.96, find the approximate 95% confidence interval for p. Show your working.
3marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
The standard error is
1000.5×0.5=0.0025=0.05.
The margin of error is 1.96×0.05=0.098. The interval is
0.5±0.098,
which gives (0.402,0.598).
Frequently asked questions
What does a 95% confidence interval actually mean?
It means that if you repeated the whole sampling process many times, about 95 per cent of the intervals you build would contain the true proportion. It is not a 95 per cent chance that the true proportion sits in your one interval, because the true proportion is a fixed number, not random. What changes from sample to sample is the interval.
Why does a higher confidence level give a wider interval?
More confidence needs a larger z value, and a larger z makes the margin of error bigger. So a 99 per cent interval is wider than a 95 per cent interval from the same sample. The trade off is that more confidence costs you precision, and the only way to get both is to take a bigger sample.
What z value do I use for a 95% confidence interval?
Use z = 1.96 for a 95 per cent interval. For 90 per cent use z = 1.645, and for 99 per cent use about z = 2.576. The z value sets how many standard errors wide the cushion is on each side of the sample proportion.