A forest plot displays study effect sizes, 95% confidence intervals, inverse-variance weights, and a pooled summary diamond. Paste Study, Estimate, Lower CI, and Upper CI columns above to compute Fixed-Effect and DerSimonian-Laird Random-Effects models, Cochran’s Q, I², and τ² locally.
How to Use the Forest Plot Generator
- Step 1
Paste 4-column study data
Copy Study, Estimate, Lower 95% CI, and Upper 95% CI from Excel or Sheets—or load a Cardiology OR, Education SMD, or CBT preset.
- Step 2
Pick Ratio or Difference scale
Choose Ratio (log scale, null = 1.0) for OR/RR/HR or Difference (linear, null = 0.0) for MD/SMD, and select Random, Fixed, or Both diamonds.
- Step 3
Inspect I² and export
Review study weights, Z-scores, p-values, and Q / I² / τ² heterogeneity below, then download a crisp SVG, 3x PNG, or CSV.
Inverse-Variance, DerSimonian-Laird & Heterogeneity Formulas
Each study’s standard error is derived from its 95% CI, enabling inverse-variance pooling and heterogeneity testing without raw 2×2 cell counts.
Recovers study-level standard error from reported 95% confidence bounds.
Weights narrower-CI studies higher to minimize pooled variance.
Quantifies the percentage of variation driven by true heterogeneity over chance.
Estimates between-study variance τ² and balances weights under heterogeneity.
Two trials report Odds Ratios 0.66 [0.54, 0.81] and 0.78 [0.68, 0.90]. On log scale, y₁ = −0.4155 with SE₁ = (ln(0.81) − ln(0.54))/3.92 = 0.1034 (w₁ = 93.5), and y₂ = −0.2485 with SE₂ = 0.0715 (w₂ = 195.6). Inverse-variance pooling yields ŷ_FE = −0.3025, giving pooled OR = exp(−0.3025) = 0.74 [0.66, 0.83].
Fixed-Effect vs. Random-Effects & Scale Reference
| Model / Setting | Core Assumption | Study Weight | Typical Use Case |
|---|---|---|---|
| Fixed-Effect (IV) | One shared true effect across studies | wᵢ = 1 / SEᵢ² | Functionally identical studies with low I² |
| Random-Effects (DL) | True effects vary with variance τ² | wᵢ* = 1 / (SEᵢ² + τ²) | Trials differing in population, dose, or setting |
| Ratio Scale (OR/RR/HR) | Analyzed on natural log scale | yᵢ = ln(θᵢ), null = 1.0 | Binary outcomes (Odds, Risk, or Hazard Ratios) |
| Difference Scale (MD/SMD) | Analyzed on raw linear scale | yᵢ = θᵢ, null = 0.0 | Continuous outcomes (Mean Difference, Hedges g) |
Common Homework & Lab Report Mistakes to Avoid
Plotting OR or RR on a linear axis
Ratios are symmetric only on a log scale (0.5 and 2.0 are equidistant from 1.0). Use Ratio mode so confidence intervals render symmetrically.
Using Fixed-Effect when I² is high
When I² exceeds 50%, studies likely differ meaningfully. Switch to Random-Effects (DL) or Both Models to avoid overly narrow intervals.
Equating individual non-significance with no effect
Individual study CIs crossing 1.0 (or 0.0) can still yield a statistically significant pooled diamond when effects point consistently.
Frequently Asked Questions
What does a forest plot show in a meta-analysis?+−
Each row plots one study’s effect estimate as a weight-scaled square with horizontal 95% CI whiskers, followed by a bottom diamond for the pooled estimate and 95% CI.
How do I read the vertical line of no effect?+−
Null is 1.0 for ratio measures (OR, RR, HR) and 0.0 for differences (MD, SMD). Intervals that do not cross the null line are significant at α = 0.05.
When should I use Random-Effects (DL) vs. Fixed-Effect (IV)?+−
Choose Random-Effects (DerSimonian-Laird) when trials differ in populations, protocols, or follow-up—especially when I² is moderate to high (> 25%–50%).
What do I², Cochran’s Q, and τ² measure?+−
Q tests excess between-study dispersion, I² gives the percentage of variation due to true heterogeneity, and τ² estimates between-study variance.
Do I need raw 2×2 event counts?+−
No. Paste published point estimates and 95% CI bounds directly; the calculator derives SEᵢ and inverse-variance weights automatically.
Can I export vector graphics for journal manuscripts?+−
Yes. Export an editable vector SVG, a 3x print-resolution PNG, or a CSV of all weights and pooled summaries.
More Free Statistical Plot Makers
Plot normal curves for any μ and σ with 68-95-99.7 bands, shaded [a, b] probability & Z-scores.
Plot X–Y pairs with linear, quadratic, or exponential trendlines, R², and Pearson r.
4-quadrant coordinate plane with origin axes, custom tick steps, labels, and line segments.
Compare 1–6 groups with TI-84 Exclusive vs Excel Inclusive quartiles and 1.5×IQR outliers.
Auto Sturges/Scott bin widths, adjustable bins, and live frequency distribution table.
Stacked dot plots with Mean, Median, and Mode vertical reference markers.
Single-sided and back-to-back stem-and-leaf plots with sorted leaves and automatic Key.
Long-label friendly horizontal bars with automatic sorting and percentage annotations.
Compare multiple trends over time with straight or smooth curve interpolation.
Clean pie and donut charts with automatic percentages, degrees, and print-ready palettes.
Multi-group Gaussian KDE density violins with embedded IQR box plots, jitter points & Silverman bandwidth.
Assess normality with theoretical Z quantiles, Blom/Hazen positions, 95% confidence bands, and R².