Use this tool to draw Kaplan–Meier survival curves and compare groups when some participants are censored, for example time to relapse, death, failure or dropout in clinical, biological and social research. Upload your data below (CSV or Excel, or paste it) with follow-up time, event status and an optional group column, then press the button to generate the plot.
About the Kaplan–Meier survival plot
The Kaplan–Meier estimator gives the probability of remaining event-free over time while correctly handling censored observations, that is, participants who leave the study or are still event-free when follow-up ends. The curve is a step function that drops at each observed event time, and the median survival time is the time at which the curve first reaches 0.5.
When to use it
Use a Kaplan–Meier plot when your outcome is the time until an event (death, relapse, failure, graduation, dropout) and not every participant has had the event by the end of follow-up. Compare up to six groups with the log-rank test, and for two groups add a Cox hazard ratio.
What this tool reports
Kaplan–Meier step curves with censor marks and optional 95% log–log confidence bands.
Median survival with its 95% confidence interval for every group (Greenwood variance).
Log-rank test across groups and, for two groups, a Cox proportional-hazards hazard ratio with its 95% CI.
A number-at-risk table drawn beneath the plot.
An APA 7 results paragraph and APA 7 tables, plus the figure, ready to download as a Word file, PNG or SVG.
Assumptions to check
Censoring is independent of the outcome (non-informative censoring).
Participants are independent observations and survival times are measured from a common starting point.
For the Cox hazard ratio, hazards are proportional over time; this tool does not test that assumption.
Enough events per group; very few events give wide, unstable intervals.
How to report it in APA7
Report the number of participants and events, the median survival time with its 95% CI for each group, the log-rank test as χ²(df) = value, p = value, and for two groups the hazard ratio with its 95% CI. The tool writes this paragraph for you and lays out the tables in APA 7 style.
Frequently asked questions
Is the Kaplan–Meier Survival Plot Maker free?
Yes. You can run the analysis and read the results without an account. Create a free account or log in only when you want to download the results.
How should I code the event column?
Use 1 for the event and 0 for censored observations. If your data use the opposite coding, change “Event coding” in the options.
What does “NR” mean for median survival?
NR means not reached: the survival curve never dropped to 0.5 during follow-up, so the median cannot be estimated.
Is my data uploaded to a server?
The analysis runs in your browser. Your data stays on your device while you use the tool.