Home / Guides

Numbers at risk in Kaplan–Meier plots, explained

Updated 2026-11-03 · TrialCurve

Number at risk (printed as “No. at risk” or “Patients at risk”) is how many patients are still being followed and have not yet had the event at each time point. It falls with every event and every censored patient. Where it is small, the curve is unreliable.

Kaplan-Meier curve with the number at risk table below it, KEYNOTE-426 progression-free survival

Reading a real table

Progression-free survival in KEYNOTE-426. The chart is redrawn from reconstructed data. The counts and the survival percentages below are as printed on the figure (Rini et al., Nat Med 2025, CC BY 4.0).

Months0122436486072
Pembrolizumab + axitinib4322321369260370
Sunitinib429156743626110

The count falls faster than the curve, and the gap is censoring. On pembrolizumab + axitinib:

MonthsAt riskShare of the 432Curve, as printed
369221.3%29.2%
486013.9%20.9%
60378.6%18.3%

How it is calculated

n(t) = N − events before t − censored before t. For example, 100 patients, 14 events and 14 censored before month 6: 72 at risk at month 6, as in the Guyot worked example.

Why it matters

A simple consistency check

Censoring only removes patients, so the fraction still at risk cannot exceed survival just before that time: n(t)/n(0) ≤ S(t−). A break means a misread cell, swapped rows or a misprint. TrialCurve flags it on survival panels.

An example: the recurrence-free panel of PORTEC-3 (Post et al., Lancet Oncol 2025, CC BY 4.0) prints 287 of 330 at risk at 2.5 years on radiotherapy alone, which is 87%, with the curve near 74%. That is an apparent misprint: a count near 240 would fit both the curve and the next column, 218.

Adding the table to your own plots

Extracting it from a published figure

Copy every cell exactly, together with the time each column refers to, which is usually the x-axis tick above it. Common pitfalls are columns that skip ticks, rows listed in a different order from the legend, and small digits misread in low-resolution images. A count read too high breaks the rule above. A count read too low does not: it looks like extra censoring and the curve still fits. Check the table against the figure.

Further reading: Pocock, Clayton and Altman 2002, on good practice in survival plots.

FAQ

Is 'number at risk' the same as 'number of events'?

No. At-risk counts patients still under observation at a time point; events are counted separately. The fall in numbers at risk over an interval includes both events and censorings.

Why does the number at risk fall faster than the curve?

Censored patients leave the count without lowering the curve.

What if the paper has no at-risk table?

Reconstruction is still possible from the initial N and, if reported, the total number of events, but the censoring pattern (and so the tail) is much less certain.

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

Upload a figure