Gratis & Direkt — Ingen registrering krävs

Hazard Ratio Calculator

Calculate and interpret hazard ratios from survival analysis data. Enter event counts and time-at-risk for treatment and control groups to determine whether an intervention reduces or increases the rate of an outcome — essential for clinical trial analysis, epidemiological research, and evidence-based medicine.

Hazard Ratio Calculator — Live-förhandsvisning av förhållande
Hazard Ratio
—
A
B
⚖️
Proportion Solver
A : B = C : D — Enter any 3 values
:
=
:
📊
Results
Visual ratio breakdown
Solved Proportion
—
Simplified
—
Percentages
—
Decimal
—
Fraction
—
Visual Ratio
A
B
Part A: —
Part B: —
    ✨
    Ratio Simplifier
    Reduce any ratio to its simplest form
    :
    📊
    Simplified Result
    Reduced to lowest terms
    Simplified Ratio
    —
    GCD Used
    —
    Percentages
    —
    Decimal Ratio
    —
    Fraction
    —
    Visual Ratio
    A
    B
    Part A: —
    Part B: —
      📐
      Ratio Scaler
      Multiply a ratio by a scale factor
      :
      ×
      📊
      Scaled Result
      Ratio after scaling
      Scaled Ratio
      —
      Original
      —
      Factor
      —
      Percentages
      —
      Simplified
      —
      Visual Ratio
      A
      B

        🕐 Recent Calculations

        📭
        No calculations yet. Start computing above!

        What is a Hazard Ratio?

        The hazard ratio (HR) compares the rate at which events (such as death, disease recurrence, or treatment failure) occur in two groups over time. An HR of 0.75 for a treatment group means the treatment reduces the hazard (instantaneous event rate) by 25% compared to the control group at any point during follow-up. Conversely, an HR of 1.50 indicates a 50% higher hazard in the treatment group.

        Hazard ratios are the primary effect measure in survival analysis and are derived from Cox proportional hazards regression models. Unlike simple risk ratios that compare cumulative event rates, hazard ratios account for the timing of events and varying follow-up durations across participants. An HR of 1.0 means no difference between groups; below 1.0 favors the treatment group; above 1.0 favors the control group.

        Formler & Ekvationer som används

        Denna Hazard Ratio Calculator använder 5 kärnekvationer:

        1 Hazard Ratio ▼
        HR = Hazard Rate (Treatment) / Hazard Rate (Control)

        HR < 1 favors treatment. HR > 1 favors control. HR = 1 means no difference.

        2 Median Survival Ratio (approximation) ▼
        Survival Ratio ≈ 1 / HR

        If HR = 0.5, the treatment group lives approximately twice as long (median survival ratio = 2).

        3 Risk Reduction from HR ▼
        Risk Reduction = (1 - HR) × 100%

        HR = 0.65: Risk reduction = (1-0.65) × 100 = 35% reduction in the event rate.

        Explore all calculation options on the Förhållande Räknare home page.

        Hur man använder denna räknare

        För att använda denna Förhållande Räknare, följ 3 steg:

        1

        Ange Värden

        Skriv in de kända förhållandevärdena i inmatningsfälten. Lämna ett fält tomt — det är det okända värdet som Förhållande Räknaren löser.

        2

        Välj Läge

        Välj förhållandeläge — Lös, Förenkla eller Skala. Varje läge tillämpar olika ekvationer på dina inmatningsvärden.

        3

        Få Resultat

        Klicka på Beräkna. Resultatskärmen visar svaret med ett visuell förhållandestapel, cirkeldiagram och steg-för-steg-lösningsuppdelning.

        Exempelproblem & Steg-för-steg-lösningar

        Här är 3 exempelproblem med steg-för-steg-lösningar som använder denna Förhållande Räknare:

        Inmatning 1 Cancer trial: HR = 0.72 for new drug
        1 Identify Hazard Ratio (HR = 0.72).
        2 Calculate Relative Risk Reduction: (1 - 0.72) × 100% = 28.0%.
        3 Interpret: Treatment group experiences events at 72% the rate of the control group at any given time point.
        ✓ 28% Reduction in Risk of Event (HR = 0.72)
        Inmatning 2 Compare two treatments: HR = 1.15
        1 Identify Hazard Ratio (HR = 1.15).
        2 Calculate excess relative risk: (1.15 - 1) × 100% = 15.0%.
        3 Interpret: Treatment group has a 15% higher event rate relative to comparator.
        ✓ 15% Increased Event Hazard (HR = 1.15)
        Inmatning 3 Estimate median survival improvement
        1 Given baseline median survival (T_0 = 12 months) and HR = 0.75:
        2 Estimated Treatment Median Survival = T_0 / HR = 12 / 0.75 = 16 months.
        3 Survival extension: 16 - 12 = 4 months.
        ✓ Median Survival Increases from 12 to 16 Months

        Vanliga Frågor

        What does a hazard ratio of 0.75 mean? ▼

        An HR of 0.75 means the treatment group has a 25% lower instantaneous rate of the event (death, recurrence, etc.) compared to the control group at any given time during follow-up. It does not mean 25% fewer total events — the actual difference depends on follow-up duration and baseline event rates.

        What is the difference between hazard ratio and relative risk? ▼

        Relative risk (RR) compares cumulative event probabilities at a fixed time point. Hazard ratio compares instantaneous event rates across the entire study period, accounting for censoring (participants lost to follow-up). HR is preferred for time-to-event data; RR is simpler for fixed-time binary outcomes.

        When is a hazard ratio statistically significant? ▼

        A hazard ratio is statistically significant at the 0.05 level when its 95% confidence interval does not include 1.0. HR 0.72 (CI: 0.55-0.94) is significant because the CI is entirely below 1.0. HR 0.72 (CI: 0.48-1.08) is not significant because the CI crosses 1.0.

        What is Cox proportional hazards regression? ▼

        Cox regression is the standard statistical model for estimating hazard ratios while adjusting for covariates (age, sex, disease stage, etc.). It models the hazard function as a function of predictor variables, assuming the ratio of hazards between any two groups remains constant over time (proportional hazards assumption).

        Can a hazard ratio be greater than 1? ▼

        Yes. HR > 1 means the treatment group has a higher event rate. HR 1.50 indicates a 50% higher hazard in the treatment group — the intervention increases rather than decreases the risk. This can indicate a harmful treatment or simply that the reference group is the treatment group.

        What is the proportional hazards assumption? ▼

        The assumption that the hazard ratio remains constant over time. If a treatment works well initially but its benefit fades (or vice versa), the assumption is violated. Violations can be detected by Schoenfeld residual tests or by examining Kaplan-Meier curves that cross or diverge non-proportionally.

        How do I convert a hazard ratio to a percentage? ▼

        Subtract the HR from 1 and multiply by 100. HR 0.72 = (1 - 0.72) × 100 = 28% risk reduction. HR 1.30 = (1.30 - 1) × 100 = 30% risk increase. This gives the percentage change in the instantaneous event rate.

        What is the difference between hazard ratio and odds ratio? ▼

        Odds ratios (OR) compare the odds of an event between groups at a single time point and are used in case-control studies and logistic regression. Hazard ratios compare event rates over time and are used in survival analysis. For rare events (< 10%), OR approximates RR, but HR accounts for event timing and censoring.

        What is a Kaplan-Meier curve? ▼

        A Kaplan-Meier curve is a step-function graph showing the probability of surviving (or remaining event-free) over time for each group. The visual separation between curves reflects the hazard ratio. Curves that separate early suggest an immediate treatment effect; delayed separation suggests a latent benefit.

        How do I interpret hazard ratio in cancer research? ▼

        In oncology, HR typically compares overall survival (OS) or progression-free survival (PFS). HR 0.70 for OS means a 30% reduction in instantaneous death rate. HR 0.50 for PFS means a 50% reduction in progression/death rate. Both should be evaluated alongside median survival improvements and absolute risk reduction at landmark time points.

        What sample size do I need to detect a hazard ratio? ▼

        Sample size depends on the expected HR, desired statistical power (typically 80-90%), significance level (0.05), and expected event rate. Detecting HR 0.75 with 80% power requires approximately 380 total events. Smaller HRs (0.90) require far more events (1,600+). Use dedicated sample size software for precise calculations.

        Lär dig om Förhållanden

        Vad är ett förhållande?

        Ett förhållande är en jämförelse mellan två eller flera kvantiteter som visar den relativa storleken av den ena jämfört med den andra. Skrivet som A : B betyder det 'för varje A enheter av den första kvantiteten finns det B enheter av den andra'. Till exempel betyder förhållandet 3 : 4 att för varje 3 delar av A finns det 4 delar av B. Förhållanden används i matlagning, konstruktion, ekonomi, vetenskap och vardagsliv.

        Hur löser jag en proportion?

        En proportion är en ekvation som säger att två förhållanden är lika: A : B = C : D. För att lösa ett saknat värde använder du korsmultiplikation. Om D är okänd: D = (B × C) / A. Detta fungerar eftersom i lika förhållanden är de korsade produkterna alltid lika: A × D = B × C. Vår proportionslösare gör detta automatiskt — ange bara 3 värden så räknar den ut det fjärde.

        Hur förenklar jag ett förhållande?

        För att förenkla ett förhållande, hitta den största gemensamma delaren (SGD) för båda talen och dividera båda med det. Till exempel, 24 : 36 — SGD för 24 och 36 är 12. Så 24 ÷ 12 = 2 och 36 ÷ 12 = 3, vilket ger det förenklade förhållandet 2 : 3. Vår förenklare hittar automatiskt SGD och förkortar ditt förhållande till sina lägsta termer.

        Vad är förhållandeskalning och när är det användbart?

        Att skala ett förhållande innebär att multiplicera båda delarna med samma faktor för att skapa ett ekvivalent, större (eller mindre) förhållande. Till exempel ger skalning av 2 : 5 med en faktor av 3 förhållandet 6 : 15. Detta är mycket användbart för recept (t.ex. tredubbla ett recept), konstruktion (skala ritningar), blandning av lösningar eller alla situationer där du behöver behålla samma proportioner i en annan storlek.

        Vad är skillnaden mellan ett förhållande och ett bråk?

        Ett förhållande A : B jämför två kvantiteter med varandra (del-till-del), medan ett bråk A/B vanligtvis representerar en relation mellan del och helhet. Varje förhållande kan dock uttryckas som ett bråk: 3 : 4 motsvarar 3/4 = 0,75. Den viktigaste skillnaden är sammanhanget — förhållanden jämför kvantiteter sida vid sida, medan bråk representerar en del av en helhet.