Clinical Knowledge › Epidemiology and biostatistics › Inferential statistics
Confidence intervals
A confidence interval (CI) is a range of values for a population parameter, calculated from a sample, that shows both the size of an effect and the precision of the estimate. A 95% CI is built so that, if a study were repeated many times, 95% of the intervals would contain the true value; informally, it is the range of values reasonably compatible with the data. For a mean, 95% CI = mean ± 1.96 × SEM (SEM = SD/√n); for a proportion, p ± 1.96 √[p(1 − p)/n]; ratios are handled on the log scale. Worked example: 64 adults, mean cholesterol 5.4 mmol/L, SD 1.2: SEM 0.15, 95% CI 5.11 to 5.69 mmol/L. A CI for a difference that excludes 0, or for a ratio that excludes 1, means two-sided P < 0.05. Width shrinks with larger samples (quadrupling n halves the width) and grows with higher confidence (99% uses 2.58). Traps: confusing a CI with a reference range (mean ± 1.96 SD), assuming overlapping group CIs mean no significant difference, and ignoring whether the interval includes clinically important effects.
Patient case, mechanism, investigations, management, differentials, exam pearls, flashcards and exam-style questions. Included free with every exam plan (IFOM, MCCQE, AMC, Qatar, MRCP, OET) or a Clinical Knowledge plan.Open the lesson → See plans

Key facts (preview)
- 95% CI for a mean = mean ± 1.96 × SEM, where SEM = SD/√n (use t instead of 1.96 for small samples)
- 95% CI for a proportion = p ± 1.96 × √[p(1 − p)/n] (large-sample Wald method)
- Ratios (RR, OR, HR) are calculated on the log scale and back-transformed, so their CIs are asymmetric
- CI excluding the null value (0 for differences, 1 for ratios) ⇔ two-sided P < 0.05
Guideline
CONSORT 2025, GRADE imprecision guidance (2011; updated GRADE Guidance 34, 2022) and Cochrane Handbook v6.5 (2024)
References
- Hopewell S, Chan AW, Collins GS, et al.. CONSORT 2025 statement: updated guideline for reporting randomised trials. BMJ 2025.
- Guyatt GH, Oxman AD, Kunz R, et al.. GRADE guidelines 6. Rating the quality of evidence - imprecision. J Clin Epidemiol 2011.
- Zeng L, Brignardello-Petersen R, Hultcrantz M, et al.. GRADE Guidance 34: update on rating imprecision using a minimally contextualized approach. J Clin Epidemiol 2022.
- Higgins JPT, Thomas J, Chandler J, et al., eds.. Cochrane Handbook for Systematic Reviews of Interventions, version 6.5. Cochrane 2024.
- Gardner MJ, Altman DG. Confidence intervals rather than P values: estimation rather than hypothesis testing. Br Med J (Clin Res Ed) 1986.
- Altman DG, Bland JM. How to obtain the confidence interval from a P value. BMJ 2011.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.