# Zombie outbreak calculator > How fast would a zombie outbreak overwhelm your town? Change the rules. See whether the town survives. Explore a fictional zombie outbreak with the classic SZR model. Adjust bite and defeat rates, compare population curves and time an intervention. - Page: https://how.box/zombie-outbreak/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/zombie-outbreak/?humans={humans}&zombies={zombies}&bite={bite}&defeat={defeat}&resurrection={resurrection}&death={death}&days={days}&action_day={action_day}&eradication={eradication} - `humans` (number 1 to 10000): humans. Example: `500`. - `zombies` (number 0 to 10000): zombies. Example: `1`. - `bite` (number 0 to 0.02): bite. Example: `0.0095`. - `defeat` (number 0 to 0.02): defeat. Example: `0.005`. - `resurrection` (number 0 to 1): resurrection. Example: `0.0001`. - `death` (number 0 to 0.1): death. Example: `0`. - `days` (number 1 to 100): days. Example: `20`. - `action_day` (number 0 to 100): action_day. Example: `3`. - `eradication` (number 0 to 100): eradication. Example: `0`. Example answer: https://how.box/zombie-outbreak/?humans=500&zombies=1&bite=0.0095&defeat=0.005&resurrection=0.0001&death=0&days=20&action_day=3&eradication=0 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `zombie_outbreak_calculate`: Integrate the fictional Munz SZR model with RK4 over days. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"zombie_outbreak_calculate","arguments":{"humans":500,"zombies":1,"bite":0.0095,"defeat":0.005,"resurrection":0.0001,"death":0,"days":20,"action_day":3,"eradication":0}}}` - GET: https://how.box/mcp/run/zombie_outbreak_calculate?humans=500&zombies=1&bite=0.0095&defeat=0.005&resurrection=0.0001&death=0&days=20&action_day=3&eradication=0 ## How it works This fictional SZR model follows the paper “When zombies attack!” by Munz, Hudea, Imad and Smith (2009). S counts susceptible humans, Z zombies and R removed bodies that may rise again. Births are set to zero. It is a mathematical story, not a model of a real infection. The equations are S′ = −βSZ − δS, Z′ = βSZ + ζR − αSZ and R′ = δS + αSZ − ζR. For S = 500, Z = 1, β = 0.0095 and α = 0.005, initially S′ = −4.75 and Z′ = 2.25 people per day when δ = 0 and R = 0. Rates β and α are per person per day, not normalized by population. The optional one-time intervention permanently removes the chosen percentage of both Z and R; this is our fictional extension, not the paper’s repeated attacks. Earlier action preserves more humans. “Town falls” means S drops below one. “Humans win” means S ≥ 1 and Z < 1 with no material resurrection reservoir or continuing death-to-resurrection source at the selected horizon; it is a numerical threshold, not proof of permanent extinction. ## FAQ **Why a separate model from epidemic?** SIR recovery grants lasting immunity. SZR instead allows removed bodies to resurrect and humans to defeat zombies. **Does defeat always save the town?** No. Defeated zombies enter R and can resurrect if ζ is positive. **How fast must I act?** Move the intervention day earlier and compare survivors. The result depends on both its timing and the fraction permanently removed. **Why does the outcome stay unresolved?** The horizon may end before either population crosses the extinction threshold. **How is the curve calculated?** Fourth-order Runge–Kutta with small rate-dependent steps. Populations are continuous expected numbers in a well-mixed town. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)