StatFas emblem: a philosopher beside a rising bar chart StatFas.comAn Easy Way to Do Statistics

Kaplan–Meier Survival Plot Maker

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

Assumptions to check

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.

Related tools