Free Tools › Kaplan-Meier Curve Generator
Plot Kaplan-Meier survival curves from your data, with 95% confidence bands, censoring marks, a numbers-at-risk table, median survival and a log-rank test between groups.
FreeNo account neededYour data stays in your browser
Time: time_months · Event: event · Group: group · 60 participants
| Control | Median 7.030 participants, 24 events |
|---|---|
| Treatment | Median 26.130 participants, 15 events |
| Log-rank test | χ²(1) = 11.10, p < 0.001Compares the whole survival curves |
Survival is estimated by the Kaplan-Meier method with 95% confidence intervals (Greenwood variance, log(−log) scale). Tick marks show censored observations. Results match the Python lifelines package.
Paste follow-up time, event (1 = event, 0 = censored) and an optional group column, with names in the first row.
See the survival curves with censoring tick marks; show or hide the 95% confidence bands.
See the median survival, participants and events for each group, and the log-rank test comparing the curves.
Download the Kaplan-Meier plot as PNG or SVG.
The Kaplan-Meier method estimates the probability of surviving (remaining event-free) over time, using the information from participants who are censored before the end of follow-up.
The log-rank test compares survival curves between groups across the whole follow-up period. The numbers at risk show how many participants contribute to each part of the curves; later parts rest on fewer people.
A participant is censored when follow-up ends before the event happens (for example, the study ended or they were lost to follow-up).
Survival never fell to 50% in that group during follow-up, so the median cannot be estimated.