Hazard Ratio Calculator

Calculate hazard ratio with 95% confidence interval, significance, and absolute risk reduction from survival data.

Share this calculator

Enter event counts and group sizes to calculate the hazard ratio.

Also in Statistics

Survival Analysis

Hazard ratio calculator: compare event rates between treatment and control groups

A hazard ratio calculator computes the ratio of event rates between a treatment group and a control group. Enter event counts and group sizes to get the hazard ratio, 95% confidence interval, statistical significance, and absolute risk reduction.

Understanding hazard ratios

A hazard ratio (HR) compares the rate of events in a treatment group to a control group. An HR of 1 means no difference. An HR less than 1 means the treatment reduces the hazard (beneficial); greater than 1 means the treatment increases the hazard (harmful).

The 95% confidence interval is computed using the log-normal method. If the interval does not include 1, the difference is statistically significant at the 5% level.

HR = (events_treatment / n_treatment) / (events_control / n_control)

Hazard ratio as the ratio of event rates.

Frequently asked questions

How is hazard ratio different from relative risk?

Hazard ratio accounts for time-to-event data and the rate at which events occur over time, while relative risk compares cumulative incidence at a fixed time point. In practice, they are often similar for short follow-up periods.

What does it mean when the confidence interval includes 1?

When the 95% CI includes 1, the difference in event rates is not statistically significant at the 5% level. The data is consistent with no difference between groups.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.