Outbreak sandbox: R0, epidemic curves and herd immunity

NAVLEBCSEChange R0, the infectious period and vaccination coverage and watch an epidemic curve rise and fall, and find the herd immunity threshold.

  1. 1
    You change

    How many contacts an infected animal has, the chance each one transmits, how long it stays infectious, vaccination and control measures.

  2. 2
    Inside

    Animals move from susceptible to exposed, infectious and recovered. Each new case infects R0 × (share still susceptible) others.

  3. 3
    The readout

    The epidemic curve, the peak, how many animals get infected, and the herd immunity threshold.

Herd or population
Chart

Epidemic curve over 120 days

Drag across the chart to move the day
TransmissionR0 = contacts × chance × days = 2.0
Close contacts of one infectious animal each day.
Chance that one contact passes on infection.
How long an animal sheds the agent.
Infected but not yet infectious.
Vaccination and controlHerd immunity threshold 50%
Share of the herd vaccinated before the first case.
Share of vaccinated animals that become immune.
Movement standstill, isolation, biosecurity.
Days after the first case.
New susceptiblesBirths, purchases or shelter intake (others leave at the same rate)
At 0 the herd is closed: the outbreak burns out. With turnover, fresh susceptibles can keep the disease going (endemic).

What happens inside: the SEIR model

Numbers are animals on the chosen day; arrows light up when animals are moving along them. Click any box.

Click a box to see what it means.


Pick a problem

Contact rates, transmission chances and periods in these problems are illustrative round numbers chosen to show the principle, not measured values for any real disease.

Starting point

A closed herd of 1,000 animals with no immunity and one infectious animal. R0 = 4 contacts a day × 10% chance × 5 days infectious = 2. Move the day along the chart, then raise the vaccinated share past the herd immunity threshold and watch the outbreak disappear.


Study notes

Formulas to know

Spread and herd immunity

Simple models: everyone mixes evenly.

MeasureFormula
Basic reproduction number (R0)New cases from one case in a fully susceptible populationcontacts/day × chance per contact × days infectious
Effective reproduction number (Re, Rt)Below 1 the outbreak shrinksR0 × share still susceptible
Herd immunity thresholdImmune share that keeps Re below 11 − 1/R0
Critical vaccination coverageWith a vaccine of efficacy E(1 − 1/R0) ÷ E
Final size (closed herd)Share ever infected, zz = 1 − e−R0·z
PeakNew cases peak when Re falls to 1share susceptible = 1/R0

R0 against herd immunity

Immune share needed, and share infected if nothing is done.

R0Herd immunityEver infected
1.533%58%
250%80%
367%94%
475%98%
580%99%
1090%> 99.9%

Rates used in outbreaks

MeasureFormula
Attack rateCumulative incidence during an outbreaknew cases ÷ animals at risk
Morbidity ratesick animals ÷ population
Mortality ratedeaths ÷ population
Case fatality ratedeaths ÷ cases
Incidence vs prevalenceprevalence ≈ incidence × duration

Time periods

PeriodFrom and to
Latent periodInfection to becoming infectious
Incubation periodInfection to first clinical signs. If shedding starts before signs, isolating sick animals is too late.
Infectious periodThe time an animal can transmit; carriers extend it
Prepatent periodParasites: infection to eggs or larvae in feces
Serial intervalOnset in one case to onset in the case it infected; spacing of waves in a propagated curve

Epidemic curve shapes

Cases by date of onset.

Point sourceOne shared exposure (contaminated feed, a single water event). One sharp peak; all cases fall within one incubation period.
Continuous common sourceThe source keeps exposing animals until it is removed. Cases rise and stay on a plateau, then drop when the source is fixed.
PropagatedAnimal-to-animal spread (the curve in this tool). Successive, growing waves about one serial interval apart, then a decline as susceptibles run out.

Memory hooks

  • R0 is CPD: Contacts × Probability × Duration. Cut any one and R0 falls.
  • Above 1 it grows, below 1 it goes.
  • Herd immunity = 1 − 1/R0: R0 of 4 needs 75% immune.
  • Vaccination lowers Re, not R0: R0 is defined in a fully susceptible population.
  • The curve peaks when the susceptible share falls to 1/R0, long before every animal is infected.
  • A longer latent period slows the outbreak but does not change how many get infected in a closed herd.
  • Early control beats strong late control: animals already infected keep transmitting.
  • Dead-end hosts (horses with West Nile virus) have R0 of zero for onward spread.

Exam check

For exam study only. Simplified teaching models: do not use these tools to make decisions for real patients. Last reviewed November 2026.

More free tools in the Vet Lab

ECG Rhythm Bench Acid-Base and Blood Gas Interpreter Fluid Plan and CRI Builder Diagnostic Test Bench Pharmacokinetics Bench Anaesthesia Machine and Capnograph Nephron and Diuretic Sites Clotting Cascade and Test Bench Spinal Cord Lesion Localiser Bovine Ping Map Estrous Cycle and Synchronization Poison Clock Adrenal Test Bench MAC and Inhalant Uptake Autonomic Receptor Board Chemistry Panel Patterns Dystocia Manipulator Transition Cow Metabolic Simulator Drug Withdrawal and Extra-Label Use Equine Nerve Block Ladder X-ray Exposure Console Suture Selector and Wound Healing Sterilization and Disinfectant Bench Euthanasia Method Matrix Urinalysis Bench Anemia Workup Maternal Antibody and Vaccine Timing Dentition Builder Fish Tank Water Quality
Now test it on exam-style questions.
Practice NAVLE and BCSE questions with full explanations.
Start free trial