A hazard ratio compares how fast an event (death, progression, relapse) happens in one arm versus another at any moment of follow-up. Kaplan-Meier curves show the same data as the share of participants still event-free over time. Together they are the standard way to report time-to-event trials.
Free sandbox · No credit card · 21 CFR Part 11 compliant
Hazard ratio
noun · clinical research
The ratio of the instantaneous event rate (hazard) in one group to that in another. An HR of 0.67 means the treatment arm has about two-thirds of the control arm’s event rate at any time point, assuming proportional hazards.
Related terms
In short
Explained
Many trials do not ask whether an event happens but when. A cancer study counts months until progression; a heart failure study counts days until hospitalisation. Two problems make ordinary percentages unsuitable. Participants join at different dates, so they have different follow-up lengths when the data are analysed. And some leave the study, or reach the analysis date, without the event. Time-to-event methods use everyone’s information up to the point they stop being observed, instead of throwing those people away.
The hazard is the short-term event rate among people who are still at risk: of those event-free at month 6, how many have the event in the next small interval. The hazard ratio compares those rates between arms. It is the main effect measure for survival endpoints, which is why it appears as the headline in most oncology and cardiovascular papers. When you plan such a trial, the target HR drives the number of events you need; the survival sample size calculator does that arithmetic, and the general logic is covered in sample size calculation.
A participant is censored when follow-up ends without the event: they reached the data cut-off alive, withdrew consent, or were lost to follow-up. Censoring is not a failure of the study. Kaplan-Meier and Cox methods assume it is non-informative, meaning the reason someone stopped being followed is unrelated to their risk. If sicker participants drop out more often in one arm, that assumption breaks and the curves can mislead. This is why the reason and date of every discontinuation belong in the eCRF, not only in site notes.
The log-rank test compares observed and expected events in each arm at every event time, pooled over the follow-up. It gives a p-value but no effect size. The Cox proportional hazards model estimates the HR with a confidence interval and can adjust for covariates such as stratification factors from randomization. Both are normally pre-specified in the statistical analysis plan, including which events count and how censoring dates are set.
A single HR summarises the whole curve only if the ratio of hazards is roughly constant. Curves that cross, or that separate late (common with some immunotherapies), suggest non-proportional hazards. Then a single HR can understate or overstate the benefit at particular times, and analysts often add restricted mean survival time, landmark survival rates or time-varying effects. Checking the assumption (for example with log-minus-log plots or Schoenfeld residuals) is part of the analysis, not an afterthought.
Worked example
Times in months. A "+" means censored. At each event time the survival estimate is multiplied by (at risk minus events) divided by at risk. Censored participants leave the risk set without moving the curve.
| Time (months) | At risk | Events | Censored | Survival estimate |
|---|---|---|---|---|
| 0 | 10 | 0 | 0 | 1.000 |
| 2 | 10 | 1 | 0 | 0.900 |
| 3+ | 9 | 0 | 1 | 0.900 |
| 4 | 8 | 2 | 0 | 0.900 x 6/8 = 0.675 |
| 6+ | 6 | 0 | 1 | 0.675 |
| 7 | 5 | 1 | 0 | 0.675 x 4/5 = 0.540 |
| 9 | 4 | 1 | 0 | 0.540 x 3/4 = 0.405 |
| 10+ | 3 | 0 | 1 | 0.405 |
| 12 / 12+ | 2 | 1 | 1 | 0.405 x 1/2 = 0.203 |
Demo data only. The median is the first time the estimate falls to 0.5 or below: 9 months here. By convention an event and a censoring at the same time count the event first.
Interpreting
Take a hypothetical two-arm study, DEMO-101, with a median progression-free survival of 12 months on control and 18 months on the new treatment. If event times follow an exponential pattern (a constant hazard), the hazard is ln(2) divided by the median: 0.0578 per month on control and 0.0385 per month on treatment. The HR is 0.0385 / 0.0578 = 0.67. Under that simple model the HR is just the inverse ratio of the medians (12 / 18).
Read it carefully. HR 0.67 means that, at any moment, an event-free participant on treatment has about two-thirds of the risk of one on control. It does not mean 33% fewer events by the end of the study: at 24 months the demo curves give 39.7% versus 25.0% still event-free, so 60.3% versus 75.0% have progressed. To detect HR 0.67 with 80% power at a two-sided 5% level with 1:1 allocation, the Schoenfeld approximation needs about 191 events, regardless of how many participants it takes to reach them. Event-driven trials therefore plan the analysis for when the event count is reached; interim looks are covered by the group sequential design calculator.
Always report the confidence interval. HR 0.67 (95% CI 0.50 to 0.90) and HR 0.67 (95% CI 0.40 to 1.12) describe very different certainty. Many teams add an absolute measure, such as the difference in event-free rates at a landmark time or a number needed to treat at that time, because patients and clinicians understand those more easily.
Median, control
12 mo
Median, treatment
18 mo
Hazard ratio
0.67
Events needed (80% power)
~191
70.7%
79.4%
50.0%
63.0%
25.0%
39.7%
Data capture
The HR is only as good as the dates behind it. These are the fields statisticians ask for most often.
Randomization date (or first dose, if the SAP says so) stored as a date field, never typed in free text.
A dedicated form per event (progression, death, hospitalisation) with the assessment that confirmed it, so the earliest qualifying date can be derived.
Last known event-free contact, plus a coded reason for discontinuation (withdrawal, lost to follow-up, data cut-off).
Scan or visit dates that show when progression could have been detected; late scans shift event dates.
Captured at randomization exactly as used for allocation, so the stratified log-rank and Cox model match the design.
An audit trail showing who changed an event or censoring date and why, which matters when dates move after review.
Set up randomization, event forms and discontinuation reasons in the free sandbox and enter dummy participants. No credit card, no time limit.
In Capture
Capture combines EDC, randomization and ePRO in one system with one audit trail. Date fields, skip logic and edit checks keep event and censoring dates consistent (for example, an event date cannot precede randomization without raising an auto-query), and calculated fields can show the time between two date-times read-only. Exports come as CSV/Excel with a data dictionary, or as CDISC SDTM datasets in SAS XPT with Define-XML, so your statistician can build the time-to-event analysis without re-keying.
| SUBJ | ECGPERF_CODE | ECGPERF_LABEL |
|---|---|---|
| 01-001 | Y | Yes |
| 01-002 | ND | Not done |
At any point during follow-up, participants in the treatment arm have about 70% of the event rate of those in the control arm, a 30% lower hazard. It does not mean 30% fewer events overall or that people live 30% longer.
A relative risk compares the proportion with the event by a fixed time. A hazard ratio compares event rates over the whole follow-up and uses the timing of events and censored data. They are similar when events are rare, but not the same.
A censored participant stopped being followed without having the event, for example at the data cut-off or after withdrawal. They count as at risk until that time and are shown as a tick mark on the curve.
No. The log-rank test gives a p-value for whether two survival curves differ. The hazard ratio, usually from a Cox model, estimates the size of the difference with a confidence interval.
Crossing curves suggest the proportional hazards assumption does not hold, so a single hazard ratio may be misleading. Analysts then report other measures, such as restricted mean survival time or event-free rates at landmark times, as pre-specified in the SAP.
Draw a horizontal line at 50% event-free and read the time where the curve first reaches or drops below it. If the curve never reaches 50%, the median is "not reached".
Keep exploring
Survival sample size calculator
Events and participants for a target HR.
Sample size calculation
Power, alpha and effect size.
Statistical analysis plan
Where the survival analysis is pre-specified.
Clinical trial endpoints
Time-to-event among other endpoint types.
Estimand (ICH E9(R1))
How intercurrent events shape what the HR estimates.
Group sequential design calculator
Interim analyses in event-driven trials.
Free sandbox with every feature: randomization, event forms, edit checks and audit trail. No credit card, no time limit.