Gratuito e Instantâneo — Sem Necessidade de Cadastro

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 — Visualização de Proporção em Tempo Real
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.

        Fórmulas e Equações Utilizadas

        Esta Relative Risk Calculator usa 5 equações principais:

        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 Calculadora de Proporção home page.

        Como Usar esta Calculadora

        Para usar esta Calculadora de Proporção, siga 3 passos:

        1

        Insira os Valores

        Digite os valores conhecidos nos campos de entrada. Deixe um campo vazio — esse é o valor desconhecido que a Calculadora de Proporção irá resolver.

        2

        Escolha o Modo

        Selecione o modo de proporção — Resolver, Simplificar ou Redimensionar. Cada modo aplica equações diferentes aos seus valores de entrada.

        3

        Obtenha os Resultados

        Clique em Calcular. A tela de resultados exibe a resposta com uma barra de proporção visual, um gráfico de pizza e um detalhamento da solução passo a passo.

        Problemas de Exemplo e Soluções Passo a Passo

        Aqui estão 3 problemas de exemplo com soluções passo a passo usando esta Calculadora de Proporção:

        Entrada 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)
        Entrada 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)
        Entrada 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

        Perguntas Frequentes

        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.

        Saiba Mais Sobre Razões

        O que é uma razão?

        Uma razão é uma comparação entre duas ou mais quantidades que indica o tamanho relativo de uma em relação à outra. Escrita como A : B, significa 'para cada A unidades da primeira quantidade, há B unidades da segunda'. Por exemplo, uma razão de 3 : 4 significa que para cada 3 partes de A, há 4 partes de B. As razões são usadas na culinária, construção, finanças, ciências e no dia a dia.

        Como resolvo uma proporção?

        Uma proporção é uma equação que indica que duas razões são iguais: A : B = C : D. Para encontrar um valor ausente, utiliza-se a multiplicação cruzada. Se D for desconhecido: D = (B × C) / A. Isso funciona porque, em razões iguais, os produtos cruzados são sempre iguais: A × D = B × C. Nossa Calculadora de Proporção faz isso automaticamente — basta digitar 3 valores para encontrar o quarto.

        Como simplifico uma razão?

        Para simplificar uma razão, encontre o Máximo Divisor Comum (MDC) de ambos os números e divida cada um deles por este divisor. Por exemplo, em 24 : 36, o MDC é 12. Assim, 24 ÷ 12 = 2 e 36 ÷ 12 = 3, resultando na razão simplificada de 2 : 3. Nosso simplificador calcula o MDC e reduz a razão automaticamente.

        O que é redimensionamento de razão e quando é útil?

        Redimensionar uma razão significa multiplicar ambas as partes pelo mesmo fator para gerar uma razão equivalente maior (ou menor). Por exemplo, redimensionar 2 : 5 por um fator de 3 resulta em 6 : 15. Isso é ideal para ajustar receitas (triplicar os ingredientes), na construção civil (escala de projetos), misturar soluções químicas ou em qualquer cenário onde é preciso manter a mesma proporção em outra escala.

        Qual é a diferença entre razão e fração?

        Uma razão A : B compara duas quantidades entre si (relação parte-parte), enquanto uma fração A/B costuma representar uma relação parte-todo. No entanto, toda razão pode ser representada como fração: 3 : 4 é o mesmo que 3/4 = 0.75. A diferença principal está no contexto de comparação das grandezas.