Skip to content
Statistics Medium #confidence-interval#sampling#inference

95% Confidence Interval

Sampling distribution with CI band, plus a repeated-sampling panel showing 15 CIs with one miss.

A free, animated 95% confidence interval you can read here or embed on any website, from Scrollchart.

95% Confidence Interval

95% Confidence IntervalRepeated samples: 95 of 100 CIs contain the true mean

Available in: Français日本語

Left panel: sampling distribution of the mean with 95% CI shaded between 1.96 SE boundaries. Right panel: 15 sample CIs drawn horizontally, with one red miss to illustrate the 95 out of 100 interpretation. True mean shown as dashed vertical.

Good for

  • Intro statistics courses
  • Medical research interpretation guides
  • Science journalism primers

Source & accuracy

This 95% confidence interval is an editorial illustration built to represent the concept accurately. Where it shows figures, they are typical or representative values chosen to make the relationship clear, not a single underlying dataset. The diagram and its explainer are reviewed and maintained centrally, and updated over time as understanding improves.

Sampling variability and interval bands

A 95 percent confidence interval shows the range of plausible values for a population parameter, computed from a single sample. The diagram typically displays a sampling distribution (bell curve) with shaded bands marking the lower and upper bounds of the interval, often roughly two standard errors from the mean.

This is not the probability that the true parameter lies within this interval (it either does or doesn't). Instead, it represents the long-run frequency: if you repeated the study 100 times and computed a CI each time, roughly 95 of those intervals would contain the true parameter.

Visualizing repeated sampling and misses

Many confidence interval diagrams supplement the single-sample interval with a 'repeated sampling' panel showing 15 or 20 hypothetical samples and their computed intervals. One or two intervals typically fall outside the true parameter line, visually demonstrating the 5 percent miss rate.

This approach clarifies the frequentist logic: confidence refers to the procedure's long-run coverage rate, not the certainty of any single interval. It also shows why wider intervals (higher confidence) miss less often than narrow ones.

Embed this diagram

Add this animated 95% confidence interval to your own site. Copy one line of HTML, or use the embed builder for theme and sizing options.

Reference

What this is
A free, embeddable, animated 95% confidence interval for any website.
Who uses it
Data journalists, Researchers & academics, Content marketers, News organizations.
How to embed
Copy one line of HTML. No signup. No watermark. Works in WordPress, Webflow, Ghost, Substack, plain HTML.
File size
iframe embed, ~80 KB gzipped (loads on demand, does not block your page paint).
License
Free forever. Editorial explainer text included; updated centrally over time.

Embed format options

Copy the universal HTML snippet, the WordPress shortcode, or an iframe fallback - see the WordPress plugin page for details. Any format keeps the same Core Web Vitals profile and the same explainer text.

Embed snippet
<div data-scrollchart="confidence-interval-95" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "95% Confidence Interval" for my website?
Scrollchart provides "95% Confidence Interval" as a free, embeddable animated diagram you can add to any website with one line of HTML. No signup is required and there is no watermark. The diagram and its explainer text are served from scrollchart.com, so the embed stays current without any maintenance on your end.
How do I embed a 95% confidence interval in a blog post or article?
Paste the one-line HTML snippet from the Scrollchart diagram page into your post editor. It works in WordPress, Webflow, Ghost, and plain HTML with no plugin required. The animated diagram and its explainer text load from scrollchart.com and render directly in your page DOM.