TL;DR
The hazard ratio compares how fast two groups are having an event at the same moment. It is the hazard in one group divided by the hazard in the other, so a value of 0.5 means that group's instantaneous rate is half the other's at every time. It is a ratio of rates, not of probabilities, and that is the source of most mistakes about it. Under the proportional hazards assumption it is one number for the whole follow-up, which is why trials report it.
Builds on: Hazard Function · Leads to: Cox Proportional Hazards Model, Kaplan–Meier Estimator
This is an educational explanation, not medical advice. The clinical examples show how the statistics works. They say nothing about any treatment or about any individual patient.
Where it's used
Clinical trials that follow people until an event. A trial of a new drug may follow patients until death, relapse or hospital admission. Because patients join at different times and some leave before the event, their times are censored, and the trial reports a hazard ratio from a Cox model, with a confidence interval. A reader sees "HR 0.75 (95% CI 0.60 to 0.94)" and learns the treated group's event rate was lower at each moment, with the interval telling how precisely.
Vaccine efficacy. Vaccine trial reports often convert the hazard ratio into an efficacy figure, using efficacy = 1 − HR. An efficacy of 90% corresponds to a hazard ratio of 0.10. The conversion is a convention for reporting, and it is only as meaningful as the proportional hazards assumption behind it.
Reliability and engineering. A manufacturer compares two designs of a pump by how fast each fails once it is running. The hazard ratio says whether one design fails faster at every age, which can matter more than the total number of failures when the pumps run for different lengths of time.
How it works
Take one tiny instance: two groups, each with a steady rate of events per year. The treated group has a hazard of 0.1 per year and the control group 0.2 per year.
- Write each group's hazard. The hazard is the event rate among those still event-free at a given time. Here the rate is constant: per year for treated and per year for control. Check: each has units of events per year, so it is not a probability and need not be below 1.
- Divide them at the same time. At any time , the hazard ratio is . Here it is at year 1, year 5 and year 10 alike. Check: the number does not carry , so it is one value for the whole follow-up.
- Turn the rates into survival. The probability of still being event-free by time , the Survival Function, is when the hazard is constant (the Exponential Distribution case). At 6 years, and . Check: the treated group has the higher survival, as its lower rate predicts.
- Compare the risks, and see the difference. Risk by year 6 is : about 0.70 in the control and 0.45 in the treated. Using the unrounded survivals, the risk ratio is , not 0.5. Check: the hazard ratio and the risk ratio are different numbers, even though the same data produced both.
- Read the plot. The figure below shows the two survival curves. The treated curve falls more slowly at every moment, but the gap in risk widens and narrows as time passes.
- control, hazard 0.2 per year
- treated, hazard 0.1 per year
The math
Definition
For two groups with hazard functions and , the hazard ratio is
When this ratio is the same at every , it is written with no . That constancy is the proportional hazards assumption.
Estimating the ratio: the Cox model
A covariate is a measured characteristic of each person, such as treatment or age. The Cox model writes the hazard for a covariate as
Here is the baseline hazard, the hazard for a person with . For a binary treatment flag (1 treated, 0 control), the ratio of hazards is at every , because the baseline cancels. So . The model estimates without specifying ; see Cox Proportional Hazards Model.
Step 3 in symbols: from hazard to survival
The cumulative hazard is , and the survival function is the exponential of its negative
Under proportional hazards, the cumulative hazards also have a constant ratio, . The survival curves do not have a constant ratio, which is why the risk ratio drifts with time.
Step 4 in symbols: risk and rate
The risk of the event by time is , and the risk ratio is
The two ratios agree only when events are rare and the time is short. In the walkthrough they differ: , while .
Worked examples
- Treated group: 10 events in 500 person-years of follow-up. Rate per person-year.
- Control group: 20 events in 500 person-years. Rate per person-year.
- Divide: .
- Interpretation: at any moment, a treated person is half as likely to have the event as a control person who is still event-free at that moment. This is an estimate from counts, not the full Cox fit.
Take a constant hazard of 0.2 per year in the control group and 0.1 per year in the treated group. The hazard ratio is 0.5.
- Over 5 years, . Risk in control .
- Over 5 years, . Risk in treated .
- Risk ratio .
- Interpretation: the rate is half, but over five years the risk is about 62% of the control risk, not 50%. As time grows, both risks approach 1, so the ratio of risks moves toward 1 and away from the hazard ratio.
A trial reports with a 95% confidence interval from 0.60 to 0.94. These numbers are illustrative, not from a real trial.
- The point estimate, 0.75, says the treated rate is 25% lower than the control rate at each moment, under proportional hazards.
- The interval from 0.60 to 0.94 lies entirely below 1, so the data are not consistent with no difference in rates.
- The interval also says the true reduction could be anywhere from 6% to 40%, so the size of the effect is uncertain.
- Interpretation: the trial found a lower rate, and it does not tell you the absolute number of people spared without the baseline risk. That needs the survival curves.
Try it: the treated group's hazard is 0.15 per year and the control group's is 0.25 per year. What is the hazard ratio, and how much lower is the treated rate? Answer: , so the treated rate is 40% lower at each moment.
Common mistakes and tradeoffs
It is tempting to read a hazard ratio of 0.5 as "half the risk of the event." In fact it is half the rate at each moment among those still event-free, and the risk over a period depends on how long the period is and how many events have already happened, as Example 2 shows. Read a hazard ratio as a comparison of speeds, and use the survival curves for risks.
It is tempting to assume one hazard ratio fits the whole study. In fact it fits only when the curves are proportional. If two survival curves cross, the early and late hazards point in opposite directions, and a single number averages two effects that cancel. Check with a log-log plot or a formal test before reporting one number, as the Cox Proportional Hazards Model lesson describes.
It is tempting to treat the hazard ratio as an estimate of the effect for each person. In fact it compares the group rates among people still at risk, and those people are a selected set once some have had the event. Treat it as a population-level comparison of rates.
| Measure | Question it answers | Use when | Weakness |
|---|---|---|---|
| Hazard ratio | How much faster is the event in one group, moment to moment? | Times to events, censored follow-up, proportional hazards plausible | Hard to convert to absolute risk; misleads if curves cross |
| Risk ratio | How much more likely is the event by a fixed time? | Fixed-period risk, simple designs | Depends on the chosen time |
| Risk difference | How many more events per 100 people? | Absolute impact for decisions | Needs the baseline risk |
| Restricted mean survival time | How much event-free time is gained, up to a horizon? | Curves that cross | Needs a chosen horizon |
History
Life tables and failure-rate calculations go back centuries in actuarial and engineering work, where the hazard was a natural way to describe how quickly things wear out. The hazard ratio became the standard reporting number in medicine after Cox's regression model, published in 1972, let researchers estimate the ratio for several covariates at once without fixing the baseline hazard. Clinical trials then adopted it because a single interpretable number could be compared across studies. The idea caught on because it turned a survival-curve comparison into one figure with a confidence interval.
Recap
- The hazard is the event rate among those still event-free at a moment; it is a rate, not a probability.
- The hazard ratio divides two groups' hazards at the same time: 0.5 means half the rate at each moment.
- Under proportional hazards the ratio is constant, and the Cox model estimates it as .
- Risk ratios over a period differ from the hazard ratio; read survival curves for absolute risk.
- Check the proportional hazards assumption before reporting one hazard ratio.
Read next: Cox Proportional Hazards Model for how the ratio is estimated, Kaplan–Meier Estimator for the survival curves it is read against, and Relative Risk for the fixed-period comparison.
Check yourself
QuestionIn one sentence, what does a hazard ratio of 0.5 say, and what does it not say?Show answer
QuestionA group's hazard is 0.4 per year and the comparison group's is 0.8 per year, both constant. What is the hazard ratio, and what is the survival probability by 2 years in the first group?Show answer
QuestionWhy can a single hazard ratio mislead when two survival curves cross?Show answer
QuestionA paper reports a hazard ratio of 1.2 for an adverse event and says the risk of that event is '20% higher' on treatment. Is that a fair reading?Show answer
Sources
- "Hazard ratio," Wikipedia: en.wikipedia.org/wiki/Hazard_ratio
- "Survival analysis," Wikipedia: en.wikipedia.org/wiki/Survival_analysis