Two-by-Two, an evidence bench

Read the table before the headline.

Relative risk and NNT, odds ratios, diagnostic test accuracy, post-test probability, incidence and prevalence and herd immunity thresholds, worked the way an epidemiology course teaches them. Every calculation runs in your browser.

The evidence bench6 calculators for risks, tests, rates and immunity
RR 0.60 · NNT 50

Relative Risk & NNT Calculator

Turn the events and group sizes of a cohort study or trial into relative risk with a 95% confidence interval, absolute and relative risk reduction, and the number needed to treat or harm.

Open the calculator
OR 2.25

Odds Ratio Calculator

Calculate the odds ratio of a case-control study from exposed and unexposed cases and controls, with a Woolf 95% confidence interval, a p value and an optional conversion to an approximate risk ratio.

Open the calculator
PPV 66.7%

Diagnostic Test Calculator

Enter true and false positives and negatives to get sensitivity, specificity, positive and negative predictive values, likelihood ratios, accuracy and Wilson 95% confidence intervals.

Open the calculator
2% → 26.9%

Post-Test Probability Calculator

Combine a pre-test probability with a test’s sensitivity and specificity or its likelihood ratios to find the probability of disease after a positive or negative result, with the odds-form working shown.

Open the calculator
5.0 per 1,000 PY

Incidence & Prevalence Calculator

Calculate an incidence rate per person-time with a 95% confidence interval, cumulative incidence over follow-up, point prevalence and the average disease duration implied by prevalence and incidence.

Open the calculator
HIT 93.3%

Herd Immunity Threshold Calculator

Find the herd immunity threshold from the basic reproduction number R₀, the vaccination coverage needed at a given vaccine effectiveness, and the effective reproduction number at current coverage.

Open the calculator

These calculators are for learning epidemiology and reading published research. They work with summary counts from studies and populations, do not interpret anyone’s own test result, and do not replace advice from a health professional or guidance from public health agencies.