Glossary · Outcomes and endpointsUpdated November 30, 2026

What is a confidence interval? The range behind every trial estimate

A confidence interval (CI) is a range around an estimate, such as a treatment difference, built by a method that captures the true value in a stated share of repeated studies, usually 95%. Narrow intervals mean precise estimates; wide ones mean the trial cannot pin the effect down.

  • Confidence interval in plain language
  • How it works in practice
  • Related terms

Free sandbox · No credit card · 21 CFR Part 11 compliant

  • ISO 27001 certified
  • 21 CFR Part 11 compliant
  • GDPR compliant
  • EU and US data hosting
  • HIPAA compliant
  • ICH GCP E6(R3) compliant
Outcomes and endpointsCI

Confidence interval

noun · clinical research

An interval calculated from the data that, under the model assumptions, would contain the true parameter value in a stated proportion (the confidence level, often 95%) of identically repeated studies.

Related terms

Point estimateStandard errorP-valuePrecisionNon-inferiority margin

In short

  • A CI = point estimate ± (critical value × standard error) for many common analyses. For 95% the critical value is about 1.96.
  • The 95% refers to the method: across many repeated trials, 95% of intervals built this way would contain the true effect. Any single interval either does or does not.
  • If a 95% CI for a difference excludes 0 (or for a ratio excludes 1), the two-sided p-value is below 0.05. The CI also shows how big the effect might be.
  • Width reflects precision. Quadrupling the sample size roughly halves the width.
  • Compare the whole interval with what matters clinically, not just with zero. Non-inferiority and equivalence decisions are made this way.

Explained

Estimate, uncertainty and confidence level

A trial never measures the true treatment effect directly. It measures a sample and produces a point estimate, for example a mean difference or a hazard ratio. Repeat the same trial with different participants and the estimate would change. The standard error describes how much it would typically vary. The confidence interval turns that into a range: roughly, the values of the true effect that are reasonably compatible with what was observed.

The confidence level is chosen in advance. A 95% interval is standard and corresponds to the two-sided 5% significance level used for p-values. A 90% interval is narrower and corresponds to a one-sided 5% test, and is often reported in bioequivalence work, where the pharmacokinetics and bioequivalence acceptance range is judged against a 90% CI for the ratio of means. A 99% interval is wider.

ICH E9 asks that trial reports present estimates of treatment effect together with confidence intervals, and the estimand framework in ICH E9(R1) makes the same point from another angle: decide precisely what effect is being estimated, then report its estimate and the uncertainty around it.

Difference scale versus ratio scale

For differences (mean difference, risk difference) the "no effect" value is 0 and intervals are usually symmetric around the estimate. For ratios (hazard ratio, odds ratio, relative risk) the "no effect" value is 1, and intervals are calculated on the log scale, so they look lopsided on the original scale. A hazard ratio of 0.78 with a 95% CI of 0.64 to 0.95 is symmetric in log terms. See hazard ratio and Kaplan-Meier and the relative risk and odds ratio calculator.

A single proportion

For a response rate or adverse event rate in one group, the simple Wald formula behaves badly with small samples or rates near 0% or 100%. Score-based intervals are preferred: 18 responders out of 60 (30%) gives a Wilson 95% CI of about 19.9% to 42.5%. The confidence interval calculator for a proportion compares the methods and handles zero-event cases.

Worked example

One estimate, four intervals: DEMO-204 walking distance

A demo rehabilitation trial reports a mean difference in 6-minute walk distance at week 12 of 28 m in favour of the intervention, with a standard error of 11 m. The team pre-specified 25 m as the smallest difference that matters to patients. Demo numbers only; normal approximation.

IntervalCalculationRangeExcludes 0?Rules out effects below 25 m?
90% CI28 ± 1.645 × 119.9 to 46.1 mYesNo
95% CI28 ± 1.96 × 116.4 to 49.6 mYes (p about 0.011)No
99% CI28 ± 2.576 × 11-0.3 to 56.3 mNoNo
95% CI, trial four times larger (SE 5.5 m)28 ± 1.96 × 5.517.2 to 38.8 mYesNo, but much closer

The 95% interval shows the effect is probably real but could be as small as 6 m, well below the 25 m that matters. A significant p-value alone would hide that.

Interpreting

Reading an interval against clinical thresholds

The most useful way to read a CI is to place it on a line next to the values that would change a decision: zero (no effect), the smallest important benefit, and, in non-inferiority trials, the margin of acceptable loss. Where the interval falls relative to those lines tells you more than any single p-value.

Non-inferiority and equivalence use the interval directly

A non-inferiority trial succeeds when the whole confidence interval for the difference lies on the acceptable side of the margin; an equivalence trial needs it inside both margins. Here the CI is the decision tool, not an add-on. See the non-inferiority sample size calculator and the equivalence trial sample size calculator.

Planning for precision

Some studies, especially pilots and single-arm studies, are sized to estimate an effect with a given precision rather than to test a hypothesis. Then you choose a target half-width and work backwards. The pilot study sample size calculator and the prevalence sample size calculator do this.

What an interval lets you conclude · demo superiority trial, important difference 25 m
95% CIEffect shown?Important effect shown?Reading
Result 130 to 45 mClear, clinically important benefit
Result 26 to 50 mReal effect, size uncertain
Result 3-4 to 52 mInconclusive: too imprecise
Result 4-5 to 8 mAny important benefit is unlikely
Results 3 and 4 are both "not significant", but they mean very different things.

Common mistakes

Confidence interval misreadings

MisreadingWhat is actually true
"There is a 95% probability the true effect lies in this interval"The 95% describes the long-run behaviour of the method. A probability statement about the parameter needs a Bayesian credible interval.
"Values in the middle of the interval are no more likely than those at the edges"Values near the point estimate are more compatible with the data than values near the limits.
"Overlapping intervals for two arms mean no significant difference"Two separate group intervals can overlap even when the CI for the difference excludes zero. Compare the interval for the difference.
Reporting a CI for each arm but not for the differenceThe difference between arms is the treatment effect; it needs its own interval.
Ignoring adjustment when many intervals are shownWith many endpoints, some intervals will exclude zero by chance; see multiplicity adjustment.

Precision starts with complete data

Every missing outcome widens your interval. Try missing-form tracking and data review in the free sandbox. No credit card, no time limit.

Try Capture free

In Capture

Narrower intervals through fewer gaps

A confidence interval is only as precise as the number of participants with usable outcomes. Capture helps keep that number up during the trial. The Status overview shows every form for every participant and visit, colour-coded, with a filter for overdue forms and a CSV to send each site its list. Data review lists values by form, flags out-of-range, implausible or inconsistent values, and opens the form at the field so a query can be raised. When it is time to analyse, exports give raw or decoded data with a data dictionary, or CDISC SDTM datasets, and lock runs can be exported as SAS XPT or CSV.

  • Overdue and missing forms visible per site, participant and visit.
  • Built-in checks for implausible values, unit changes and missing values.
  • Analysis exports with a data dictionary or as SDTM datasets.
Help: review values across participants and visits
Status overview · subjects by visit
SCRD1W2W4W8W12EOS
01-001
01-002
01-003
01-004
01-005
01-006
Complete Partial Missing Overdue Not done Screen-failed

FAQ

Common questions

Something not covered here? Ask us directly.

What does a 95% confidence interval mean?

If the same trial were repeated many times and an interval calculated each time, about 95% of those intervals would contain the true effect. It gives the range of effects reasonably compatible with the data.

How is a confidence interval related to a p-value?

For the same analysis, a 95% CI that excludes the no-effect value (0 for differences, 1 for ratios) corresponds to a two-sided p-value below 0.05. The CI adds information about the size of the effect.

What makes a confidence interval narrower?

A larger sample, less variable outcomes, fewer missing data and a lower confidence level. Width scales roughly with one over the square root of the sample size.

What does it mean if a confidence interval includes 1?

For a ratio such as a hazard ratio or odds ratio, 1 means no difference. An interval that includes 1 means the data are compatible with no effect at that confidence level.

Why do bioequivalence studies use 90% confidence intervals?

Bioequivalence is shown with two one-sided tests at 5% each, which is equivalent to checking that a 90% CI for the ratio of means lies inside the acceptance range.

Collect the data that tightens your estimate

Build your study in the free sandbox and test missing-data views, edit checks and exports with dummy participants. No credit card, no time limit.

Try Capture free