Open StatClinic →
📊 Epidemiology & Biostatistics

How to Calculate Odds Ratio in Medical Research (With Practical Examples)

🕑 22 min read 📅 July 2026 ✅ Peer-reviewed content 📚 3200+ words
S
StatClinic Editorial Team Statistical content for medical researchers and clinicians
The odds ratio appears in virtually every epidemiological paper, clinical trial report, and systematic review you will encounter in medicine. Yet despite its ubiquity, many researchers miscalculate it, misinterpret it, and report it incorrectly. They confuse odds with probability, call an OR a relative risk when the study design does not allow it, or fail to distinguish a crude association from an adjusted one. This guide provides a complete, practical foundation for the odds ratio in medical research: what it measures, how to derive it step by step from a 2×2 table, how to calculate its confidence interval, how to read it from logistic regression output, why confounding changes the picture, and how to report it in the language that peer reviewers and journals expect. Every section includes worked examples with real clinical scenarios — from smoking and lung cancer to aspirin and colorectal cancer.

What Is an Odds Ratio? Definition and Epidemiological Context

An odds ratio (OR) is a numerical measure of association between an exposure variable and a binary outcome. It answers the question: how much more — or less — likely is the outcome among people with the exposure compared to those without it, expressed in terms of odds rather than probability?

To understand why odds are used instead of probability, consider the two most common study designs in epidemiology:

The OR is therefore the essential measure for case-control studies — the most efficient design for rare diseases. It is also the natural output of binary logistic regression, which is why it appears in the results of almost every multivariable analysis in observational clinical research.

Odds versus Probability: An Important Distinction

Before calculating the OR, you must understand the difference between probability and odds. They describe the same event but express it differently:

Probability vs Odds — Conversion Formulas
Odds = P ÷ (1 − P)
If P = 0.20 (20%): Odds = 0.20÷0.80 = 0.25 (or 1 in 4)
If P = 0.50 (50%): Odds = 0.50÷0.50 = 1.00 (or 1 in 1)
If P = 0.10 (10%): Odds = 0.10÷0.90 = 0.11 (or 1 in 9)
If P = 0.80 (80%): Odds = 0.80÷0.20 = 4.00 (or 4 in 1)

When the outcome is rare (probability below 10%), odds and probability are nearly identical in value. A disease probability of 5% gives odds of 0.053 — very close to 0.05. This is why the OR closely approximates the relative risk for rare diseases but diverges substantially for common ones.

OR = 1
No association — exposure and outcome are independent
OR > 1
Exposure increases odds — potential risk factor
OR < 1
Exposure decreases odds — potential protective factor

The Case-Control Study: Why Odds Ratio Is the Right Measure

The case-control study is the most important design context for the OR. Understanding why requires understanding how the design works. A researcher investigating risk factors for a rare cancer, for instance, cannot wait decades for enough people to develop the disease in a prospective cohort. Instead, they identify existing cases with the cancer and recruit controls matched or sampled from the same population without the cancer, then look back to compare exposure history.

In this design, the researcher controls how many cases and controls are enrolled — often in a ratio of 1:1, 1:2, or 1:4. This means the proportion of diseased people in the study is artificially set. You cannot use that proportion to calculate the incidence or absolute risk of disease. What you can calculate validly is: among cases, how many were exposed? Among controls, how many were exposed? The ratio of those odds gives the odds ratio.

Key Insight: Why Not Relative Risk from a Case-Control? If you enrolled 100 cases and 100 controls and found 70 cases were smokers versus 30 controls, the apparent "risk" in the cases (70%) reflects your sampling — not the actual population risk of disease among smokers. If you had enrolled 100 cases and 400 controls (1:4 ratio), the percentages would change completely. Only the OR remains stable regardless of case:control ratio. This mathematical invariance is the foundation of the case-control design.

The OR and Prospective Designs

The OR also appears in cohort studies and randomised trials, but there it is often less intuitive than relative risk. When logistic regression is used to adjust for confounders in any study design, it produces ORs for each predictor. In those situations, researchers must be careful to state clearly that the OR approximates RR only when the outcome is rare, and to use alternative regression methods (log-binomial, Poisson with robust variance) when they want to report adjusted RR directly for common outcomes.

The 2×2 Contingency Table: Structure and Layout

Every manual OR calculation begins with a properly constructed 2×2 contingency table. The convention is: exposure status in rows, disease/outcome status in columns. This orientation is critical because SPSS, R, and Stata each follow specific rules about which cell is which, and getting the layout wrong reverses the OR you report.

Disease / Outcome Total
Cases (Disease +) Controls (Disease −)
Exposure Exposed (Yes) a b a + b
Unexposed (No) c d c + d
Total a + c b + d N

Cell definitions that you must memorise:

Odds Ratio — The Cross-Product Formula
OR = (a × d) / (b × c)
a × d = top-left × bottom-right (one diagonal)
b × c = top-right × bottom-left (other diagonal)
Odds of exposure in cases: a/c
Odds of exposure in controls: b/d
OR = (a/c) ÷ (b/d) = ad/bc — this is mathematically identical
Why "Cross-Product"? The formula is called the cross-product ratio because you multiply across the diagonals of the 2×2 table. The result is the same regardless of whether you compute it as (odds of disease in exposed) ÷ (odds of disease in unexposed) or (odds of exposure in cases) ÷ (odds of exposure in controls). This symmetry makes the OR uniquely versatile across study designs.

Worked Examples: Step-by-Step Calculations

Each example below uses a different clinical context and walks through every calculation step explicitly. Use these as templates for your own research data.

1

Smoking and Lung Cancer — The Classic Case-Control Example

Hospital-based case-control study • Exposure: cigarette smoking • Outcome: histologically confirmed lung cancer

A hospital-based case-control study enrolled 200 newly diagnosed lung cancer cases and 200 age- and sex-matched hospital controls without lung cancer. All participants were interviewed about their smoking history.

Lung Cancer (Yes)Lung Cancer (No)Total
SmokeSmoker150 (a)80 (b)230
Non-smoker50 (c)120 (d)170
Total200200400
Step 1 — Identify the cells:
a = 150   b = 80   c = 50   d = 120
Step 2 — Apply the cross-product formula:
OR = (a × d) / (b × c)
OR = (150 × 120) / (80 × 50)
OR = 18,000 / 4,000
OR = 4.50
Step 3 — Calculate 95% CI via log method:
SE(ln OR) = √(1/a + 1/b + 1/c + 1/d)
SE = √(1/150 + 1/80 + 1/50 + 1/120) = √(0.00667 + 0.01250 + 0.02000 + 0.00833)
SE = √0.04750 = 0.2179
ln(4.50) = 1.5041
95% CI for ln(OR): 1.5041 ± (1.96 × 0.2179) = 1.5041 ± 0.4271
Lower: e^(1.0770) = 2.94   Upper: e^(1.9312) = 6.90
95% CI = 2.94 to 6.90
Interpretation Smokers had 4.50 times higher odds of lung cancer compared to non-smokers (OR 4.50, 95% CI 2.94–6.90, p < 0.001). Because the entire confidence interval exceeds 1, the association is statistically significant and meaningful. Even the most conservative CI bound (2.94) represents nearly three times higher odds — a clinically important effect. The upper bound (6.90) shows the association could be even stronger.
Reporting in a paper: "Cigarette smoking was strongly associated with lung cancer (OR 4.50, 95% CI 2.94–6.90, p < 0.001). Smokers had 4.5 times higher odds of lung cancer compared to non-smokers after controlling for age and sex through matching."
2

Regular Aspirin Use and Colorectal Cancer — Protective Association (OR < 1)

Case-control study • Exposure: regular aspirin use • Outcome: colorectal cancer

A multicentre case-control study enrolled 300 colorectal cancer cases and 300 age- and sex-matched community controls. Regular aspirin use was defined as at least two tablets per week for six or more months.

CRC (Yes)CRC (No)Total
AspirinRegular user72 (a)108 (b)180
Non-user228 (c)192 (d)420
Total300300600
OR = (72 × 192) / (108 × 228) = 13,824 / 24,624 = 0.562
SE(ln OR) = √(1/72 + 1/108 + 1/228 + 1/192) = √(0.01389+0.00926+0.00439+0.00521) = √0.03274 = 0.1809
ln(0.562) = −0.5762
95% CI: e^(−0.5762 ± 1.96×0.1809) = e^(−0.9307 to −0.2216)
95% CI = 0.394 to 0.801
Interpretation — OR below 1 means protective Regular aspirin users had significantly lower odds of colorectal cancer (OR 0.56, 95% CI 0.39–0.80, p = 0.001). The entire CI is below 1, confirming a statistically significant protective association. Aspirin users had approximately 44% lower odds of developing colorectal cancer compared to non-users. This is calculated as (1 − 0.56) × 100 = 44% reduction in odds.
How to phrase protective ORs in a paper: "Regular aspirin use was associated with a 44% reduction in the odds of colorectal cancer (OR 0.56, 95% CI 0.39–0.80, p = 0.001) compared with non-use."

Never say "patients using aspirin had 56% lower odds." The correct statement is "56% of the odds of non-users" or equivalently "44% lower odds than non-users."
3

Obesity and Type 2 Diabetes — Community Cohort Study

Cross-sectional analysis • Exposure: obesity (BMI ≥30) • Outcome: prevalent type 2 diabetes

A cross-sectional community health survey of 1,200 adults measured BMI and screened for type 2 diabetes (fasting glucose ≥ 7.0 mmol/L or HbA1c ≥ 48 mmol/mol). Participants were classified as obese (BMI ≥ 30) or non-obese (BMI < 30).

T2DM (Yes)T2DM (No)Total
BMIObese (BMI ≥30)112 (a)288 (b)400
Non-obese (BMI <30)88 (c)712 (d)800
Total20010001200
OR = (112 × 712) / (288 × 88) = 79,744 / 25,344 = 3.15
Risk in obese: 112/400 = 28.0%   Risk in non-obese: 88/800 = 11.0%
RR = 28.0% / 11.0% = RR = 2.55 (from cohort/cross-sectional data)
SE(ln OR) = √(1/112+1/288+1/88+1/712) = √(0.00893+0.00347+0.01136+0.00141) = √0.02517 = 0.1587
95% CI for OR = e^(ln 3.15 ± 1.96×0.1587) = e^(1.1474 ± 0.3110) = 2.23 to 4.46
OR vs RR when the outcome is common The disease prevalence here is 16.7% — well above 10%. The OR (3.15) overestimates the true RR (2.55) by 24%. This is the "non-rare disease problem." In this cross-sectional or cohort design where RR can be directly calculated, the RR or prevalence ratio is the more interpretable and less misleading measure. OR from logistic regression should be used with a note that it overestimates RR for this common outcome.
Important: This contrast between OR = 3.15 and RR = 2.55 demonstrates why you must always consider outcome frequency when reporting ORs. For rare outcomes (<10%), OR ≅ RR. For common outcomes, report both and acknowledge the overestimation. Alternatively, use log-binomial regression to obtain RR directly.
4

Alcohol and Oesophageal Cancer — Confounder Illustration

Case-control study • Demonstrating crude OR vs adjusted OR when smoking confounds

A case-control study investigated alcohol consumption (heavy vs non-heavy) and oesophageal cancer in a population where heavy drinkers were also more likely to smoke (a known independent risk factor for oesophageal cancer).

Crude analysis (unadjusted 2×2 table for alcohol alone): Crude OR = 3.80 (95% CI 2.40–6.00, p < 0.001).

Multivariable logistic regression adjusting for smoking, age, and sex produced: Adjusted OR = 2.30 (95% CI 1.40–3.80, p = 0.001).

Interpreting the Change The crude OR of 3.80 decreased to an adjusted OR of 2.30 after controlling for smoking. This 39% reduction — (3.80 − 2.30)/3.80 = 39% — confirms substantial confounding by smoking. Smoking was positively associated with both alcohol consumption (the exposure) and oesophageal cancer (the outcome), inflating the apparent alcohol–cancer association. The adjusted OR of 2.30 is the more valid measure of the true relationship between alcohol and oesophageal cancer.
Reporting rule: Both values must be reported in a paper: "The crude OR for heavy alcohol use was 3.80 (95% CI 2.40–6.00). After adjustment for smoking, age, and sex, the OR was attenuated to 2.30 (95% CI 1.40–3.80), suggesting that approximately 39% of the crude association was attributable to confounding by smoking."

Interpreting OR Values: A Systematic Approach

When you encounter an OR in a paper or your own output, use this five-step approach to interpret it correctly:

1

Identify the direction

Is the OR greater than, less than, or equal to 1? Greater than 1 indicates a positive association (exposure increases odds). Less than 1 indicates an inverse/protective association. Equal to 1 means no association. This is the first and fastest assessment.

2

Assess statistical significance via the CI

Check whether the 95% CI includes 1. If the entire CI exceeds 1 (e.g., 1.4 to 3.2), the association is statistically significant and positive. If the entire CI is below 1 (e.g., 0.3 to 0.8), it is significant and protective. If the CI includes 1 (e.g., 0.7 to 2.1), the result is not significant at alpha = 0.05. The p-value tells the same story but the CI is more informative.

3

Assess the magnitude

A common informal guide: OR 1.0–1.5 = weak association; OR 1.5–2.5 = moderate; OR >2.5 = strong. For protective effects, OR 0.67–1.0 = weak; OR 0.4–0.67 = moderate; OR <0.4 = strong. These thresholds are not universal laws — clinical context determines whether an OR is meaningful.

4

Assess precision via CI width

A wide CI (e.g., OR 4.0, 95% CI 0.9–18.3) signals imprecision — even if the point estimate looks impressive, the study cannot distinguish a trivial from a large effect. A narrow CI (e.g., OR 2.1, 95% CI 1.7–2.6) indicates a precise estimate from a well-powered study. Always read both the width and the location of the CI.

5

Determine if the OR is crude or adjusted

Crude ORs from 2×2 tables are unadjusted for confounders. Adjusted ORs from logistic regression control for specified covariates. In observational research, the adjusted OR is the primary measure. Always note which variables were controlled for: "adjusted OR controlling for age, sex, and smoking status" is meaningfully different from simply "OR."

Crude versus Adjusted Odds Ratio: The Confounding Problem

One of the most important skills in reading and producing epidemiological research is understanding how confounding affects the OR and why the adjusted OR is needed.

What Makes a Variable a Confounder?

A confounder must satisfy three criteria simultaneously:

  1. It is associated with the exposure (e.g., smokers are more likely to drink alcohol)
  2. It is independently associated with the outcome (e.g., alcohol is an independent risk factor for oesophageal cancer)
  3. It is not on the causal pathway between the exposure and the outcome (i.e., it is not an intermediate step through which the exposure acts)

Common confounders in clinical research include: age, sex, BMI, smoking status, socioeconomic status, comorbidities, and medication use. A good observational study explicitly lists potential confounders in the methods section and adjusts for all those available in the dataset.

Positive vs Negative Confounding

Positive confounding occurs when the confounder inflates the crude OR above the true OR. Example: smoking (a confounder) inflates the apparent association between coffee drinking and lung cancer in populations where coffee drinkers tend to smoke more.

Negative confounding occurs when the confounder suppresses or reverses the crude OR. Example: if a protective exposure (exercise) is more common in people who also have another risk factor, the crude OR for the risk factor may appear smaller than the true OR, masking the harmful association.

The 10% Rule for Confounding Compare the crude OR to the adjusted OR. If |crude − adjusted| / crude > 10%, confounding is considered meaningful. Report the percentage change: (|3.80 − 2.30| / 3.80) × 100 = 39% — substantial confounding. If the change is less than 10%, confounding is minimal and the crude OR is a reasonable estimate of the adjusted effect.

Odds Ratio in Logistic Regression: Reading SPSS Output

When you run a binary logistic regression, each predictor in the model produces an odds ratio. Understanding how to read, interpret, and report the SPSS logistic regression output is an essential skill for any clinical researcher.

The SPSS "Variables in the Equation" Table

The most important table in SPSS logistic regression output is "Variables in the Equation." It contains these columns:

ColumnMeaningAction
BLog odds coefficient (ln(OR))Exponentiate to get OR: e^B
S.E.Standard error of BUsed internally for Wald test and CI
Wald= (B / S.E.)² — chi-square test statisticUsed to judge predictor significance
dfDegrees of freedom for Wald testFor binary predictor: df = 1
Sig.P value for Wald test of this predictorCompare to 0.05 threshold
Exp(B)Odds ratio = e^BThis is the OR you report
95% CI LowerLower 95% CI bound for Exp(B)Report alongside OR
95% CI UpperUpper 95% CI bound for Exp(B)Report alongside OR

Example Output: Lung Cancer Logistic Regression

Logistic regression with lung cancer (0/1) as outcome, smoking (0/1), age (continuous, per year), and sex (0=female, 1=male) as predictors:

Variables in the Equation ─────────────────────────────────────────────────────────────────── Variable B S.E. Wald df Sig. Exp(B) 95% CI ─────────────────────────────────────────────────────────────────── Smoking(1) 1.504 0.2182 47.44 1 .000 4.50 2.93–6.92 Age 0.052 0.0091 32.67 1 .000 1.05 1.04–1.07 Sex(1) 0.336 0.2041 2.71 1 .100 1.40 0.94–2.08 Constant −8.240 0.9412 76.53 1 .000 — ───────────────────────────────────────────────────────────────────

Interpretation of each predictor:

SPSS Step-by-Step

How to run binary logistic regression and get odds ratios with 95% CI:

  1. Go to AnalyzeRegressionBinary Logistic
  2. Move your binary outcome variable (coded 0 = no disease, 1 = disease) to the Dependent box
  3. Move your main exposure variable and all confounders/covariates to the Covariates box
  4. For categorical variables with more than two levels (e.g., smoking: never/ex-smoker/current), click Categorical → move to Categorical Covariates → set reference category as "First" or "Last" depending on convention
  5. Click Options → check "CI for exp(B)" at 95% → also check Hosmer-Lemeshow goodness-of-fit
  6. Method: keep Enter (forced entry) for planned confounders; use Forward: LR only for exploratory analysis
  7. Click OK. In the output, locate the "Variables in the Equation" table and read the Exp(B) column for ORs

Categorical Variables with Multiple Levels in Logistic Regression

When a variable has more than two categories (e.g., smoking: never, ex-smoker, current), SPSS creates dummy variables and reports a separate Exp(B) for each category relative to the reference. Always state the reference category explicitly when reporting. Example:

Example Reporting — Multi-level Categorical Predictor
"Compared with never-smokers (reference), ex-smokers had OR 1.80 (95% CI 1.10–2.95, p = 0.020) and current smokers had OR 5.20 (95% CI 3.20–8.45, p < 0.001) for lung cancer, after adjustment for age and sex."

Odds Ratio versus Relative Risk: When They Agree and When They Diverge

Researchers frequently confuse the OR with the relative risk (RR). This table summarises when to use each measure:

Study Design / ContextValid MeasureNotes
Case-control studyOR onlyCannot calculate RR — cases/controls are sampled separately
Cohort study, rare outcome (<10%)OR ≅ RRNumerically similar — either acceptable; RR is more intuitive
Cohort study, common outcome (>10%)RR preferredOR exaggerates the RR; use log-binomial regression for adjusted RR
RCT with binary outcomeRR or NNTOR acceptable but overestimates RR for common outcomes
Logistic regression (any design)OR (Exp[B])The default output; note overestimation if outcome is common
Meta-analysis of case-control studiesPooled ORCannot pool RR when individual studies used case-control designs
The Rare Disease Assumption — When OR ≅ RR When disease probability is below 10%, the mathematical relationship between odds and probability is nearly linear: odds ≅ probability. Therefore OR ≅ RR. Example: risk = 5%, odds = 5/95 = 0.0526. Risk = 10%, odds = 10/90 = 0.111 — still close. Risk = 30%, odds = 30/70 = 0.429 — now substantially different from probability. The further the disease frequency from zero, the more OR and RR diverge.

Calculating the 95% Confidence Interval for the Odds Ratio

The confidence interval for an OR is always computed on the natural log scale and then back-transformed. This is because ln(OR) is approximately normally distributed, whereas OR itself is right-skewed and bounded at zero.

95% CI for Odds Ratio — Log Method
95% CI = e^[ ln(OR) ± 1.96 × SE(ln OR) ]
SE(ln OR) = √(1/a + 1/b + 1/c + 1/d)
Lower CI = e^[ln(OR) − 1.96 × SE]
Upper CI = e^[ln(OR) + 1.96 × SE]
Note: CI is asymmetric around OR — this is correct, not an error

The asymmetry of the CI around the OR point estimate is a feature of the log-normal distribution of OR. If OR = 3.0 with a symmetric lower bound of 1.8 below the estimate, the upper bound will not be 1.8 above it — it will be larger. Logistic regression software handles this automatically. In manual calculation, always exponentiate the log-scale bounds before reporting.

How to Report Odds Ratios in Research Papers

Accurate, complete reporting of odds ratios is essential for scientific transparency and allows readers to critically appraise your findings. Follow these reporting standards:

Standard Inline Format

Simple Association — Crude OR
"Diabetes was significantly more common among cases with peripheral neuropathy compared to controls (OR 2.36, 95% CI 1.54–3.62, p < 0.001)."
Adjusted OR — Logistic Regression
"After adjustment for age, sex, BMI, and duration of diabetes, obesity remained significantly associated with diabetic retinopathy (adjusted OR 2.80, 95% CI 1.90–4.12, p < 0.001)."
Protective Association (OR < 1)
"Regular physical activity was associated with 38% lower odds of metabolic syndrome (OR 0.62, 95% CI 0.44–0.87, p = 0.006) compared with sedentary participants, after controlling for diet, smoking, and age."
Non-Significant Result with Wide CI
"The association between alcohol consumption and gallstones did not reach statistical significance (crude OR 1.42, 95% CI 0.88–2.30, p = 0.147). The wide confidence interval suggests the study was insufficiently powered to rule out a meaningful effect."

Table Format for Multiple Predictors

For logistic regression with multiple predictors, a results table is standard. Include both crude and adjusted ORs:

PredictorCrude OR (95% CI)pAdjusted OR (95% CI)p
Smoking (ever vs never)4.50 (2.94–6.90)<0.0014.20 (2.71–6.52)<0.001
Age (per 10 years)1.65 (1.38–1.97)<0.0011.58 (1.31–1.91)<0.001
Male sex1.82 (1.22–2.71)0.0031.40 (0.94–2.08)0.100
Family history (yes vs no)2.10 (1.30–3.40)0.0021.90 (1.16–3.12)0.011

Table footnote: Adjusted OR from logistic regression controlling for all variables listed in the table simultaneously. Reference categories: smoking = never, sex = female, family history = no.

6 Common Mistakes in Calculating and Interpreting Odds Ratios

Mistake 1: Calling the OR a "relative risk" in a case-control study

In a case-control study, the design fixes the number of cases and controls. The proportions in the table do not reflect real disease incidence. Calling the OR a "relative risk" is technically wrong and leads to inflated claims, particularly for common diseases where OR and RR diverge substantially. This error appears in student theses and even published papers regularly.

✓ Fix: In case-control studies, consistently write "odds ratio" and never "relative risk." If the outcome is rare and you want to describe the OR as approximating the RR, state this explicitly: "The OR approximates the relative risk given the low disease incidence (<5%) in this population."

Mistake 2: Misquoting the percentage change from an OR

OR = 2.0 does not mean "200% higher risk" or "200% higher odds." It means "twice the odds" or "100% higher odds." OR = 0.70 does not mean "70% lower odds" — it means 30% lower odds (calculated as 1 − 0.70 = 0.30, or 30%). These errors appear frequently in abstract sections and mislead readers about effect sizes.

✓ Fix: For OR > 1: percentage increase in odds = (OR − 1) × 100. For OR = 2.0, that is (2.0 − 1) × 100 = 100% increase. For OR < 1: percentage decrease = (1 − OR) × 100. For OR = 0.70, that is (1 − 0.70) × 100 = 30% reduction.

Mistake 3: Reporting only the crude OR in an observational study with known confounders

Presenting a single crude OR from a 2×2 table and declaring it the main result — without accounting for age, sex, and other known confounders — produces a scientifically invalid conclusion in most observational research. Journal reviewers will reject manuscripts that fail to adjust for relevant confounders identified a priori in the study protocol.

✓ Fix: Always run multivariable logistic regression adjusting for all clinically meaningful confounders. Report both crude and adjusted ORs in a results table. If no confounders were measured, acknowledge this as a limitation explicitly.

Mistake 4: Treating a wide CI result as a "significant negative finding"

An OR of 3.5 with 95% CI 0.9 to 13.6 crosses 1, so p > 0.05. Many researchers conclude "no association was found." This is incorrect. The study is simply underpowered to detect or exclude an association. The true OR could be anywhere from 0.9 (mildly protective) to 13.6 (very strongly harmful). This is not a negative result — it is an inconclusive result.

✓ Fix: Write "the association did not reach statistical significance (OR 3.5, 95% CI 0.9–13.6, p = 0.07). The wide CI suggests insufficient statistical power, and a meaningful association cannot be excluded. A larger study is warranted." Never say "no effect was found" for a wide, imprecise CI.

Mistake 5: Not checking variable coding direction in SPSS before reading Exp(B)

SPSS calculates the OR as the comparison of the coded category 1 versus the reference category. If your exposure is coded 1 = unexposed and 0 = exposed (reversed), the Exp(B) will be the reciprocal of the intended OR. You may report OR = 0.22 when the actual OR for exposed vs unexposed should be 4.5. This error is invisible in the output and requires you to verify coding.

✓ Fix: Before running regression, verify that 1 = exposed (or higher risk group) and 0 = reference. Check the "Risk Estimate" table in Crosstabs first to confirm the crude OR direction matches your expectation. If reversed, recode the variable: RECODE exposure (0=1)(1=0) INTO exposure_recoded.

Mistake 6: Using OR when RR would be more informative for a common outcome in a cohort study

When you conduct a cohort study with a common outcome (say, 30-day hospital readmission at 25%) and run logistic regression, SPSS gives you ORs. Reporting those ORs without acknowledging that they substantially overestimate the RR is misleading. Clinicians and policy-makers typically think in terms of risk, not odds, and OR = 3.0 for a common outcome will be misread as "three times the risk."

✓ Fix: For cohort data with common outcomes, either report RR from log-binomial regression (Analyze → Generalized Linear Models → Binary outcome → Log link) or explicitly state: "The OR of 3.0 overestimates the relative risk because the outcome prevalence exceeds 10%. The directly calculated RR was 2.1." Provide both values for transparency.

Frequently Asked Questions

What is the odds ratio in medical research? +
The odds ratio (OR) is a statistical measure of association between an exposure and a binary outcome. It compares the odds of the outcome in the exposed group to the odds in the unexposed group. OR > 1 means the exposure is associated with higher odds. OR < 1 means the exposure is protective. OR = 1 means no association. It is the essential effect measure in case-control studies and the default output of binary logistic regression, making it one of the most reported statistics in clinical epidemiology.
How do you calculate odds ratio from a 2×2 table? +
Label the 2×2 table cells: a = exposed cases, b = exposed controls, c = unexposed cases, d = unexposed controls. The formula is OR = (a × d) / (b × c) — the cross-product ratio. Example: 150 cases smoked, 80 controls smoked, 50 cases did not smoke, 120 controls did not smoke → OR = (150 × 120) / (80 × 50) = 18,000 / 4,000 = 4.50. Exposure should be in rows, disease in columns.
What does an odds ratio of 2 mean? +
OR = 2 means the exposed group has twice the odds of the outcome compared to the unexposed group — equivalently, 100% higher odds [(2 − 1) × 100 = 100%]. It does not mean twice the risk (probability) unless the disease is rare. For rare outcomes (<10% prevalence), OR ≅ RR, so OR = 2 would closely approximate a relative risk of 2. For common outcomes, the true RR would be lower than 2 even when OR = 2.
What is the difference between crude and adjusted odds ratio? +
A crude OR is calculated directly from a 2×2 table or univariable analysis, with no adjustment for other variables. An adjusted OR comes from multivariable logistic regression and simultaneously controls for all included confounders. If the adjusted OR differs from the crude OR by more than 10%, confounding is present and the adjusted estimate is more valid. Always report both in observational research — the adjusted OR is the headline result, while the crude OR shows the unadjusted picture.
What is Exp(B) in SPSS logistic regression? +
Exp(B) is e raised to the power of the regression coefficient B. Since B = ln(OR), Exp(B) = e^ln(OR) = the odds ratio. This is the column you read in SPSS's "Variables in the Equation" table to get the adjusted OR for each predictor. The adjacent columns show the 95% CI lower and upper bounds for Exp(B). For a binary predictor coded 0/1, Exp(B) directly gives the OR comparing the coded group (1) versus the reference group (0).
When is odds ratio approximately equal to relative risk? +
The OR closely approximates the RR when the outcome is rare — typically below 10% prevalence or incidence. This is called the rare disease assumption and is the theoretical basis for using OR from case-control studies as a proxy for RR in the source population. When the outcome is common (above 20–30%), the OR substantially overestimates the RR if OR > 1 or underestimates if OR < 1. In those cases, log-binomial regression or directly calculated RR is preferable.
How do you report odds ratio in a research paper? +
Always report: the OR, its 95% CI, and the p value. State whether it is crude or adjusted. If adjusted, name the variables controlled for. Standard format: "OR 2.36 (95% CI 1.54–3.62, p < 0.001)." In multivariable tables, provide separate columns for crude and adjusted ORs with their CIs. Always specify the reference category for each predictor. In the abstract and conclusion, describe the direction and magnitude: "Smokers had 4.5 times higher odds of lung cancer compared to non-smokers."
Can the odds ratio be negative? +
No. The OR is always a positive number greater than zero. It ranges from just above 0 (very strong protection) through 1 (no association) to very large positive values (very strong harm). Zero is mathematically impossible because it would require zero events in one table cell. What can be negative is the regression coefficient B in logistic regression — ln(OR) is negative when OR < 1. For example, OR = 0.56 has B = ln(0.56) = −0.580. The negative B represents a protective association in log-odds space, while Exp(B) = 0.56 is the interpretable OR.
What sample size is needed for a reliable odds ratio? +
For logistic regression, the rule of thumb is 10–15 events per variable (EPV) in the model. If you have 50 cases with your outcome and want to include 5 predictors, you need 50/5 = 10 EPV — at the lower boundary. For the simpler 2×2 table, all four cells should have at least 5 observations to avoid unreliable ORs with excessively wide CIs (Woolf's criterion). When any cell has fewer than 5, use Fisher's Exact Test and interpret the OR with caution.
What is the Mantel-Haenszel odds ratio? +
The Mantel-Haenszel OR is a summary OR adjusted for a single stratifying variable (such as age group or sex) by combining stratum-specific 2×2 tables using a weighted average formula. It is simpler than logistic regression when you have only one confounder with a few levels. In SPSS, obtain it via Analyze → Descriptive Statistics → Crosstabs → add the confounder in the Layer box → Statistics → check Risk. The output "Mantel-Haenszel Common Odds Ratio" is the confounder-adjusted OR. Use logistic regression when adjusting for multiple confounders simultaneously.

Calculate odds ratios from your data instantly

StatClinic's free OR calculator computes odds ratios from 2×2 tables with 95% confidence intervals, chi-square test, and plain-English medical interpretation — ready for thesis and journal submission.

Open Odds Ratio Calculator →