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.
Time, event (1/0) and an optional group column.
With confidence bands and censoring marks.
Median survival, the log-rank test and the downloadable figure.
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.