Home / Tools

Extract data from a forest plot

Updated 2026-11-10 · TrialCurve

Drop a forest plot and get every row as data: the estimate, its confidence interval, the log estimate and its standard error, with patients and events where the figure prints them. It works for subgroup plots from one trial and for meta-analysis plots, with hazard ratios, odds ratios, risk ratios or differences.

A synthetic subgroup forest plot: 13 rows with events, patients, hazard ratios and 95% confidence intervals

The example above was made from this synthetic figure.

What you get

The checks

How well it reads

On 6 forest plots from open-access papers (111 rows), two separate blind readings of each figure agreed on all 333 estimates and confidence limits and on all 82 patient and event counts. The checks flagged 3 rows: all three were copied correctly, and the intervals printed in the paper are lopsided. On 3 synthetic plots with known values, all 99 numbers were exact, including a plot with no printed numbers. Our own test with the deeper reading, not peer reviewed (figures and scores). Read once more without zoom, as the free reading does, 332 of 333 numbers matched; the miss was one digit on a scan 423 pixels wide. Still check every row against the figure. For Kaplan–Meier figures there is a larger benchmark.

What to do with the rows

Pool them by inverse variance, in metafor or any meta-analysis package: the CSV has the log estimate and standard error each needs (Tierney et al., 2007; Cochrane Handbook, section 6.8). For one estimate at a time, use the log hazard ratio tool. For two treatments through a common comparator, the Bucher calculator. If the paper shows curves and no hazard ratio, get it from the Kaplan–Meier figure. See also meta-analysis with reconstructed IPD.

FAQ

How do I get the standard error from a confidence interval?

For a ratio (hazard, odds or risk ratio) with a 95% interval, SE of the log estimate = (ln upper − ln lower) / 3.92. For a difference, SE = (upper − lower) / 3.92. The extractor does this for every row.

Does it work when the forest plot prints no numbers?

Yes, with less precision. The estimate and limits are read from the markers against the axis, and each such row is labelled as read from the plot.

Can it read subgroup forest plots and meta-analysis forest plots?

Both. Subgroup rows keep their heading, and a pooled or overall row is marked as a summary.

Is it free?

Three figures a day are free, with no sign-up, counted together with every other kind of figure. A deeper reading with zoom is 5 figures for $59.

Have a KM figure from a paper? Get its data in a minute.

Upload a figure