Input Parameters
Historical Presets
Total number of individuals in the population
Number of infected individuals at the start
Infective contacts per day
Daily recovery rate
Simulation duration in days
Results
2.5
60
%23350
64
days2936
57
daysHistorical Presets
Total number of individuals in the population
Number of infected individuals at the start
Infective contacts per day
Daily recovery rate
Simulation duration in days
2.5
60
%23350
64
days2936
57
daysThe SIR model is a mathematical tool that describes how an infectious disease spreads through a population. It divides people into three groups that change over time: Susceptible (S) — those who can catch the disease, Infected (I) — those currently sick and contagious, and Recovered (R) — those who have recovered and are immune.
People move through these groups in one direction only: S → I → R. The model assumes a closed population of constant size N, so S + I + R = N at all times.
It was formalized by Kermack & McKendrick (1927) and remains the foundation of modern epidemiological modeling, including more complex variants like SEIR (adds an Exposed period) and SIRS (allows reinfection).
The rate of change of each group is governed by two parameters: β (how easily the disease spreads per day) and γ (how quickly people recover — γ = 1 / average days sick). The equations below determine exactly how fast each group grows or shrinks each day:
The term β·S·I/N captures the "collision" between susceptible and infected individuals — the more of either group there is, the more new infections occur. As S falls (fewer people left to infect), the epidemic naturally slows down.
The SIR model is a simplification of reality. It is most useful for understanding general epidemic dynamics, not for precise forecasting. Key assumptions to keep in mind:
R₀ answers: "how many people does one sick person infect on average?"It is the single most important number in the model:
The minimum percentage of the population that must be immune (through vaccination or prior infection) for the epidemic to start declining. The higher the R₀, the harder it is to reach herd immunity.
Reference: WHO — Herd immunity and COVID-19
| Disease | β | γ | R₀ | HIT | Source |
|---|---|---|---|---|---|
| COVID-19 (Original) | 0.25 | 0.10 | 2.5 | 60% | ↗ |
| Seasonal Influenza | 0.26 | 0.20 | 1.3 | 23% | ↗ |
| Measles | 1.50 | 0.10 | 15 | 93% | ↗ |
β and γ values are illustrative approximations for this simulator. Real-world values vary by region, variant, and study methodology.