Herd Immunity Threshold Calculator

Public Health

Required vaccination coverage74.07%
Immunity threshold pc66.67%
NoteCoverage at or above this share of the population interrupts sustained transmission.
How this was calculated
  1. The classic threshold is pc = 1 - 1/R0 = 1 - 1/3.00 = 66.67% immune.
  2. With vaccine efficacy 90%, the vaccinated share must satisfy coverage x efficacy = pc.
  3. Required coverage = 66.67% / 90% = 74.07% of the population.
  4. Coverage at or above this share of the population interrupts sustained transmission.

When enough of a population is immune, an infection cannot sustain itself: each case infects, on average, fewer than one other person, and chains of transmission die out. The share that must be immune is the herd immunity threshold, pc = 1 - 1/R0, where R0 is the basic reproduction number. This calculator computes the threshold and then goes one step further - the vaccination coverage actually needed once you allow for the vaccine being less than perfectly effective.

The distinction matters. For R0 = 3 the threshold is 66.67% immune - but with a 90% effective vaccine, coverage must be 66.67 / 0.90 = 74.07% of the population, because a tenth of the vaccinated remain susceptible. For measles (R0 = 15) with a 97% effective vaccine, the required coverage is 96.22% - which is why measles elimination is so demanding and so fragile.

Enter R0 and vaccine efficacy above. If the required coverage comes out above 100%, the calculator says so plainly: herd immunity cannot be reached with that vaccine alone, however complete the campaign - a real situation for some diseases and some vaccines, and one of the most useful things the formula can tell you.

Worked examples

R0 = 3, 90% effective vaccine

(3 · 90)

Required vaccination coverage74.07%
Immunity threshold pc66.67%
NoteCoverage at or above this share of the population interrupts sustained transmission.

Measles-like R0 = 15, 97% effective vaccine

(15 · 97)

Required vaccination coverage96.22%
Immunity threshold pc93.33%
NoteCoverage at or above this share of the population interrupts sustained transmission.

R0 = 1.5, 80% effective vaccine

(1.5 · 80)

Required vaccination coverage41.67%
Immunity threshold pc33.33%
NoteCoverage at or above this share of the population interrupts sustained transmission.

Where 1 - 1/R0 comes from

An infection spreads while its effective reproduction number R exceeds 1. Immunity scales R down in proportion to the susceptible share: R = R0 x (1 - p) for immune share p, under the simple model's assumptions. Setting R = 1 and solving gives pc = 1 - 1/R0. Above it, each introduction sparks at most a stuttering chain; below it, epidemics can take off.

The formula's beauty is its spareness - one parameter in, one threshold out - and its danger is the same: R0 bundles contact patterns, infectious period and per-contact transmission into a single number that varies by setting, season and variant. Treat the threshold as a planning landmark, not a physical constant.

Coverage versus immunity: the efficacy correction

Campaigns deliver vaccinations, not immunity. If a fraction E of vaccinations take, coverage c produces immune share c x E, and reaching pc needs c = pc / E. At E = 100% the two coincide; at realistic efficacies the gap is the whole ballgame: R0 = 1.5 needs only 33.33% immune, but at 80% efficacy that is 41.67% coverage; the measles example needs 93.33% immune and 96.22% coverage.

When pc / E exceeds 100% - say a modest-efficacy vaccine against a high-R0 disease - no coverage level suffices, and control must add other layers: boosters that raise E, targeting of high-transmission groups, or non-vaccine measures. The formula's refusal is information, not failure.

Worked examples

Seasonal-flu-like: R0 = 1.5, efficacy 80%: threshold 33.33%, required coverage 41.67%. Moderate: R0 = 3, efficacy 90%: threshold 66.67%, coverage 74.07%. Measles-like: R0 = 15, efficacy 97%: threshold 93.33%, coverage 96.22%. The nonlinearity is the lesson - the last few points of R0 cost more coverage than the first several combined.

Try R0 = 18 (the high end of measles estimates) at 97% efficacy: pc = 94.44% and required coverage = 94.44 / 0.97 = 97.36% - a target at the edge of what any real programme sustains, which is why measles resurges wherever coverage slips a few points below its threshold.

What the simple model leaves out

Homogeneous mixing is the big assumption: real populations mix by age, household, school and workplace, so immunity in high-contact groups counts for more than the same immunity spread evenly - targeted campaigns can beat the naive threshold, and clustered refusal can lose it locally even when the national number clears it. Waning immunity turns the threshold into a treadmill: coverage must be maintained, not just achieved once.

Natural infection also contributes immunity (at the price of the disease), prior exposure varies by age, and R0 itself shifts with behaviour and variants. Modern epidemic modelling handles all of this with structured models; the threshold formula remains the right first approximation and the right way to explain the concept.

Herd immunity is not elimination

Crossing the threshold means sustained transmission dies out - not that cases stop. Imported cases still occur and still cause short chains, especially in under-vaccinated pockets; measles in elimination-status countries demonstrates this regularly. Elimination is a surveillance-and-response achievement built on top of threshold-level coverage, maintained indefinitely.

Nor is the threshold a cliff edge for individuals: risk declines smoothly as coverage rises, because every vaccination reduces everyone's exposure a little. The threshold is where the decline becomes self-sustaining, which is a population property - no individual is 'protected by the herd' in a binary way.

Using the calculator well

Use R0 estimates for your setting and variant where you have them - published R0 ranges are wide (measles 12-18, seasonal influenza roughly 1.3-1.5, ancestral SARS-CoV-2 around 2.5-3.5 in many estimates) and the coverage answer is sensitive to the choice. Efficacy should be efficacy against infection/transmission for this purpose, which is usually lower than efficacy against severe disease - the number most headlines quote.

Present results as the model presents them: 'at these parameters, the threshold is X% and the required coverage is Y%' - a conditional statement. The calculator's job is to make the conditional arithmetic instant and exact; the judgement about parameters belongs to the epidemiology.

Thresholds for familiar diseases

The formula orders diseases intuitively once R0 values are attached: seasonal influenza (R0 around 1.3-1.5) thresholds near 23-33% immune; a disease with R0 = 3 thresholds at 66.67%; polio-class values around R0 = 5-7 imply 80-86%; and measles, at R0 = 12-18, sits at 91.67-94.44% before any efficacy correction - the highest bar of any routinely vaccine-targeted disease, which is why it is the first to reappear when programmes falter and the canonical example in every treatment of this formula.

Those landmarks explain real policy: measles coverage targets of 95% in elimination programmes are simply pc/E with the numbers filled in and a safety margin added. When a target like that appears in a health-ministry document, this page's two-line derivation is standing behind it.

FAQs

What is the herd immunity threshold for R0 = 3?

66.67% immune - which requires 74.07% vaccination coverage with a 90% effective vaccine.

What coverage does measles need?

At R0 = 15 with a 97% effective vaccine, 96.22% of the population - the threshold itself is 93.33%.

Why is required coverage higher than the threshold?

Because vaccines are imperfect: coverage x efficacy must equal the threshold, so coverage = threshold / efficacy.

Can herd immunity be impossible?

Yes - if threshold / efficacy exceeds 100%, that vaccine alone cannot reach herd immunity at any coverage.

What is the formula for the threshold?

pc = 1 - 1/R0, from setting the effective reproduction number R0 x (1 - p) equal to 1.

Does crossing the threshold guarantee elimination?

No - it means sustained transmission dies out on average; imported cases and local pockets still occur, and coverage must be maintained.

Sources

Related calculators

Specific Growth Rate Calculator
Specific growth rate of fish and shrimp in percent per day, with daily gain, weight doubling time and a forward projection.
Sleep Calculator
Bedtimes and wake times built on 90-minute sleep cycles: when to sleep to wake up at the end of a cycle, not in the middle of one.
Carbon Footprint Calculator
A household carbon footprint from the four sources that dominate it — electricity, natural gas, driving and flights — using the EPA's published emission factors.