Darmowy i Natychmiastowy — Bez Rejestracji

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 — Podgląd Stosunku na Żywo
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.

        Wzory i Zastosowane Równania

        Kalkulator opiera się na 5 podstawowych równaniach:

        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 Kalkulator Stosunku home page.

        Jak Korzystać z Kalkulatora

        Aby skorzystać z tego kalkulatora stosunku, wykonaj 3 proste kroki:

        1

        Wprowadź Dane

        Wpisz znane wartości w pola wejściowe. Jedno pole pozostaw puste — jest to niewiadoma, którą obliczy kalkulator.

        2

        Wybierz Tryb

        Wybierz tryb pracy — Rozwiązywanie proporcji, Upraszczanie lub Skalowanie. Każdy tryb stosuje inne równania.

        3

        Odbierz Wynik

        Kliknij Oblicz. Ekran wyników wyświetla odpowiedź wraz z kolorowym paskiem stosunku, wykresem kołowym oraz objaśnieniem kroku po kroku.

        Przykłady Zadań z Rozwiązaniami Krok po Kroku

        Oto 3 przykładowe zadania z pełnym opisem kroków matematycznych w tym kalkulatorze:

        Wejście 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)
        Wejście 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)
        Wejście 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

        Najczęściej Zadawane Pytania

        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.

        Dowiedz się Więcej o Stosunkach

        Co to jest stosunek liczb?

        Stosunek to porównanie dwóch lub więcej wartości pokazujące proporcjonalną zależność wielkości jednej z nich względem drugiej. Zapis typu A : B oznacza 'na każde A jednostek pierwszego elementu przypada B jednostek drugiego'. Przykładowo stosunek 3 : 4 oznacza, że na 3 części A przypadają 4 części B. Stosuje się go w gotowaniu, budownictwie, finansach i nauce.

        Jak rozwiązać proporcję?

        Proporcja to równość dwóch stosunków: A : B = C : D. Aby znaleźć brakującą wartość, używamy mnożenia na krzyż. Jeśli niewiadomą jest D: D = (B × C) / A. Reguła ta opiera się na tym, że iloczyn wyrazów skrajnych jest równy iloczynowi wyrazów środkowych (A × D = B × C). Nasz kalkulator wykonuje te obliczenia automatycznie.

        Jak uprościć stosunek?

        Aby uprościć stosunek, znajdź Największy Wspólny Dzielnik (NWD) obu liczb i podziel je przez niego. Na przykład dla stosunku 24 : 36 NWD wynosi 12. Dzieląc 24 przez 12 (mamy 2) i 36 przez 12 (mamy 3), otrzymujemy najprostszą postać — 2 : 3. Narzędzie znajduje NWD i skraca stosunek za Ciebie.

        Co to jest skalowanie stosunku?

        Skalowanie to pomnożenie obu wyrazów stosunku przez ten sam mnożnik w celu uzyskania równej proporcji w większym lub mniejszym rozmiarze. Na przykład stosunek 2 : 5 pomnożony przez 3 daje 6 : 15. Jest to przydatne przy dopasowywaniu porcji w przepisach kulinarnych lub skalowaniu rysunków technicznych i map.

        Czym różni się stosunek od ułamka?

        Stosunek A : B porównuje ze sobą dwie niezależne części (część do części), podczas gdy ułamek zwykły A/B zazwyczaj wyraża udział części w całości (część do całości). Mimo to matematycznie każdy stosunek można zapisać jako ułamek: 3 : 4 to 3/4 (lub 0.75). Różnica tkwi w kontekście użycia.