Last verified · v1.0
Calculator · health
Vaccine Efficacy Calculator
Compute vaccine efficacy (VE) from trial data using the CDC-standard attack rate formula. Enter case counts for vaccinated and control groups.
Inputs
Vaccine Efficacy
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is Vaccine Efficacy?
Vaccine efficacy (VE) is the percentage reduction in disease incidence among a vaccinated group compared to an unvaccinated control group under controlled clinical trial conditions. It answers the fundamental question: how much does this vaccine reduce a person's risk of contracting the disease? A VE of 90% means that vaccinated trial participants experienced 90% fewer confirmed cases than their unvaccinated counterparts, all else being equal.
The Vaccine Efficacy Formula
The standard calculation, codified by the CDC's Principles of Epidemiology (Lesson 3, Section 6), derives VE from the attack rates of each study group:
VE = (1 − ARV ÷ ARU) × 100%
- ARV (Attack Rate in Vaccinated) = vaccinated_cases ÷ vaccinated_total
- ARU (Attack Rate in Unvaccinated) = unvaccinated_cases ÷ unvaccinated_total
The ratio ARV ÷ ARU represents the relative risk of disease among vaccinated individuals relative to unvaccinated individuals. Subtracting this ratio from 1 yields the fraction of risk eliminated by vaccination, expressed as a percentage. When ARV equals zero — no cases in the vaccinated group — VE reaches its maximum of 100%.
Understanding Each Variable
Cases in Vaccinated Group
The count of confirmed disease cases observed among vaccinated trial participants. Accurate case ascertainment requires standardized diagnostic criteria applied uniformly across both groups to prevent ascertainment bias from inflating or deflating the VE estimate.
Total Vaccinated Population
All subjects enrolled in the vaccinated arm of the trial, regardless of outcome. This denominator converts the raw case count into an attack rate — the proportion who fell ill — making comparisons across differently sized groups valid.
Cases in Unvaccinated Group
Confirmed disease cases among placebo or control recipients. This group establishes the baseline disease burden — what the incidence looks like without vaccination — against which the vaccine's protective effect is measured.
Total Unvaccinated Population
All subjects in the control arm. For unbiased VE estimates, both groups should be comparable in size, age distribution, comorbidity profile, and exposure risk. Imbalances in these factors can confound the result.
Step-by-Step Example: mRNA COVID-19 Vaccine Trial
The Phase 3 Pfizer-BioNTech trial offers one of the most cited applications of this formula:
- Vaccinated group: 8 cases among 18,198 participants → ARV = 8 ÷ 18,198 = 0.000440
- Unvaccinated group: 162 cases among 18,325 participants → ARU = 162 ÷ 18,325 = 0.008840
- VE = (1 − 0.000440 ÷ 0.008840) × 100% = (1 − 0.04977) × 100% ≈ 95.0%
This means vaccinated participants faced approximately 95% lower risk of symptomatic COVID-19. The 95% confidence interval of 90.3%–97.6% confirmed robust statistical significance across the full sample.
Interpreting VE Results
Vaccine efficacy values span a meaningful spectrum:
- VE = 100%: Zero cases in the vaccinated group — complete protection in the trial
- VE ≥ 50%: Meets the WHO minimum benchmark for emergency use authorization consideration
- VE = 0%: The vaccine conferred no measurable protection
- VE < 0%: Vaccinated individuals experienced higher disease incidence — a rare signal warranting investigation for vaccine-enhanced disease or methodological error
Vaccine Efficacy vs. Vaccine Effectiveness
Efficacy and effectiveness are related but distinct concepts. As detailed in the mathematical analysis published in Illinois State University's journal Spora, efficacy describes performance under ideal trial conditions, while effectiveness captures real-world performance under routine immunization programs. Real-world effectiveness typically runs lower than trial efficacy due to cold-chain variability, heterogeneous population health, evolving pathogen variants, and waning immunity over time.
Confidence Intervals and Statistical Reliability
A point estimate of VE is only part of the picture. As demonstrated in the analysis of COVID-19 vaccine confidence intervals published by the University of South Florida, the width of the 95% confidence interval around a VE estimate reflects the certainty of the finding. Large trials with many observed cases produce narrow intervals — strong evidence of true protection. Small trials or low disease incidence can yield wide intervals, making the VE estimate unreliable for policy decisions even if the point estimate appears favorable.
Limitations of the VE Calculation
The standard VE formula assumes equal surveillance intensity across both groups, a consistent case definition, no crossover between arms, and a follow-up period long enough to observe meaningful incidence. Violation of any assumption can bias the estimate. Waning immunity and variant-specific protection are also not captured in a single aggregate VE figure — time-stratified or strain-specific analyses are needed to account for these dynamics.
Reference