ToolsConductScience tool
BiostatisticsFree in-browser calculator

Kaplan-Meier Survival Analyzer.

Plot survival curves, compute median survival, and run log-rank tests. Handles censored observations with Greenwood confidence intervals. Data never leaves your browser.

PrivateData stays in your browser
LiveNo sign-up required
Open methodFormula shown on this page
CitableMethods and citation included

Calculator

Results update in place

Try it out

Load example survival data to see the full workflow

Paste time-to-event data

Columns: Time, Event (1/0), Group (optional). Tab or comma separated.

When to use

  • Plot survival curves for time-to-event data with censored observations
  • Compare survival between treatment groups using the log-rank test
  • Estimate median survival time and confidence intervals
  • Visualize Kaplan-Meier curves for publications and presentations
  • Analyze animal survival data from preclinical studies

Do not use for

  • Cox proportional hazards regression with covariates — use R or SPSS
  • Competing risks analysis — requires specialized software
  • Parametric survival models (Weibull, exponential) — use dedicated survival packages

Right-censoring assumption must hold

KM assumes censoring is non-informative — i.e., censored subjects have the same future survival as those remaining. If subjects drop out because they are sicker, KM overestimates survival.

Log-rank test has low power for crossing curves

The log-rank test is most powerful when hazards are proportional (curves don't cross). If groups have similar early survival but diverge later, consider the Wilcoxon or Fleming-Harrington test instead.

Small samples produce wide confidence intervals

With fewer than ~20 subjects per group, confidence intervals are wide and the log-rank test has limited power. Report exact p-values rather than significance thresholds.

Median survival may not be reached

If fewer than 50% of subjects experience the event, median survival is undefined. Report "not reached" rather than extrapolating or using the largest observed time.

1

Method

Kaplan-Meier product-limit estimator with Greenwood variance formula for 95% CIs. Log-rank (Mantel-Cox) chi-square test for group comparisons with chi-square CDF via series expansion.

2

Published

Published 2026-04-05. Calculations support planning and documentation; verify procurement decisions against manufacturer specifications or institutional SOPs.

3

How to cite

How to Cite

ConductScience Kaplan-Meier Survival Analyzer. ConductScience, Inc. 2026. Available at: https://conductscience.com/tools/kaplan-meier-analyzer

Kaplan EL, Meier P. Nonparametric estimation from incomplete observations. J Am Stat Assoc. 1958;53(282):457-481. doi:10.1080/01621459.1958.10501452

Survival Analysis Fundamentals

Survival analysis studies the time until an event of interest occurs. Unlike standard statistical methods, it handles censoring — the incomplete observation of event times.

Key concepts: • Survival function S(t): Probability of surviving beyond time t • Hazard function h(t): Instantaneous event rate at time t, given survival to t • Censoring: Right-censoring (most common) occurs when follow-up ends before the event • At-risk set: Subjects still being observed at each time point

Clinical and Preclinical Applications

Kaplan-Meier analysis is used in:

• Clinical trials: Primary endpoint for overall survival, progression-free survival, disease-free survival • Preclinical studies: Tumor growth delay, time-to-event in animal models • Device reliability: Time-to-failure analysis for medical devices • Behavioral research: Latency to first response, time to criterion performance

The log-rank test is the standard method for comparing treatment vs. control survival curves in randomized trials.

Frequently asked

What is a Kaplan-Meier curve?
A Kaplan-Meier curve is a non-parametric estimator of the survival function. It plots the probability of surviving past each time point, producing a step function that decreases at each event. Censored subjects are accounted for by reducing the at-risk pool without counting as events.
What does "censored" mean in survival analysis?
A censored observation is one where the event of interest (e.g., death, relapse, device failure) was not observed during the study period. The subject may have dropped out, been lost to follow-up, or the study ended before the event occurred. Censoring is coded as 0 (no event).
What is the log-rank test?
The log-rank test compares survival distributions between two or more groups. It tests whether the groups have the same hazard rate over time. A p-value < 0.05 suggests statistically significant differences in survival between groups. It is the standard test for comparing KM curves in clinical trials.
How is median survival calculated?
Median survival is the time at which the survival probability first drops to or below 50%. If survival never drops below 50% (e.g., most subjects are censored), the median is undefined (reported as "not reached").
What are Greenwood confidence intervals?
Greenwood's formula estimates the variance of the survival estimator at each time point. The 95% CI is calculated as S(t) ±\pm 1.96 ×\times SE, where SE = S(t) ×\times √(Σ dᵢ/[nᵢ(nᵢ-dᵢ)]). Wider intervals indicate greater uncertainty, typically seen at later time points when fewer subjects remain at risk.
What format should my data be in?
Paste a table with columns: Time, Event (1 = event, 0 = censored), and optionally Group. Tab-separated or comma-separated formats work. The first row can be a header. "dead"/"event" are also accepted as event indicators.
325
Free tools
1,200+
Institutions
100%
Client-side
0
Uploads required