Find and interpret confidence intervals for the mean of a normal population, using the normal distribution when σ is known and the t-distribution when it is not, judge claims and find the least sample size.
Each is in the Maths AI glossary, with every other term in the subject.
A range of values, calculated from a sample, constructed by a method that captures the true value of a population parameter in a stated proportion of all possible samples.
The percentage of all possible samples for which the method used to construct a confidence interval would produce an interval containing the true value of the parameter.
The lower and upper end points of a confidence interval.
Half the width of a confidence interval, the distance from the point estimate to either confidence limit; for a z-interval it equals
With a free account, Augment remembers where you stopped and what you have practiced.
The normal distribution with mean 0 and variance 1, written ; any normal variable is converted to it by .
A continuous probability distribution that is symmetric and bell-shaped about 0 like the standard normal distribution but has heavier tails, with a shape fixed by its number of degrees of freedom ; for a sample of size from a normal population, has a t-distribution with .
A confidence interval for the mean of a normal population with unknown standard deviation, given by , where is the critical value of the t-distribution with degrees of freedom for the confidence level.
A confidence interval for the mean of a normal population with known standard deviation , given by , where is the critical value of the standard normal distribution for the confidence level.
Explain why an interval estimate of a population mean is more informative than a single value.
Find critical values of the standard normal distribution and of the t-distribution for a given confidence level.
Calculate a confidence interval for the mean of a normal population when the population standard deviation is known, by hand and with the GDC.
Calculate a confidence interval for the mean of a normal population when the population standard deviation is unknown, from raw data, a frequency table, summary statistics or and .
Interpret a confidence interval correctly in context, and explain what the confidence level means.
Determine whether a claimed value of the mean is supported by a confidence interval, and relate this to a two-tailed hypothesis test.
Find the least sample size that gives an interval of a required width, and find the confidence level of a given interval.
A sample mean is the natural estimate of a population mean, but on its own it gives no idea of how far it might be from the truth. Two different samples from the same population give two different means, so any single value is almost certainly a little wrong. A confidence interval replaces the single value with a range of plausible values for the population mean, together with a measure of how reliable the method of producing that range is.
Confidence intervals are how measured quantities are reported throughout science, medicine and industry. A food producer checks that the mean mass of its packets is close to the label, a laboratory reports the mean concentration of a sample with its uncertainty, and a polling organisation gives a result "plus or minus" a margin. In each case the width of the interval shows how precise the estimate is, and the confidence level shows how often the method succeeds.
YouTubeSuppose a bottling plant wants to know the mean volume of all the bottles its machine fills. It cannot measure every bottle, so it takes a random sample of 25 and finds that the sample mean is ml. The value 502.3 is a point estimate of : a single number calculated from the sample. The sample mean is an unbiased estimator of , so on average it is right, but any one sample mean is almost certainly not exactly equal to
How far is likely to be from depends on how much sample means vary. Subtopic 4.15 showed that for a random sample of size from a normal population with mean and standard deviation , the sample mean has its own distribution:
The standard deviation of this sampling distribution, , is the standard error of the mean. It measures the typical distance between a sample mean and the population mean. For the bottles, if
An interval built around , wide enough to allow for this variation, is far more useful than alone. It shows both the best estimate (the centre) and the precision of that estimate (the width).
The stated proportion is chosen before the interval is calculated. Common choices are 90%, 95% and 99%, and 95% is by far the most widely used.
The two ends of the interval have their own name, because they are often quoted separately (for example, "the mean is at least 500.7 ml with 95% confidence").
Every normal distribution can be turned into one standard shape by subtracting its mean and dividing by its standard deviation. This standard shape supplies the numbers that set the width of an interval.
The normal distribution of subtopic 4.9 is symmetric about its mean, so the standard normal curve is symmetric about 0. For a confidence level of 95%, the middle 95% of the area under the curve is wanted, which leaves 2.5% in each tail. The value of with 97.5% of the area to its left is 1.960 (to 4 significant figures), so 95% of the area lies between −1.96 and 1.96.

The number that cuts off the central area equal to the confidence level is the critical value for that level. It is found by an inverse normal calculation using the area to its left, which is for a confidence level written as a decimal.
Confidence level | Area in each tail | Area to the left of | Critical value |
|---|---|---|---|
80% | 0.10 | 0.90 | 1.282 |
90% | 0.05 | 0.95 | 1.645 |
95% | 0.025 | 0.975 | 1.960 |
98% | 0.01 | 0.99 | 2.326 |
99% | 0.005 | 0.995 | 2.576 |
A higher confidence level needs a larger critical value, because more of the area has to be enclosed. On the GDC, the inverse normal function with area 0.975, mean 0 and standard deviation 1 gives 1.95996…; some models also accept a "centre" or "tail" setting that does the halving automatically.
The interval comes straight from the distribution of . Standardising
The last line says that the random interval from
The amount added to and subtracted from is the part of the interval that reflects uncertainty, and it has its own name.
For the bottling plant, ml, ml and . The standard error is 0.8 ml, and the 95% margin of error is
The GDC's confidence interval functions do the whole calculation once the inputs are entered.
Open the interval functions: on a TI-84 Plus CE, STAT → TESTS → ZInterval; on a Casio fx-CG50, MENU → Statistics → INTR → Z → 1-S.
Choose the input type: Stats (summary values) or Data (a list of raw values, with a frequency list if the data are in a frequency table).
Enter , then either and or the list, and the confidence level as a decimal (0.95).
Calculate. The GDC shows the lower and upper limits,
What to write down: the distribution used and its inputs, then the interval, for example "z-interval, , , , 95%: (500.7, 503.9)". A calculator command such as "ZInterval" on its own does not show the method.
The margin of error has three ingredients, and each one changes the width in a predictable way. The table uses the bottling plant (
Change | Confidence level | Margin of error (ml) | Interval (ml) | |
|---|---|---|---|---|
Original | 95% | 25 | 1.57 | (500.7, 503.9) |
Lower confidence | 90% | 25 | 1.32 | (501.0, 503.6) |
Higher confidence | 99% | 25 | 2.06 | (500.2, 504.4) |
Four times the sample | 95% | 100 | 0.78 | (501.5, 503.1) |
Sixteen times the sample | 95% | 400 | 0.39 | (501.9, 502.7) |
Confidence level. A higher level needs a larger , so the interval widens. Being more confident of capturing costs precision: a 100% interval would have to include every possible value.
Sample size. The margin is proportional to
The centre of a z-interval is always , and the interval is symmetric about it. This gives a quick check: the mean of the two confidence limits must equal the sample mean, and half their difference is the margin of error.
The probability statement in the derivation is about the random interval, before the sample is taken. Once the data are in, is a fixed number, the interval is fixed, and is also fixed (although unknown). The interval either contains or it does not; there is no longer anything random left to have a probability.
The 95% therefore describes the method, not one particular interval. If many random samples of the same size were taken and a 95% interval were calculated from each, about 95% of those intervals would contain and about 5% would miss it. Any single interval is one of these, and there is no way to tell from the data alone whether it is one of the successes.
A simulation shows this directly. Twenty random samples of size 10 were drawn by computer from a normal population with and , and a 95% z-interval was calculated from each. Every interval has the same width,

Across the twenty samples the intervals move while stays fixed. Interval 13 came from an unusually low sample mean (42.65) and misses , even though it was calculated in exactly the same way as the others. With 20 intervals, about one miss is expected; in a different simulation there might be none, or two or three.
YouTubeThree further misreadings are common, and each comes from forgetting that the interval is about the mean of the population.
An interval for the mean does not contain 95% of the individual values. Individual bottles vary with standard deviation 4 ml, so many bottles lie outside (500.7, 503.9); only the mean volume is estimated.
An interval does not describe other samples. A second sample of 25 bottles would give a different interval; there is no guarantee that 95% of future sample means fall inside the first one.
An interval allows only for random sampling variation. A biased sample, a badly calibrated measuring instrument or a population that is not normal can all make the interval wrong in ways that its width does not show. Michelson's 1879 measurements of the speed of light are a real example of an interval missing the true value for this reason.
The z-interval needs the population standard deviation . In practice is rarely known: if the population had been studied well enough to know its spread exactly, its mean would usually be known too. Normally is replaced by its estimate from the same sample, the unbiased estimate , which the GDC labels
Replacing by adds a second source of variation. With known, the standardised mean
The distribution of this ratio was worked out at the start of the twentieth century and is now called the t-distribution (the story of its discovery is told in subtopic 4.11, Hypothesis testing).
The degrees of freedom measure how much information contains. A sample of values has deviations from
Because more of the area lies in the tails, the critical value of a t-distribution for a given confidence level is larger than the matching . The table gives 95% critical values (2.5% in each tail).
Degrees of freedom | 1 | 2 | 4 | 9 | 19 | 29 | 49 | 99 | (normal) |
|---|---|---|---|---|---|---|---|---|---|
95% critical value | 12.71 | 4.303 | 2.776 | 2.262 | 2.093 | 2.045 | 2.010 | 1.984 | 1.960 |
For a sample of 5 () the multiplier is 2.776 instead of 1.960, an interval more than 40% wider; for a sample of 100 it is 1.984, only about 1% wider. The extra width allows for the uncertainty in estimating from the same data.
The interval has exactly the same structure as the z-interval, with in place of and a t critical value in place of .
The choice between the two intervals depends only on whether the population standard deviation is known.
known (given in the question as the standard deviation of the population, the process or the machine): use the z-interval, whatever the sample size.
unknown (only sample data or a sample standard deviation available): use the t-interval with and
The GDC finds and from a list and builds the interval in one step: on a TI-84 Plus CE, STAT → TESTS → TInterval; on a Casio fx-CG50, MENU → Statistics → INTR → t → 1-S. With Data input it needs only the list and the confidence level.
Questions often give only the sample mean and a sample standard deviation. The standard deviation must be checked: if it was calculated with divisor (written , or described as "the standard deviation of the sample"), it has to be converted with the formula from subtopic 4.14 before it is used.
When a sample is summarised by its size, the sum of the values and the sum of their squares, the two estimates come from formulas. The unbiased variance estimate in this form is
which is the sum of squared deviations from the mean, , written in a form that needs only the two sums. The values of ,
When data are given in a frequency table, the values go in one GDC list and the frequencies in another, and the frequency list is named in the interval's Freq setting (or in one-variable statistics). The sample size is the total frequency, not the number of rows.
The lengths of 50 randomly chosen leaves from a species of tree, measured to the nearest centimetre, are shown in the frequency table.
Length (cm) | 6 | 7 | 8 | 9 | 10 | 11 |
|---|---|---|---|---|---|---|
Frequency | 3 | 8 | 14 | 13 | 8 | 4 |
Both intervals rest on the same assumptions, and an interval is only as good as they are.
Random sample. The values must come from a random sample, so that is unbiased and the values are independent. A convenience sample can give a narrow, precise-looking interval around the wrong value.
Normal population. The distribution of is exactly normal only when the population is normal. For a large sample from a non-normal population, the central limit theorem makes
A statement that "all conditions for a confidence interval have been met" refers to these three conditions.
In June and July 1879, the physicist Albert Michelson measured the speed of light in air with a rotating-mirror apparatus at the United States Naval Academy. His 100 measurements were made in five experiments of 20 runs each, and they have become a standard dataset for teaching estimation. Each value is recorded in km/s with 299,000 subtracted, so a recorded 850 means 299,850 km/s.
Experiment 1 | Experiment 2 | Experiment 3 | Experiment 4 | Experiment 5 | All 100 runs | |
|---|---|---|---|---|---|---|
Mean | 909.0 | 856.0 | 845.0 | 820.5 | 831.5 | 852.4 |
104.9 | 61.2 | 79.1 | 60.0 | 54.2 | 79.0 |
Source: A. A. Michelson's 1879 measurements, as compiled by S. M. Stigler (1977), Annals of Statistics, and distributed as the R dataset morley/michelson (Rdatasets, accessed 2026).
Treating all 100 runs as one random sample from a normal population with unknown , a 95% t-interval with is
that is, from 299,836.7 km/s to 299,868.1 km/s. Even a 99% interval, (831.6, 873.2), is only about 42 km/s wide, a very precise measurement for 1879.
On the same coded scale, the currently accepted value of the speed of light in air is 734.5. It lies about 102 km/s below the lower limit of the interval for all 100 runs, and below the interval for every one of the five experiments, as the chart of the six intervals shows.

The miss is not one of the 5% of failures expected from random sampling. A 95% interval allows for random error, the scatter of individual runs around their own average. It cannot allow for systematic error, a bias that shifts every run in the same direction, such as a calibration fault in the measurement of distance or of the mirror's rotation rate. A systematic error moves the whole interval, and a larger sample only makes the wrongly placed interval narrower.
The five experiments give a second warning. Experiment 1's interval (859.9, 958.1) does not overlap experiment 4's (792.4, 848.6) at all, which suggests that the conditions changed between experiments, so the 100 runs are not really a single random sample from one population. The assumption of independent, identically distributed measurements behind the interval is therefore doubtful, and the interval for all 100 runs is narrower than the real uncertainty.
A confidence interval gives the range of values of that are consistent with the data at the chosen level. Comparing a claimed value with the interval gives a quick judgement of the claim.
If lies inside the interval, the data are consistent with the claim. The claim is plausible; it has not been proved, because many other values are plausible too.
If lies outside the interval, the data give evidence against the claim, and the direction (above or below the interval) shows which way the true mean is likely to differ.
The conclusion must refer to the claim in its context: "the claimed mean of 250 g per tin lies outside the interval, so the manufacturer's claim appears to be incorrect (the mean mass is likely to be lower)".
This comparison is equivalent to a two-tailed hypothesis test. Consider testing against
A 95% interval matches a 5% test, a 90% interval a 10% test and a 99% interval a 1% test. The equivalence holds only for two-tailed tests that use the same distribution (z with z, t with t). The tests themselves, including one-tailed tests, are the subject of subtopic 4.18, Further hypothesis testing.
Before collecting data, an investigator often wants an interval of a certain precision. When is known, the width of a z-interval depends only on , and , not on the data:
Requiring the width to be at most some value and solving the inequality for gives the least sample size. Because must be a whole number and a larger gives a narrower interval, the value found is always rounded up.
Sometimes the interval is given and the confidence level is unknown. When is known, the margin of error gives the critical value, and a normal probability gives the level.
Confidence intervals appear in short Paper 1 questions (4–6 marks) and as parts of longer statistics questions in Papers 2 and 3, usually alongside unbiased estimates (subtopic 4.14), the distribution of (subtopic 4.15) or hypothesis tests (subtopic 4.18). Typical parts are: find unbiased estimates of the mean and variance; find or calculate a confidence interval; comment on or explain whether a claim is supported; find the least value of . The interval itself usually earns (M1) for an attempt with the right distribution and A1A1 (or A2) for the two limits. An interpretation earns an R1 mark only when it refers back to the claim in context.
The most frequent losses are using instead of , using z when is unknown (or t when it is known), giving
Questions that give summary statistics test whether the right standard deviation is used. The phrases "the standard deviation of the sample", "" or a GDC's all mean the divisor , and need converting; "an unbiased estimate of the variance" or "
Write down the critical value used in a 98% z-interval. [1]
The scores on a reasoning test are normally distributed with standard deviation 15. A random sample of 36 students has mean score 104.2. Calculate a 90% confidence interval for the mean score of all students. [3]
The lengths, in cm, of seven randomly chosen fish of one species are 23.1, 24.6, 22.8, 25.0, 23.9, 24.2, 23.5. Lengths are normally distributed. Find a 99% confidence interval for the mean length of all fish of this species. [3]
For a random sample of 24 batteries, the lifetimes hours satisfy and
(area 0.99 to its left).
z-interval:
A confidence interval gives a range of plausible values for a population mean; its confidence level is the proportion of all samples for which the method captures .
With known, the z-interval is
I can explain the difference between a point estimate and a confidence interval.
I can find the critical value for any confidence level using the area .
I can derive the z-interval from the distribution of
28 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
A machine at Moulin Doré fills bags of flour. The mass of flour in a bag is normally distributed with standard deviation 8 g. The mean is set to 1000 g but may drift over time.
A random sample of 25 bags has a mean mass of 1003.4 g.
State why a confidence interval based on the normal distribution, rather than the -distribution, is appropriate here.
1 mark
the population standard deviation is known () R1
[1 mark]
Find a 95% confidence interval for the mean mass of flour in a bag. Give the endpoints correct to one decimal place.
2 marks
The manager believes that the machine is still set correctly. Use your answer to part (b) to comment on her belief.
2 marks
1000 lies outside the interval (below the lower limit) R1
there is evidence that the mean has drifted upwards; her belief is not supported A1
Note: Do not award R0A1.
[2 marks]
Priya grows tomato seedlings in a greenhouse. After three weeks she measures the heights, in cm, of a random sample of 9 seedlings.
The heights of the seedlings are normally distributed.
Find unbiased estimates of the mean and the variance of the heights of the seedlings.
2 marks
Find a 90% confidence interval for the mean height of the seedlings.
2 marks
Explain why Priya should use the
A manufacturer of electric scooters claims that, on a full charge, its battery lasts for 45 hours of riding on average. A consumer magazine tests a random sample of 12 batteries. The battery lives are assumed to be normally distributed.
The sample mean is 41.6 hours and the standard deviation of the sample, , is 2.9 hours.
Find , the unbiased estimate of the population standard deviation.
The entries of the mathematics: applications and interpretation formula booklet that 4.16 uses. Each opens in the explained booklet.
The width of a confidence interval is twice its margin of error.
The 95% confidence interval for the mean volume is (500.7 ml, 503.9 ml).
On the GDC: z-interval with , , , confidence level 0.95 gives (500.73, 503.87), which agrees.
The margin of error is
so the interval is , which gives (148.4 g, 165.1 g) to 1 decimal place.
GDC: enter the masses in a list and use the z-interval with Data input, , confidence level 0.95: (148.43, 165.07).
The sample standard deviation of these eight apples (about 10.4 g) is not used: when is known, the known value is more reliable than an estimate from eight apples.
Population spread. A larger gives a proportionally wider interval. A more consistent process can be pinned down with fewer measurements.
The GDC also shows , which is ; it is not the value to use.
(b) The population standard deviation is unknown, so a t-interval with is used. The 95% critical value is .
The 95% confidence interval is (5.17 min, 8.05 min).
GDC: t-interval, Data input, confidence level 0.95: (5.1708, 8.0514).
(c) The interval includes values above 8 minutes (up to 8.05), so the data do not show convincingly that the mean wait is under 8 minutes. The interval is consistent with the claim (most of it lies below 8), but with only nine customers the estimate is not precise enough to confirm it.
A1
(b) t-interval with , , , (M1)
A1
(The 95% critical value is and the margin of error is .)
(c) 340 g lies inside the interval, so the sample is consistent with a mean mass of 340 g; there is no evidence at the 5% level that the jars are underfilled on average. R1
If had been entered directly, the interval would be (335.1, 340.1): close, but calculated from the wrong standard deviation, which loses the accuracy mark.
Stats(c) The company's travel report claimed that the mean distance is 23.2 km. Explain whether your answers to part (b) support this claim.
(a) The unbiased estimate of the mean is
and the unbiased estimate of the variance is
so km.
(b) is unknown, so t-intervals with are used.
90%: critical value , margin of error
To one more decimal place, the intervals are (23.49, 27.11) and (23.12, 27.48).
(c) 23.2 km lies inside the 95% interval but outside the 90% interval. At the 5% level the data are consistent with the claim, so it is supported; at the 10% level the claim is not supported. The claim is borderline: the sample gives some evidence that the mean distance is greater than 23.2 km, but not strong evidence.
(The GDC's is and is not used.)
is unknown, so a t-interval with is used: the 95% critical value is , and the margin of error is .
The 95% confidence interval is (8.16 cm, 8.92 cm).
GDC: t-interval, Data input with frequency list 2, confidence level 0.95: (8.1626, 8.9174).
Correct standard deviation. if it is known; otherwise , never .
(c) Explain what the interval suggests about the manufacturer's bags.
(a) The interval is centred on the sample mean: kg.
(b) 2.00 lies outside the 95% interval, so the two-tailed test at the 5% level rejects . There is evidence that the mean mass of the bags is not 2.00 kg.
(c) The whole interval lies below 2.00 kg, so the mean mass of all bags is likely to be less than claimed, by somewhere between about 6 g and 38 g. The consumer group has evidence that the bags are underfilled on average.
gives a width slightly more than 2 minutes, so the least sample size is 139 tasks.
With the GDC, the same answer comes from graphing with and finding the intersection at , or from a table of values of the width for .
The confidence level is the central area between and under the standard normal curve:
The confidence level is 96.2% (3 s.f.).
Equivalently, with centred at the interval's midpoint 49.5, .
(c) Explain whether your answer to part (b) supports the company's claim. [2]
(d) State what conclusion a two-tailed test of the company's claim at the 1% significance level would reach, given that the 99% confidence interval is (11.95, 12.89). [1]
Later, the company changes its process. The new standard deviation of the sugar content is known to be 0.6 g.
(e) Find the least number of bars that must be tested so that a 99% confidence interval for the new mean has width less than 0.4 g. [3]
(a) A1
(M1)
A1
(b) t-interval with , ,
A1
(c) 12.0 lies outside (below) the 95% confidence interval R1
so the data do not support the company's claim; the mean sugar content appears to be greater than 12.0 g A1
Note: the conclusion must refer to the claim in context.
(d) 12.0 lies inside the 99% interval, so the test does not reject the claim at the 1% level A1
(e)
Note: award (A1) for the correct .
, so the least number of bars is 60 A1
Total [11]
A random sample of 16 parcels has mean mass 4.82 kg, and the standard deviation of the sample, calculated with divisor , is 0.35 kg. Masses are normally distributed. Find a 90% confidence interval for the mean mass of all parcels. [4]
A student writes: "The 95% confidence interval for the mean height is (162.1 cm, 168.5 cm), so 95% of people have heights between 162.1 cm and 168.5 cm." Explain what is wrong with this statement, and write down a correct interpretation. [2]
A quantity is normally distributed with standard deviation 3.2. Find the least sample size so that a 95% confidence interval for the mean has a margin of error of at most 0.5. [3]
A population is normally distributed with standard deviation 4. A random sample of 20 values gives the confidence interval (61.3, 64.5) for the mean. Find the confidence level of this interval. [4]
A 95% t-interval for a population mean, calculated from a random sample of 10 values, is (12.4, 15.0). Find the sample mean and . [4]
GDC: , ; t-interval with , : (22.8 cm, 25.0 cm) (22.757, 24.986).
(a) (36.1667); (11.1884). (b) t-interval, : (34.8, 37.6) (34.754, 37.579). (c) 37 lies inside the interval, so the data are consistent with the claim at the 5% level; there is no evidence to reject it.
; t-interval, , : , giving (4.66 kg, 4.98 kg).
The interval estimates the mean height of the population, not the heights of individuals, and the 95% describes the method. Correct: "95% of intervals constructed this way would contain the population mean height; I am 95% confident that the mean height is between 162.1 cm and 168.5 cm."
, so ; the least sample size is 158.
Margin , standard error , ; , so the level is 92.6%.
; margin with , so (1.8173).
With unknown, the t-interval is with ; use t whenever is unknown and z whenever it is known, whatever the sample size.
The t-distribution is symmetric like N(0, 1) with heavier tails, so its critical values are larger; it approaches N(0, 1) as increases.
Use , or ; never .
The margin of error is half the width; it grows with the confidence level and and shrinks like .
Interpret an interval as being about the population mean, with the confidence level describing the method; an interval allows for random error only, not systematic error or a biased sample.
A claimed mean inside the interval is consistent with the data; outside it, a two-tailed test at level would reject it.
For the least sample size with known, solve and round up.
I can calculate a z-interval by hand and with the GDC, and write down the method and inputs.
I can decide between a z-interval and a t-interval from whether is known.
I can describe how the t-distribution differs from the standard normal distribution and how it depends on .
I can calculate a t-interval from raw data, from a frequency table, from and , and from and .
I can convert to and recognise which one a question or GDC gives.
I can interpret a confidence interval correctly in context and avoid the "95% probability that …" error.
I can explain how the confidence level, and affect the width of an interval.
I can use an interval to judge a claimed mean and link the result to a two-tailed test.
I can find the least sample size for a required width, rounding up.
I can find the confidence level of a given z-interval.
I can recover and the margin of error from a given interval.
I can explain why an interval can miss the true value because of systematic error or a non-random sample.
A1
[2 marks]
1 mark
Find a 99% confidence interval for the mean battery life. Give the endpoints correct to four significant figures.
2 marks
Comment on the manufacturer's claim.
2 marks
95%: critical value , margin of error , interval (23.1 km, 27.5 km).