Vaccine Immunity

Calculate herd immunity threshold, effective reproduction number (Re), and required vaccination coverage using R₀ and vaccine efficacy. Free population health tool with visual charts.

Calculate herd immunity thresholds and vaccine coverage

About This Calculator

The Vaccine Immunity & Herd Immunity Calculator helps public health professionals, epidemiologists, students, and the general public understand how vaccination programs can control infectious diseases at the population level. By inputting the basic reproduction number (R₀), vaccine efficacy, and current vaccination coverage, you can estimate whether a population has reached herd immunity and what additional coverage is needed.

The calculator uses the standard epidemiological formula: HIT = 1 − 1/R₀ for the herd immunity threshold, and Re = R₀ × (1 − VE × coverage) for the effective reproduction number. Required vaccination coverage to reach herd immunity is calculated as Required Coverage = HIT / VE. When the effective R drops below 1, each infected person transmits to fewer than one other person, causing the epidemic to decline. The bar chart compares required vs. current vaccination coverage, while the pie chart shows the proportion of the population that needs to be immune to reach the herd immunity threshold.

How to Use

Enter the basic reproduction number (R₀) for the disease you are analyzing — common values are provided as placeholders. Enter the vaccine efficacy as a percentage based on clinical trial or real-world effectiveness data. Enter the current vaccination coverage rate in your population as a percentage of fully vaccinated individuals. The calculator instantly computes key epidemiological metrics and displays a clear status indicator showing whether herd immunity has been reached.

Key Metrics Explained

  • Herd Immunity Threshold (HIT): The minimum proportion of the population that must be immune (through vaccination or prior infection) to stop sustained disease transmission.
  • Effective R (Re): The actual reproduction number under current vaccination levels. An Re below 1 means the epidemic is under control.
  • Required Vaccination Coverage: The percentage of the population that needs to be vaccinated to achieve herd immunity, accounting for vaccine efficacy.
  • Status: Indicates whether current vaccination coverage meets or exceeds the required level for herd immunity.

Regional Context

India: India's universal immunization program covers 12 vaccines targeting diseases like measles (R₀ 12-18, target 95% coverage), polio (R₀ 5-7), and tuberculosis. India achieved polio-free status in 2014 through high-coverage vaccination campaigns. COVID-19 vaccination in India reached over 2.2 billion doses with Covaxin and Covishield as primary vaccines.

United States: The CDC recommends routine childhood vaccinations against 16 diseases. US measles vaccination coverage is approximately 93% (below the 95% herd immunity threshold), leading to periodic outbreaks. COVID-19 vaccines with 95% efficacy (Pfizer, Moderna) significantly reduced case rates during the pandemic.

United Kingdom: The NHS vaccination program targets over 95% coverage for MMR, but rates have declined to 90% in some areas, causing measles outbreaks. The UK was the first country to deploy the Oxford-AstraZeneca COVID-19 vaccine (70% average efficacy) and achieved among the highest global vaccination rates.

Frequently Asked Questions

What is herd immunity?

Herd immunity (or community immunity) occurs when a sufficient proportion of a population becomes immune to an infectious disease, making its spread from person to person unlikely. The herd immunity threshold is calculated as 1 − 1/R₀, where R₀ is the basic reproduction number. For example, measles with an R₀ of 12-18 requires 92-94% immunity to achieve herd protection.

How is herd immunity threshold calculated?

The herd immunity threshold (HIT) is calculated using the formula: HIT = 1 − 1/R₀, where R₀ is the basic reproduction number of the disease. This formula assumes perfect, lasting immunity. For a disease with R₀ = 3 (like COVID-19 original strain), HIT = 1 − 1/3 = 66.7%. With vaccines, the required vaccination coverage = HIT / vaccine efficacy.

What is the effective reproduction number (Re)?

The effective reproduction number (Re) measures how many people one infected person will transmit the disease to, given current immunity levels and interventions. When Re is below 1, the epidemic is declining. Re is calculated as: Re = R₀ × (1 − VE × coverage), where VE is vaccine efficacy and coverage is the proportion of the population vaccinated.

What is a typical R₀ value for different diseases?

Typical R₀ values vary by disease: Seasonal influenza (1.3), COVID-19 original strain (2.5-3), polio (5-7), smallpox (5-7), rubella (6-7), mumps (10-12), measles (12-18). Higher R₀ means more contagious disease requiring higher vaccination coverage for herd immunity.

Can herd immunity be achieved without vaccines?

Herd immunity can theoretically be achieved through natural infection, but this would require a large portion of the population to get sick, leading to significant illness, hospitalizations, and deaths. Vaccination is the safest path to herd immunity. For COVID-19, achieving herd immunity through natural infection would have caused millions of deaths globally.

What happens if vaccination coverage is below the herd immunity threshold?

When vaccination coverage falls below the herd immunity threshold, the effective reproduction number (Re) remains above 1, meaning the disease continues to spread through the population. This leads to ongoing outbreaks that can strain healthcare systems. Outbreaks particularly affect vulnerable individuals who cannot be vaccinated for medical reasons.

How does vaccine efficacy affect herd immunity?

Higher vaccine efficacy reduces the vaccination coverage needed to achieve herd immunity. For example, with R₀ = 5 (like polio), a 95% effective vaccine requires 84% coverage, while a 70% effective vaccine requires 100%+ coverage (making herd immunity impossible). This is why highly efficacious vaccines are crucial for controlling highly contagious diseases.

Is herd immunity relevant only for COVID-19?

No, herd immunity is a fundamental epidemiological concept applicable to any infectious disease, including measles, polio, influenza, whooping cough, and many others. Routine childhood vaccination programs rely on herd immunity to protect communities. For example, measles requires 95% vaccination coverage to maintain herd immunity and prevent outbreaks.