Professor Turing

Study guides

What is a confidence interval?

Last updated: 2026-11-23

A confidence interval is a range of values, built from a sample, that gives a plausible set of answers for something you could not measure directly, such as the share of all voters who support a measure. The "95%" in a 95% confidence interval describes how the method performs over many repeated samples. It is not the chance that the true value sits inside the one interval you computed.

Start learning No account needed

1. A confidence interval in plain words

You usually cannot ask everyone, so you ask a sample and use it to estimate the whole group. One sample gives one estimate, and a different sample would give a slightly different one. A confidence interval puts a margin around your estimate to show how much it would typically move from sample to sample. The estimate is the middle of the interval, and the margin is how far it reaches on each side.

It is a close relative of the p-value, and the two are often misread in similar ways. If you want that side first, see what is a p-value. For the wider picture of what to learn before and after, see can you learn statistics on your own.

2. A worked example: 220 of 400 say yes

A poll asks 400 randomly chosen residents whether they support a new bus line, and 220 say yes. The sample share is 220 / 400 = 0.55, or 55%. To build a 95% interval for the share of all residents:

  • Standard error: the square root of (0.55 × 0.45 / 400) = 0.0249, about 2.5 percentage points. This is the typical distance between a sample share and the true share.
  • Margin of error: 1.96 × 0.0249 = 0.0488, about 4.9 percentage points. The number 1.96 is the value that leaves 95% of a normal curve between −1.96 and +1.96.
  • Interval: 0.55 − 0.0488 to 0.55 + 0.0488, which is 50.1% to 59.9%.

So the poll supports a statement like "between about 50% and 60% of residents support the bus line." This is the common large-sample formula for a proportion. It works well when the sample is random and has plenty of both yes and no answers, as it does here, and it does not fix a poll that reached the wrong people.

The margin depends on the sample size. Keep the same 55% but ask 1,600 people, four times as many, and the margin falls to 2.4 points, about half. The margin shrinks with the square root of the sample size, so halving it takes four times the data.

These numbers come from a short script that recomputes each value and asserts it matches this page.

3. The common misreading

The tempting reading is: "there is a 95% chance the true share is between 50.1% and 59.9%." That is not what the 95% says. The true share is a fixed number, so once you have computed an interval it either contains it or it does not. The 95% belongs to the procedure: if you repeated the poll many times with fresh samples of 400 and built an interval each time, about 95% of those intervals would contain the true share.

You can check this by simulation. We set the true share at 55%, ran 10,000 simulated polls of 400 people and built an interval from each. 9,497 of them, 94.97%, contained 55%. The other 503 missed it, and each of those looked just as ordinary to the person holding it as the ones that hit.

Two related slips are worth watching for. An interval for the average is not a range that holds 95% of individual values, because it describes where the average probably lies, not how much individuals vary. And a 95% interval does not mean that 95% of future sample estimates will fall inside it, because the next sample has its own estimate and its own interval.

These misreadings are common. Hoekstra and colleagues gave 120 researchers and 442 students in psychology six false statements about a confidence interval. On average they endorsed more than three of the six, and the researchers' answers were close to those of students who had not studied inference.

4. Check that you understand it

Close this page and explain a 95% confidence interval to someone else, or to an empty room, in two or three sentences. Use your own example, and say what the 95% refers to. Then reopen the page and compare, looking for the first place your explanation drifted, which is often a slide into "the chance the true value is in here." For the general method, see how to test yourself.

What the sources found, and their limits

Hoekstra, Morey, Rouder and Wagenmakers, 2014. In "Robust misinterpretation of confidence intervals" (Psychonomic Bulletin & Review), 120 researchers and 442 students in psychology judged six statements about a confidence interval, all of them false. On average both groups endorsed more than three, self-declared statistical experience was not related to the researchers' performance, and the researchers' answers were close to the students'. Limits: the participants were psychologists and psychology students, and we read the abstract record, not the full paper. Source: Europe PMC abstract record, 2014, read on 2026-11-23.

How Professor Turing helps

Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start.

Bring a topic you are studying, such as what a confidence interval tells you. Its first reply asks what you already know before it teaches anything. If you answer with a bare guess, such as a term, it asks how you got there instead of saying right or wrong, and when you stay stuck it changes its approach and makes the next step smaller instead of giving the final answer. Later in a session it can offer a short test without help, scored apart from the tutoring, so you can tell what you can do alone from what the tutor carried you through.

It does not read or mark a written answer, and it does not write your explanation for you, so the explanation has to be yours. You must be 18 or older, and conversations are deleted after 7 days.

FAQ

Does a 95% confidence interval mean there is a 95% chance the true value is inside it? No. The 95% describes the method, not one finished interval. If you repeated the same poll many times and built an interval from each sample, about 95% of those intervals would contain the true value. In our simulation of 10,000 polls of 400 people, 9,497 of the intervals did. Any one interval either contains the true value or it does not.

What makes a confidence interval narrower? A larger sample. In our poll example, 220 yes answers out of 400 gives a margin of about 4.9 points. The same 55% share from 1,600 people gives about 2.4 points, because the margin shrinks with the square root of the sample size.

Can the tutor mark my explanation of a confidence interval? No. It does not take a written answer to mark. It can ask you questions about what a confidence interval is and is not, and you write the explanation yourself.

Start with what you're working on

Tell the tutor which topic you are studying and let it ask you the questions.

Start learning No account needed

See also: all study guides