Calculate vaccine efficacy from clinical trial data: relative risk, 95% confidence interval, NNV, absolute risk reduction, and statistical significance.
When a pharmaceutical company announces that their vaccine is "95% effective," what exactly does that number mean? The Vaccine Efficacy Calculator lets you plug in actual clinical trial numbers — infections and participants in vaccine and placebo groups — to calculate efficacy yourself, complete with confidence intervals and statistical significance.
Vaccine efficacy (VE) is calculated as 1 minus the relative risk: the ratio of the infection rate in the vaccinated group to the infection rate in the unvaccinated control group. A VE of 95% means the vaccinated group had a 95% lower risk of infection compared to the placebo group. But the raw number alone is not enough — you need confidence intervals to know how precise that estimate is, and p-values to know whether the result is statistically significant.
This calculator also computes the Number Needed to Vaccinate (NNV) — how many people need to be vaccinated to prevent one infection — and the absolute risk reduction, which provides a more intuitive measure of real-world impact than the relative risk alone.
Understanding how vaccine efficacy is calculated empowers you to read clinical trial results critically. Instead of relying on headline numbers, you can examine the raw data, check confidence intervals, and assess whether results are truly significant.
This is especially valuable for healthcare professionals, public health students, and informed citizens who want to go beyond soundbites and understand the evidence behind vaccination recommendations.
Vaccine Efficacy (VE) = (1 - RR) × 100% Relative Risk (RR) = (Infections_vaccine / Total_vaccine) ÷ (Infections_control / Total_control) 95% CI: exp(ln(RR) ± 1.96 × SE), where SE = √(1/a - 1/b + 1/c - 1/d) NNV = 1 / Absolute Risk Reduction
Result: 95.0% efficacy (95% CI: 91.0%–97.4%)
Risk in vaccine group: 8/18000 = 0.044%. Risk in control: 160/18000 = 0.889%. RR = 0.05, so VE = 1 - 0.05 = 95.0%.
Vaccine efficacy is fundamentally a comparison of disease risk between vaccinated and unvaccinated groups. The gold standard is the randomized controlled trial (RCT), where participants are randomly assigned to receive the vaccine or a placebo, and infection rates are compared after a sufficient follow-up period.
The relative risk (RR) is the ratio of infection rates. If the vaccine group has a 0.05% infection rate and the control group has 1.0%, the RR is 0.05, and VE = 1 - 0.05 = 95%. The confidence interval around this estimate uses the natural log of the RR and its standard error, derived from the four cell counts (infections and non-infections in each group).
The NNV is the reciprocal of the absolute risk reduction (ARR). If the ARR is 0.89% (1.0% - 0.11%), the NNV is about 113. This means you need to vaccinate 113 people to prevent one infection. NNV depends heavily on the background infection rate — the same vaccine will have a lower NNV during an epidemic than during low transmission.
Efficacy from a clinical trial applies to the specific population studied, the specific time period, and the specific pathogen strain. It may not generalize to different demographics, different variants, or different exposure settings. Post-marketing surveillance and observational studies measure real-world effectiveness over time and across diverse populations, providing a more complete picture of vaccine performance.
Efficacy is measured in controlled clinical trials with selected populations. Effectiveness is measured in real-world conditions with diverse populations. Effectiveness is typically lower than efficacy due to imperfect adherence and population heterogeneity.
The 95% confidence interval gives the range in which we are 95% confident the true efficacy lies. A narrow CI (e.g., 93-97%) indicates a precise estimate, while a wide CI (e.g., 40-95%) indicates more uncertainty.
NNV tells you the practical impact: how many people need to be vaccinated to prevent one case. An NNV of 113 means vaccinating 113 people prevents 1 infection, which helps contextualize cost-effectiveness.
Technically yes — a negative VE means the vaccine group had MORE infections than the control group. This would strongly suggest the vaccine is harmful or ineffective, and is a trial stopping criterion.
Larger trials produce narrower confidence intervals for more precise estimates. Small trials may show high or low efficacy but with wide CIs, making it hard to draw conclusions.
The WHO and most regulatory agencies require at least 50% efficacy for vaccine approval. The FDA and EMA typically want the lower bound of the 95% CI to be above 30%.