Quarantine Calculator

Calculate quarantine duration, risk reduction over time, and probability of being infectious after isolation based on incubation period and test results.

About the Quarantine Calculator

Quarantine and isolation are critical public health tools for preventing disease transmission. The correct quarantine duration depends on the disease's incubation period, symptom onset, test availability, and community risk tolerance. Too short a quarantine risks spreading infection; too long causes unnecessary disruption. The tradeoff is always between residual risk and the cost of keeping people away from normal activity. That balance changes when testing is available and when symptoms appear early or late.

This calculator estimates the optimal quarantine duration and residual risk based on established epidemiological parameters. Enter the exposure date, disease type, and test results, and it computes the probability of still being infectious day-by-day, the recommended quarantine end date, and the cumulative risk reduction achieved.

Whether you're a public health professional designing isolation protocols, a traveler planning around quarantine requirements, or simply trying to understand post-exposure risk, this tool provides quantitative estimates based on published incubation period distributions for common infectious diseases.

Why Use This Quarantine Calculator?

Use this calculator when you need a day-by-day risk estimate instead of a single fixed quarantine number. It is useful for comparing how incubation timing and testing change the residual risk left at different endpoints. That makes policy choices and return-to-work timing easier to compare on the same basis. It is more informative than quoting a single blanket duration without context.

How to Use This Calculator

  1. Enter the date of known or suspected exposure.
  2. Select the disease type from the dropdown (COVID-19, influenza, measles, etc.).
  3. Indicate whether you've had symptoms (and onset date, if applicable).
  4. Enter any test results with dates.
  5. Set the acceptable residual risk threshold (default 5%).
  6. Review the quarantine end date and daily risk curve.
  7. Check the day-by-day risk table for detailed breakdown.

Formula

Residual risk = 1 - CDF(t), where CDF is the cumulative distribution function of the incubation period (typically log-normal or Weibull). With a negative test: P(infectious) = P(incubating at t) × (1 - test_sensitivity). Quarantine ends when residual risk < threshold.

Example Calculation

Result: Quarantine until Jan 17 (7 days), residual risk 3.2%

With COVID-19 exposure on Jan 10, a negative test on day 5, and 5% risk threshold, quarantine can safely end on day 7 with 3.2% residual risk.

Tips & Best Practices

Epidemiology of Quarantine Duration

The quarantine period is fundamentally determined by the incubation period distribution of the pathogen. For a given confidence level (e.g., 95%), the quarantine should last until the CDF of the incubation period crosses that threshold. For COVID-19, the 95th percentile is approximately 11-12 days; for influenza, 4 days; for measles, 21 days.

The log-normal distribution is commonly used to model incubation periods because it captures the characteristic right-skew: most people develop symptoms relatively quickly, but a small tail develops symptoms much later.

Role of Testing in Shortening Quarantine

A negative test result reduces the posterior probability of being infected, following Bayesian logic: P(infected|negative test) = P(negative|infected) × P(infected) / P(negative). High-sensitivity tests (PCR, ~95-99%) taken after the median incubation period can allow quarantine to be shortened by 3-7 days while maintaining acceptable risk levels.

Public Health Policy Considerations

Quarantine policies must balance disease prevention against economic and psychological costs. Overly long quarantines reduce compliance — people break quarantine when they see no symptoms and no positive tests. Risk-based approaches that combine testing with shorter quarantine achieve similar protection with much better adherence rates.

Frequently Asked Questions

What is the difference between quarantine and isolation?

Quarantine separates people who were exposed but aren't yet sick. Isolation separates confirmed infected/symptomatic individuals. This calculator handles both scenarios.

Why do quarantine periods vary by disease?

Each disease has a different incubation period distribution. COVID-19 peaks at 4-5 days, influenza at 1-2 days, and measles at 10-12 days. Quarantine must cover the upper tail of the distribution.

Does a negative test end quarantine?

A negative test reduces but doesn't eliminate risk because no test is 100% sensitive, especially early in incubation. This calculator quantifies the combined risk with test timing.

What does "5% residual risk" mean?

It means there's a 5% probability that you're still incubating the disease at that point. Most guidelines accept 1-5% residual risk for practical reasons.

How are incubation periods modeled?

Typically with log-normal or Weibull distributions fit to epidemiological data. The mean, median, and 95th percentile are the key parameters.

Does vaccination change quarantine duration?

For some diseases, vaccination may shorten the recommended quarantine. This calculator doesn't currently adjust for vaccination status — follow local health authority guidelines.

Related Pages