A forest plot is the single most recognizable output of a meta-analysis. It displays each study's effect estimate alongside a pooled summary, letting readers instantly see where studies agree, where they diverge, and how much weight each one carries. If you are preparing a manuscript, a grant, or a thesis, knowing how to build and interpret this plot correctly is non-negotiable.
Try our free free forest plot maker to build publication-ready plots without writing a single line of code.
What You Need Before You Start
Before generating a forest plot, you need three things assembled in a clean spreadsheet or data file.
Effect size estimates for each study: odds ratios, risk ratios, standardized mean differences (Cohen's d or Hedges' g), or correlation coefficients depending on your outcome type.
Variance or confidence interval bounds for each estimate. Most software accepts either standard errors or the lower and upper bounds of the 95% confidence interval directly.
Study labels: author names, publication years, and sample sizes. These appear on the left axis and help readers locate familiar studies.
If you have not yet computed your effect sizes, use the free effect size tool to convert raw group means, proportions, or correlation coefficients into a common metric before importing them.
Choosing Your Heterogeneity Model: REML vs DerSimonian-Laird
The choice of variance estimator determines how much weight your random-effects model assigns to smaller versus larger studies, and it affects the width of the pooled confidence interval.
DerSimonian-Laird (DL) is the classic method. It uses a method-of-moments estimator for between-study variance (tau-squared) that is fast and widely cited. However, it tends to underestimate tau-squared when the number of studies is small, which can produce confidence intervals that are too narrow.
REML (Restricted Maximum Likelihood) is the modern default in most software packages including R's metafor and Stata's metan. REML produces less biased tau-squared estimates, especially with fewer than 20 studies, and is now recommended by the Cochrane Handbook for most applications.
For a fixed-effect model, the choice does not apply because fixed-effect models assume no between-study variance. Use a fixed-effect model only when you have a strong theoretical reason to believe all studies are estimating exactly the same underlying true effect, which is rare in practice.
Practical guidance: default to REML unless a specific journal or method requires DL. When you switch estimators, recheck your I-squared, tau-squared, and the prediction interval width, because these will change.
Building the Plot: A Step-by-Step Walkthrough
Step 1: Import your data. In the forest plot creator, paste your study labels, effect sizes, and confidence interval bounds into the data entry panel. The tool accepts Cohen's d, Hedges' g, odds ratios, risk ratios, and correlation coefficients.
Step 2: Select your effect measure and model. Choose the effect size type that matches your data. Select random-effects with REML as your starting model. The plot will render immediately with study squares scaled by inverse variance weight.
Step 3: Read the study squares and lines. Each square represents one study's point estimate. The square's size reflects the study's weight in the analysis: larger squares mean more weight. The horizontal line through the square is the 95% confidence interval. A line that crosses the null (zero for mean differences, one for ratios) indicates a non-statistically-significant result for that study individually.
Step 4: Interpret the diamond. The pooled effect appears as a diamond at the bottom. The center of the diamond is the summary estimate. The left and right tips are the confidence interval limits. A narrow diamond means more precise pooled evidence; a wide diamond indicates high heterogeneity or few studies.
Step 5: Add the prediction interval. The prediction interval is the range where you expect 95% of true effects to fall in future similar studies. It is wider than the confidence interval and is arguably more important for clinical decision-making. If your confidence interval excludes the null but your prediction interval crosses it, the pooled effect may not replicate in every population. Always report the prediction interval alongside I-squared.
Step 6: Check your heterogeneity statistics. I-squared above 50% suggests substantial heterogeneity. Tau-squared gives the absolute variance in true effects. The Q statistic p-value tests whether heterogeneity exceeds chance, though it has low power with few studies.



