Gratis & Direkt — Ingen registrering krävs

Relative Risk Calculator

Calculate relative risk (risk ratio), absolute risk reduction (ARR), relative risk reduction (RRR), and number needed to treat (NNT) from exposed and unexposed group data. Compare event rates between groups to quantify treatment effects and exposure risks — essential for clinical trials and epidemiological research.

Relative Risk Calculator — Live-förhandsvisning av förhållande
Relative Risk
—
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 Relative Risk?

        Relative risk (RR), also called the risk ratio, compares the probability of an event occurring in an exposed group to the probability in an unexposed group. An RR of 2.0 means the exposed group is twice as likely to experience the event. An RR of 0.5 means the exposed group has half the risk — indicating a protective effect. RR = 1.0 means no difference between groups.

        Relative risk is the standard effect measure for prospective cohort studies and randomized controlled trials, where participants are followed forward in time from exposure to outcome. Unlike the odds ratio (used in case-control studies), RR directly compares probabilities and is more intuitive: RR 2.0 genuinely means 'twice the risk.' This calculator also computes the absolute risk reduction and number needed to treat for clinical decision-making.

        Formler & Ekvationer som används

        Denna Relative Risk Calculator använder 5 kärnekvationer:

        1 Relative Risk ▼
        RR = (a / (a + b)) / (c / (c + d))

        Risk in exposed = a/(a+b). Risk in unexposed = c/(c+d). RR is their ratio.

        2 Absolute Risk Reduction ▼
        ARR = Risk_unexposed - Risk_exposed

        If control risk = 20% and treatment risk = 12%: ARR = 20% - 12% = 8 percentage points.

        3 Number Needed to Treat ▼
        NNT = 1 / ARR

        ARR of 8%: NNT = 1/0.08 = 12.5. You need to treat 13 patients to prevent 1 event.

        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 Drug trial: treated group vs placebo
        1 Treated group: 10 events out of 500 patients (Risk_treated = 10 / 500 = 0.02 or 2%).
        2 Placebo group: 50 events out of 500 patients (Risk_placebo = 50 / 500 = 0.10 or 10%).
        3 Relative Risk: RR = 0.02 / 0.10 = 0.20.
        4 Relative Risk Reduction: (1 - 0.20) × 100% = 80%.
        ✓ Relative Risk is 0.20 (80% Risk Reduction)
        Inmatning 2 Smoking and heart disease (cohort study)
        1 Smokers: 120 heart attacks per 1,000 person-years (Risk_1 = 0.12).
        2 Non-smokers: 30 heart attacks per 1,000 person-years (Risk_0 = 0.03).
        3 Relative Risk: RR = 0.12 / 0.03 = 4.00.
        ✓ Relative Risk is 4.00 (4× Higher Incidence)
        Inmatning 3 Calculate NNT for a vaccine
        1 Absolute Risk Reduction (ARR): 0.10 - 0.02 = 0.08 (8%).
        2 Number Needed to Treat (NNT): 1 / ARR = 1 / 0.08 = 12.5.
        ✓ NNT is 13 patients to prevent one adverse event

        Vanliga Frågor

        What does a relative risk of 1.0 mean? ▼

        RR = 1.0 means the event rate is identical in both groups — no association between the exposure and the outcome. The exposure neither increases nor decreases risk. Values above 1.0 indicate increased risk; values below 1.0 indicate decreased risk (protection).

        How is relative risk different from odds ratio? ▼

        RR compares probabilities (events ÷ total), while OR compares odds (events ÷ non-events). For rare outcomes (< 10% incidence), they produce similar values. For common outcomes, OR systematically overstates the association compared to RR. RR is more intuitive ('twice the risk') and preferred when calculable.

        What is a clinically significant relative risk? ▼

        This depends entirely on context. For cancer screening, RR = 0.80 (20% risk reduction) may be highly significant. For a vaccine against a lethal disease, RR = 0.05 (95% efficacy) is transformative. Always consider absolute risk reduction and NNT alongside RR for clinical significance assessment.

        Can relative risk be used in case-control studies? ▼

        No. Case-control studies select participants based on outcome (cases vs. controls), not exposure. This design does not allow calculation of incidence rates, so RR cannot be computed. Use the odds ratio instead, which is the appropriate effect measure for case-control designs.

        What is the number needed to treat (NNT)? ▼

        NNT = 1 ÷ Absolute Risk Reduction. It represents how many patients must receive the treatment to prevent one additional adverse event. Lower NNT = more effective treatment. NNT of 10 means treating 10 patients prevents 1 event; NNT of 100 means treating 100 patients prevents 1 event.

        How do I calculate vaccine efficacy from relative risk? ▼

        Vaccine Efficacy = (1 - RR) × 100%. If vaccinated group has 5 infections per 1,000 and unvaccinated has 50 per 1,000: RR = 5/50 = 0.10. Efficacy = (1 - 0.10) × 100% = 90%. The vaccine reduces infection risk by 90%.

        What is the difference between relative risk reduction and absolute risk reduction? ▼

        RRR = (1 - RR) × 100%. ARR = Risk(control) - Risk(treatment). If control risk is 20% and treatment risk is 12%: RR = 0.60, RRR = 40%, ARR = 8 percentage points, NNT = 13. RRR sounds more impressive but ARR and NNT are more clinically informative.

        How do I interpret a relative risk less than 1? ▼

        RR < 1 indicates the exposure or treatment is protective — it reduces the risk of the outcome. RR 0.70 means a 30% lower risk in the exposed/treated group. RR 0.50 means half the risk. The closer to 0, the stronger the protective effect.

        When should I use relative risk vs. hazard ratio? ▼

        Use RR for fixed-time comparisons (what percentage had the event by time X). Use HR for time-to-event analysis where follow-up varies and you need to account for censoring. HR from Cox regression is preferred for survival analysis; RR from simple proportion comparison is used for fixed-duration studies.

        How does sample size affect relative risk precision? ▼

        Larger samples produce narrower confidence intervals around the RR estimate. A small study might produce RR = 0.60 with CI 0.20-1.80 (non-significant), while a larger study with the same effect produces RR = 0.60 with CI 0.45-0.80 (significant). Sample size does not change the point estimate but affects the precision.

        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.