Kaplan–Meier survival curves: how to read and report them
When you compare the time until an event, such as death in a mouse survival study or the day a tumor appears, use a Kaplan–Meier survival curve rather than means. Its key feature is that animals whose observation ended early (censored) still contribute information. This guide walks through the calculation with 10 animals, then covers reading the graph and reporting it.
What a survival curve shows
- The y axis is the proportion still event-free at each time, S(t); the curve steps down at each event (death, etc.)
- Censored animals (observation ended early) count for as long as they were observed and are drawn as short vertical ticks
- Median survival is the first time survival falls to 50% or below (the midpoint if the curve is flat at exactly 50%); the mean is not used because censoring makes it undefined
- The right end of the curve rests on few animals; adding the number at risk below the graph lets readers judge it
The “event” need not be death. Time to a palpable tumor, to a humane endpoint such as weight loss, or to symptom onset all work the same way, as long as each animal has a yes/no event and a time.
What censoring means
A censored animal is one whose observation ended before the event. In lab studies this typically means:
- it was alive at the planned end of follow-up (e.g. day 60)
- it could not be followed for reasons unrelated to the event (accident, used for another experiment)
- it was sacrificed as planned while still alive
Kaplan–Meier uses the fact that no event had occurred up to that time. It assumes censoring is unrelated to the risk of the event (you did not selectively remove sick animals). Animals euthanized at a humane endpoint are usually counted as events (like deaths); state your choice in the Methods.
The calculation, step by step (10 animals)
Survival times of 10 animals, with “+” marking censoring: 2, 3, 3+, 5, 6+, 8, 9, 12+, 14, 16+ days (made up). At each time:
- Number at risk n: animals still alive and under observation just before that time. If an event and a censoring happen at the same time, the censored animal is included in that time’s risk set
- Proportion surviving that time: 1 − d/n, where d is the number of events at that time
- S(t): the product of all proportions so far
| Time (days) | At risk n | Events d | Censored c | 1 − d/n | S(t) | SE (Greenwood) | 95% CI (log(−log)) |
|---|---|---|---|---|---|---|---|
| 2 | 10 | 1 | 0 | 1 − 1/10 | 0.900 | 0.095 | 0.473–0.985 |
| 3 | 9 | 1 | 1 | 1 − 1/9 | 0.800 | 0.126 | 0.409–0.946 |
| 5 | 7 | 1 | 0 | 1 − 1/7 | 0.686 | 0.151 | 0.305–0.887 |
| 6 | 6 | 0 | 1 | — | 0.686 | 0.151 | 0.305–0.887 |
| 8 | 5 | 1 | 0 | 1 − 1/5 | 0.549 | 0.172 | 0.187–0.806 |
| 9 | 4 | 1 | 0 | 1 − 1/4 | 0.411 | 0.176 | 0.103–0.707 |
| 12 | 3 | 0 | 1 | — | 0.411 | 0.176 | 0.103–0.707 |
| 14 | 2 | 1 | 0 | 1 − 1/2 | 0.206 | 0.170 | 0.012–0.567 |
| 16 | 1 | 0 | 1 | — | 0.206 | 0.170 | 0.012–0.567 |
At times with only censoring, S(t) does not change; only the next number at risk goes down.
At day 5, for example, S = (1 − 1/10) × (1 − 1/9) × (1 − 1/7) = 0.686. The animal censored on day 3 (3+) is in the day-3 risk set (9) but no longer in the day-5 one (7).
Standard error and 95% CI (Greenwood)
The standard error of S(t) comes from Greenwood’s formula:
At day 5, √(1/(10·9) + 1/(9·8) + 1/(7·6)) = 0.221, times 0.686, gives 0.151. A plain S ± 1.96 × SE interval (linear) can spill outside 0–1 when S is near 0 or 1 (day 14 here gives 0.000 to 0.539, with the lower limit clipped at 0). That is why the interval is usually built on the log(−log) scale and transformed back:
At day 5 the 95% CI is 0.305 to 0.887. As the figure shows, the interval widens later on, as fewer animals remain at risk.
Median survival and its 95% CI
The median is the first time at which survival falls to 50% or below (or the midpoint if the curve is flat at exactly 50%, explained below). In the 10-animal example S is 0.549 at day 8 and 0.411 at day 9, so the median is 9 days. Its 95% CI applies the same rule to the lower and upper confidence limits: 9 days [2, NR]. The upper limit never falls to 0.5 or below, so the upper bound is not reached.
Take care when the curve is flat at exactly 0.5. In the app’s sample, the Vehicle group reaches S = 0.500 exactly on day 18, and the next drop is on day 22. Like R’s survival package, BenchFig takes the midpoint, 20 days, as the median. Some software skips the midpoint and reports the time S first reaches 0.5 (18 days here), so use the same definition when comparing. The CI of the median can also be computed differently; Prism 10.5 and later, for example, is reported to use the Brookmeyer–Crowley method, which can give slightly different values.
Reading the graph
- Each step is an event. The drop is the survival just before × events ÷ number at risk; with no censoring at all each death drops the curve by 1/n, but after censoring has thinned the risk set, each death makes a bigger step
- Short vertical ticks are censored animals; the ticks at day 60 in the Drug group are animals alive at the end of follow-up
- The at-risk table gives how many are still under observation; the Vehicle curve drops to 0% with its last event on day 38, so it has 0 at risk at day 40
- Survival at a given time: at day 30, Vehicle 31.3% and Drug 68.2%. Read the height together with the number at risk at that time
Comparing the groups with the log-rank test, and how it is calculated, is covered in how to do a log-rank test.
Figure legend and methods
Figure legend example:
Methods example: “Survival curves were estimated by the Kaplan–Meier method and compared with the log-rank test. 95% confidence intervals of median survival were derived from log(−log)-transformed confidence intervals of the survival function. Animals alive at the end of the 60-day observation period were censored.”
Results example: “Median survival was 20 days (95% CI 13–38) in the vehicle group and 46 days (24–not reached) in the drug group (log-rank P = 0.013).” Also give n and the number of events per group. The vehicle upper limit of 38 days is when the last animal’s event brought survival to 0. BenchFig treats the upper confidence limit as 0 at that time as well, so the upper limit is 38 days (with log-log in R’s survfit, the upper limit may come out as NA in such cases). General formats are in how to report statistics.
FAQ
Can I drop censored animals and use only those that died?
No. A censored animal tells you it was alive at least until that time. Dropping them tends to remove the animals that survive longer, so survival is underestimated. Treating censoring as death at that time is equally wrong.
Why not compare mean survival with a t test?
If not every event was observed (there is censoring), the mean cannot be computed. Counting censoring days as deaths biases the mean downward. Kaplan–Meier curves and the log-rank test are the standard way to handle survival data.
Why is the upper limit of the median CI “not reached”?
The 95% CI of the median comes from the times at which the confidence limits of the curve fall below 50%. If the upper limit stays above 50% until the end of follow-up, the upper bound of the median is undefined. This is common with short follow-up or high survival; report it as NR (not reached).
Should the y axis be 0–100% or 0–1?
Either is fine. Use “Percent survival” (%) or “Survival probability” (0–1) consistently, and make the axis title match the tick labels. In BenchFig, switching the y-axis unit updates the axis title too.
Related guides
Product and journal names are trademarks or registered trademarks of their respective owners.