Skip to content
Omnikalc

Herd immunity calculator: what share must be immune?

Enter R0, the effectiveness of the vaccine, the population and the share already vaccinated to get the herd immunity threshold and the vaccination coverage needed.

Updated on

Educational tool, not medical advice: this page does not diagnose and does not replace a doctor, nurse or pharmacist. It has not been reviewed by a healthcare professional. Editorial and medical policy

Your inputs

Value out of range

%

Value out of range

Value out of range

%

Value out of range

Results

Herd immunity threshold

66.7%

Vaccination coverage needed
70.2%
Reachable with this vaccine
People to vaccinate in total
701,754
Immune share today
57.0%
Additional people to vaccinate
101,754

This calculator is for general information and education. It is not medical advice and does not replace the advice of your doctor or a registered dietitian.

Herd immunity is the point at which an infection stops spreading because enough people are immune. The herd immunity calculator takes R0, the effectiveness of the vaccine, the population and the share already vaccinated to give the herd immunity threshold, the vaccination coverage needed, the people to vaccinate, the immune share today and the additional people who need a dose.

How the calculation works

  • Herd immunity threshold = (1 − 1 ÷ R0) × 100. R0 is the average number of people that one case infects in a fully susceptible population. If enough people are immune, each case infects fewer than one other, and the outbreak dies out.
  • Vaccination coverage needed = threshold ÷ vaccine effectiveness × 100. A vaccine that does not give full protection means that more people must be vaccinated.
  • People to vaccinate in total = coverage needed × population. Immune share today = share vaccinated × effectiveness.
  • Additional people = (coverage needed − share vaccinated) × population, never below zero. If the coverage needed is above 100%, vaccination alone cannot reach the threshold.

Example

With R0 = 3, the threshold is (1 − 1 ÷ 3) = 66.7%. A vaccine that is 95% effective needs 66.7 ÷ 0.95 = 70.2% coverage, which is 701,754 people in a population of 1,000,000. If 60% are vaccinated, the immune share is 57%, and 101,754 more people need a dose.

Why it matters

The threshold explains why a disease like measles needs about 95% vaccination, while a less contagious one needs much less. Public health teams and curious readers can use the numbers to see what a coverage level means in people, and why small drops in coverage matter.

Good to know

The model is a textbook simplification and is not a forecast for a real outbreak. It does not cover partial or waning protection, uneven coverage between groups or a vaccine that reduces illness but not transmission. Real thresholds are also affected by how R0 changes with behavior and season. Talk to a physician or your public health service about vaccines for you and your family.

The logistic growth calculator models growth that levels off, the exponential growth calculator models early growth and the cell doubling time calculator gives the doubling time of a count.

Frequently asked questions

What is herd immunity?

Herd immunity means that enough people in a population are immune to an infection, by vaccination or past infection, that the disease cannot spread easily. People who cannot be vaccinated, such as babies or patients with a weak immune system, are then protected because the germ rarely reaches them.

What is R0?

The basic reproduction number R0 is the average number of people infected by one case in a population where nobody is immune and no measures are taken. Seasonal flu is often about 1.3, COVID-19 in early 2020 estimates ranged from 2 to 3, polio about 5 to 7 and measles 12 to 18. These values vary with place and behavior.

Why is the coverage higher than the threshold?

Vaccines do not protect everyone. If a vaccine is 90% effective, only 9 in 10 people vaccinated become immune, so to reach a threshold of 90% you would need to vaccinate all. For highly contagious diseases such as measles, high coverage with a vaccine of 97% effectiveness is needed, around 95%.

Is the formula exact?

It is a simple model that assumes that the population mixes evenly, that immunity is permanent and complete and that R0 is stable. In reality people cluster in schools and neighborhoods, immunity can wane and new variants change R0, so pockets of low coverage can allow outbreaks even when the national average is above the threshold.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.