PPolySim OS

Confidence Intervals

The most misunderstood idea in statistics, finally made intuitive. Draw fifty samples, build fifty intervals, and watch about 95% of them capture the true mean.

Confidence IntervalsLive

Controls

Presets

A confidence interval is often misread. It does not mean the true value has a 95% chance of being in one interval — it means that if you repeated the experiment many times, about 95% of the intervals would contain the true mean. The red intervals here are the unlucky ones that miss it.

▶ Run in Python

Data Inspector

Confidence level95%
Observed coverage0%
Intervals shown50

Governing equation

Reading this result: About 0% of these 50 intervals captured the true mean — close to the 95% you asked for. Raising n from 30 tightens each interval (SE = σ/√n) but does not change that hit rate: the confidence level, not the sample size, sets how often you are right.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

A confidence interval does not say the true value has a 95% chance of lying in one particular interval. It says the procedure produces intervals that, over many repetitions, contain the true parameter about 95% of the time. The red intervals here are the unlucky ones that miss — exactly the fraction the confidence level predicts.

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Statistics simulations

Frequently asked questions

Is this confidence interval simulator tool really free?
Yes. Confidence Intervals runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.