Free cheat sheet · USMLE Step 1 · Biostatistics and Epidemiology
Biostatistics Formulas Cheat Sheet
The formulas you need for USMLE biostatistics questions, each with a worked example: sensitivity, specificity, PPV and NPV, likelihood ratios, incidence and prevalence, relative risk, odds ratio, attributable risk, NNT and NNH, type I and II error and power. The wording comes from our Biostatistics and Epidemiology notes, and every line links to its official source: tap a number to see the exact quote. Checked 9 November 2026.
Want the whole subject? The Step 1 Biostatistics and Epidemiology High-Yield Notes are a PDF and an Anki deck, with every line linked to a word-for-word official source quote. This subject is free.
Get the free Biostatistics notesStep 1 bundle: all 26 subjects
Sensitivity, specificity, PPV and NPV
| Disease present | Disease absent | |
|---|---|---|
| Test positive | TP (true positive) | FP (false positive) |
| Test negative | FN (false negative) | TN (true negative) |
Layout used on this sheet: test result in rows, disease in columns. Sensitivity and specificity read down the columns; PPV and NPV read across the rows.
- Sensitivity = TP/(TP + FN).1,1
- Specificity = TN/(TN + FP).1
- PPV = TP/(TP + FP).1
- NPV = TN/(TN + FN).1
- SnNout: a highly sensitive test, if negative, rules out the disease.2,3
- SpPin: a highly specific test, if positive, rules in the disease.2,3
- Sensitivity and specificity describe the test and are treated as constant across prevalence; prevalence changes PPV and NPV.1,4
- 1,000 patients vs biopsy: TP 432, FN 68, TN 382, FP 118.5,5
- 500 patients affected (TP + FN) and 500 unaffected (TN + FP).1,1
- Sensitivity = 432/500 = 86%; specificity = 382/500 = 76%.1,1
- PPV = 432/550 = 79%; NPV = 382/450 = 85%.1,1
How prevalence changes PPV and NPV
- PPV and NPV depend on the prevalence of the disease.1,6
- ↑ Prevalence → ↑ PPV.1,6
- ↑ Prevalence → ↓ NPV.6,1
- Example: sensitivity and specificity 90%, 1,000 people, prevalence 1% → TP 9, FP 99 → PPV = 9/108 ≈ 8%; NPV = 891/892 > 99%.1,1
- Same test at prevalence 20% → TP 180, FP 80 → PPV = 180/260 ≈ 69%; NPV = 720/740 ≈ 97%.1,1
Likelihood ratios
- LR+ = sensitivity ÷ (1 − specificity).1
- LR− = (1 − sensitivity) ÷ specificity.1
- LR+: how many times more likely a positive test is in people with the disease than in people without it.7
- LRs are built only from sensitivity and specificity (not prevalence); they turn pre-test odds into post-test odds.1,1
- LR+ > 10 strongly rules disease in; LR− < 0.1 strongly rules it out.2
- Example: sensitivity 80%, specificity 90% → LR+ = 0.8/0.1 = 8; LR− = 0.2/0.9 ≈ 0.22.1,1
Incidence vs prevalence
- Incidence: new cases (e.g., in a year) divided by the population at risk.8,9
- Prevalence: existing cases divided by the total population.10,11
- Prevalence ≈ incidence × disease duration (when both are relatively constant).10,12
- Treatment that prolongs survival without cure → ↑ prevalence (a cure ↓ prevalence).10,8
- Example: 100 new cases among 5,000 people at risk → incidence 2%; next year only 4,900 are at risk, so the same incidence gives 98 new cases.8,10
- Example: 100 existing + 50 new cases in 5,000 people → prevalence = 150/5,000 = 3%.10,13
- Example: incidence 5% a year, average duration 3 years (both stable) → prevalence ≈ 5% × 3 = 15%.12,12
Relative risk (RR)
- Relative risk (RR): risk of disease in the exposed divided by the risk in the unexposed.14
- RR = [a/(a + b)] ÷ [c/(c + d)] (a, b = exposed with and without disease; c, d = unexposed).14,14
- The RR is the measure of association of cohort studies.15
- Example: gallbladder cancer in 18 of 2,000 smokers vs 2 of 2,000 non-smokers → RR = 0.009/0.001 = 9.14,14
Odds ratio (OR)
- Odds ratio (OR): odds of exposure among cases divided by odds of exposure among controls.16
- The OR is the measure of association of case-control studies.17
- OR = (a/b) ÷ (c/d) = ad/bc (a, b = exposed cases and controls; c, d = unexposed).14,14
- Example: cases 60 exposed, 40 not; controls 30 exposed, 70 not → OR = (60 × 70)/(40 × 30) = 4,200 / 1,200 = 3.5.16,18
Attributable risk
- Attributable risk: risk in the exposed minus risk in the unexposed.5,19
- Attributable risk = a/(a + b) − c/(c + d): the extra risk (a difference); RR is a ratio (how many times more likely).5,14
- Example: prostate cancer in 600 of 5,000 exposed vs 400 of 5,000 unexposed → attributable risk = 0.12 − 0.08 = 0.04 (4%).5
- Attributable risk percent = attributable risk ÷ risk in the exposed × 100: the share of cases in the exposed due to the exposure.19,19
- Same example: 0.04/0.12 = 33% of the exposed men’s cases are due to the exposure.19,19
ARR, RRR, NNT and NNH
- Absolute risk reduction (ARR): the difference in risk (control risk minus treated risk).20,21
- Relative risk reduction (RRR): the proportion of the risk removed (ARR divided by the control risk).20,20
- NNT = 1/ARR (absolute risk reduction).21,21
- NNH = 1/ARI (absolute risk increase).22
- Example: MI in 50 of 1,000 on the comparator vs 25 of 1,000 on the new drug → ARR = 0.05 − 0.025 = 2.5%.20,19
- Same example: RRR = 0.025/0.05 = 50%.20,19
- Same example: NNT = 1/0.025 = 40 (treat 40 people to prevent 1 MI).21,21
- Example: brain bleeds in 25 of 500 on the new drug vs 5 of 500 on the standard drug → ARI = 0.05 − 0.01 = 4%; NNH = 1/0.04 = 25.22,5
Type I error, type II error and power
- Type I error: rejecting a true null hypothesis (finding a difference that is not there).23,24
- Type II error: failing to reject a false null hypothesis (missing a real difference; a false negative).23,24
- Alpha (α): the significance level set before the study (usually 0.05); the null is rejected if p < α.24,25
- α is the accepted probability of a type I error (false positive).25,26
- Beta (β): the probability of a type II error; power = 1 − β.26,23
- Power = the probability that a study detects a true effect (rejects a false null hypothesis); low power risks a type II error.24,24
- ↑ Sample size or ↑ expected effect size → ↑ power, so a type II error is less likely.24,23
- A power of 80% or higher (β = 0.20) is generally considered adequate.23,27
- Example: wrongly concluding that a weight-loss pill does not work → type II error.23
Get the full Biostatistics notes
This sheet is one page of formulas. The full notes cover study designs, bias, confidence intervals, statistical tests and more, as a PDF plus an Anki deck, every line with its official source quote. Pick your exam:
Step 1 Biostatistics notes Step 2 CK Biostatistics notes Step 3 Biostatistics notes
Free Step 1 Biostatistics preview (PDF) · The longer biostatistics cheatsheet · Step 1 FAQ 2026 · More free cheatsheets
Sources
Official and society sources, each quote checked in the audit of our notes (October to November 2026). Tap a number on the sheet to see the exact quote; “Open source” opens the page, at the quote where the site allows it.
- StatPearls: Diagnostic Testing Accuracy: Sensitivity, Specificity, Predictive Values and Likelihood Ratios NIH NCBI Bookshelf
- Reference Manual on Scientific Evidence via NCBI Bookshelf: Reference Guide on Medical Testimony NIH NCBI Bookshelf
- PMC: Understanding and using sensitivity, specificity and predictive values NIH PubMed Central
- IOM via NCBI Bookshelf: Assessment of Diagnostic Technology in Health Care, The Use of Diagnostic Tests: A Probabilistic Approach NIH NCBI Bookshelf
- CDC Principles of Epidemiology: Glossary CDC
- NCI PDQ: Cancer Screening Overview NIH National Cancer Institute
- NIHR Health Technology Assessment via NCBI Bookshelf: Measures for assessing an index test against a reference standard NIH NCBI Bookshelf
- StatPearls: Incidence NIH NCBI Bookshelf
- NLM MeSH: Incidence NIH NLM MeSH
- CDC Principles of Epidemiology: Lesson 3, Section 2 CDC
- NLM MeSH: Prevalence NIH NLM MeSH
- StatPearls: Prevalence NIH NCBI Bookshelf
- NIMH: What is Prevalence? NIH NIMH
- StatPearls: Relative Risk NIH NCBI Bookshelf
- StatPearls: Epidemiology Of Study Design NIH NCBI Bookshelf
- NLM MeSH: Odds Ratio NIH NLM MeSH
- StatPearls: Case Control Studies NIH NCBI Bookshelf
- StatPearls: Odds Ratio NIH NCBI Bookshelf
- CDC Principles of Epidemiology: Lesson 3, Section 6 CDC
- PMC: Common pitfalls in statistical analysis: Absolute risk reduction, relative risk reduction, and number needed to treat NIH PubMed Central
- NLM MeSH: Numbers Needed To Treat NIH NLM MeSH
- StatPearls: Radiology Patient Safety and Communication NIH NCBI Bookshelf
- StatPearls: Type I and Type II Errors and Statistical Power NIH NCBI Bookshelf
- StatPearls: Understanding Biostatistics Interpretation NIH NCBI Bookshelf
- StatPearls: Statistical Significance NIH NCBI Bookshelf
- StatPearls: T Test NIH NCBI Bookshelf
- PMC review: Hypothesis testing, type I and type II errors (support) NIH PubMed Central
For exam study, not for clinical use.