無料&即時 — 登録不要でご利用いただけます

Risk Ratio Calculator

Calculate risk ratios from event counts in exposed and control populations. Determine the attributable risk, attributable fraction, and population attributable fraction — key measures for understanding how much disease burden an exposure explains in epidemiological research.

Risk Ratio Calculator — リアルタイム比率プレビュー
Risk 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 Risk Ratio?

        The risk ratio (also called the relative risk) is the ratio of the event probability in the exposed group to the event probability in the unexposed group. It is the most direct measure of how much an exposure multiplies (or reduces) the risk of an outcome. An RR of 3.0 means exposed individuals have three times the risk of the outcome compared to unexposed individuals.

        Beyond the basic risk ratio, epidemiologists use attributable risk (AR) — the absolute difference in event rates between groups — and the attributable fraction (AF) — the proportion of cases in the exposed group that can be attributed to the exposure. The population attributable fraction (PAF) extends this to the entire population, estimating how much disease would be prevented if the exposure were eliminated entirely.

        使用される計算公式・方程式

        この計算ツールは5つの主要な公式を使用しています:

        1 Risk Ratio ▼
        RR = Incidence_exposed / Incidence_unexposed

        Exposed rate: 15 per 1000. Unexposed rate: 5 per 1000. RR = 15/5 = 3.0.

        2 Attributable Risk ▼
        AR = Incidence_exposed - Incidence_unexposed

        AR = 15/1000 - 5/1000 = 10/1000. The exposure accounts for 10 extra cases per 1000.

        3 Population Attributable Fraction ▼
        PAF = P_exposed × (RR - 1) / (1 + P_exposed × (RR - 1))

        If 30% of population exposed and RR = 3: PAF = 0.3×2 / (1+0.3×2) = 0.375 = 37.5%.

        Explore all calculation options on the 比率計算ツール home page.

        比率計算ツールの使い方

        この比率計算ツールは、以下の3ステップで簡単にご利用いただけます:

        1

        数値を入力

        入力欄に既知の比率の値を入力します。求めたい未知数の入力欄は空欄のままにしておきます。

        2

        モードを選択

        比率モード(解く、簡素化、スケーリング)を選択します。各モードで異なる計算式が適用されます。

        3

        結果を確認

        計算するボタンを押します。結果画面に答えと、視覚的な比率バー、円グラフ、詳細なステップバイステップの解決プロセスが表示されます。

        実例問題と段階的な解説

        本比率計算ツールを使って、以下の3つの例題をステップバイステップで解決するプロセスです:

        入力 1 Disease rates: 20/1000 exposed vs 5/1000 unexposed
        1 Exposed risk (R_e) = 20 ÷ 1,000 = 0.020 (2.0%).
        2 Unexposed risk (R_u) = 5 ÷ 1,000 = 0.005 (0.5%).
        3 Risk Ratio = R_e / R_u = 0.020 / 0.005 = 4.00.
        ✓ Risk Ratio is 4.00
        入力 2 Calculate PAF: 40% exposed, RR = 2.5
        1 Population Attributable Fraction formula: PAF = [P_e × (RR - 1)] / [1 + P_e × (RR - 1)].
        2 Numerator: 0.40 × (2.5 - 1) = 0.40 × 1.5 = 0.60.
        3 Denominator: 1 + 0.60 = 1.60.
        4 PAF: 0.60 / 1.60 = 0.375 (37.5%).
        ✓ PAF is 37.5% of cases attributable to exposure
        入力 3 Protective factor: vaccinated risk 3%, unvaccinated 12%
        1 Vaccinated Risk (R_v) = 0.03.
        2 Unvaccinated Risk (R_u) = 0.12.
        3 Risk Ratio = 0.03 ÷ 0.12 = 0.25 (75% efficacy).
        ✓ Risk Ratio is 0.25 (75% Protection)

        よくある質問 (FAQ)

        What is the difference between risk ratio and rate ratio? ▼

        Risk ratio compares cumulative incidence proportions (events ÷ population at risk). Rate ratio compares incidence rates (events ÷ person-time at risk). Risk ratios work for fixed-period studies; rate ratios handle variable follow-up. For short studies with little loss to follow-up, they are approximately equal.

        What is attributable risk? ▼

        Attributable risk (AR) = Risk in exposed − Risk in unexposed. It measures the absolute excess risk due to the exposure. If exposed risk is 15% and unexposed risk is 5%, AR = 10 percentage points. This means 10 extra cases per 100 exposed individuals are attributable to the exposure.

        What is the attributable fraction? ▼

        Attributable fraction (AF) = (Risk_exposed − Risk_unexposed) ÷ Risk_exposed = (RR − 1) ÷ RR. It represents the proportion of cases among the exposed that can be attributed to the exposure. AF of 0.75 means 75% of cases in the exposed group would not have occurred without the exposure.

        What is population attributable fraction (PAF)? ▼

        PAF estimates the proportion of all cases in the entire population attributable to the exposure: PAF = P_e × (RR − 1) ÷ [P_e × (RR − 1) + 1], where P_e is the prevalence of exposure. A PAF of 25% means eliminating the exposure would prevent 25% of all cases in the population.

        Can risk ratio be negative? ▼

        No. Risk ratio is a ratio of two non-negative probabilities and ranges from 0 to infinity. RR = 0 would mean zero events in the exposed group. RR < 1 indicates reduced risk (protective effect). The concept of 'negative risk' does not apply to ratios.

        How do I calculate risk ratio from a 2×2 table? ▼

        RR = (a/(a+b)) ÷ (c/(c+d)), where a = exposed events, b = exposed non-events, c = unexposed events, d = unexposed non-events. Example: a=30, b=470, c=10, d=490: RR = (30/500) ÷ (10/500) = 0.06/0.02 = 3.0.

        Is a higher risk ratio always worse? ▼

        It depends on the outcome. RR = 3.0 for disease risk means the exposure triples disease risk (bad). RR = 3.0 for treatment success means the treatment triples the chance of success (good). The interpretation depends on whether the outcome is desirable or undesirable.

        How does confounding affect the risk ratio? ▼

        Confounders can inflate or deflate the observed RR. For example, if smokers also drink more alcohol, the crude RR for smoking and liver disease will be confounded by alcohol use. Adjusted RR (from stratification or regression) removes confounding to estimate the independent effect of the exposure.

        What is the prevented fraction? ▼

        When an exposure is protective (RR < 1), the prevented fraction = 1 − RR. It represents the proportion of potential cases prevented by the exposure. For a vaccine with RR = 0.10, the prevented fraction is 90% — the vaccine prevents 90% of cases that would have otherwise occurred.

        Can I calculate risk ratio for continuous outcomes? ▼

        No. Risk ratio is defined for binary (yes/no) outcomes. For continuous outcomes (blood pressure, weight, test scores), use mean difference, standardized mean difference, or ratio of means. Risk ratio specifically compares the probability of a dichotomous event between groups.

        比率の理論を学ぶ

        比率とは具体的に何ですか?

        比率とは、2つ以上の数量の大きさを互いに比較して相対的な割合を表した数値です。記号では A : B のように表し、「Aの量に対してBの量が対応する」という相互関係を意味します。例えば、3 : 4 の比率は、Aが3つ分配されるときBは4つマッチするという正比例関係を持ちます。料理、工学設計、財務分析など日常のあらゆる場面で使われます。

        比例式はどのように解きますか?

        比例式は、2つの比率の値が等しいことを表す等式です(A : B = C : D)。外項の積(A × D)と内項 of 積(B × C)は常に等しくなります。未知数 D を求めるには、内項の積を求め、それをもう一方の外項 A で割ります: D = (B × C) / A。当ツールの比例式解決モードに既知の3つの数値を入力すれば、未知数を即座に算出できます。

        比率はどのように簡単に整理しますか?

        2つの数値の最大公約数(GCD)を求めた後、両方の数値をその最大公約数で割って約分します。例えば 24 : 36 の場合、24と36の最大公約数が 12 なので、両方を 12 で割ると最も簡単な自然数の比である 2 : 3 になります。比率計算ツールがGCDの算出と約分を自動的に処理します。

        比率のスケーリングはいつ使用しますか?

        比率の関係を崩さずに全体の分量を増やしたり減らしたりするときに使用します。例えば、2 : 5 の割合の材料があるとき、両方に 3 を掛ければ 6 : 15 になり、同じ比重を保ったまま3倍の量の配合物を準備することができます。パン生地の容量変更や、図面の縮尺変更に欠かせません。

        比率と分数の違いは何ですか?

        比率(A : B)は同等の要素同士の大きさの比較(部分対部分)に適しており、分数(A/B)は全体の中である要素が占める割合(部分対全体)を表現することが多いです。ただし、比率 3 : 4 も分数 3/4(小数で0.75)として表現できます。使われる文脈や意味合いにおいてニュアンスの違いがあります。