Skip to content

Kaplan Meier Survival Calculator

Kaplan Meier estimator online with survival curve, log-rank test and median survival time.

Open the Kaplan-Meier Survival + Log-Rank calculator

When to use it

Use for time-to-event data with right-censoring (medical follow-up, equipment failure, customer churn, plant survival under stress). Estimates the survival function S(t) without assuming a parametric form. Pair with a log-rank test to compare groups.

When NOT to use it

Do not use when you need to adjust for covariates; use Cox proportional hazards instead. Do not use for left-truncated or interval-censored data without explicit handling. The log-rank test loses power when survival curves cross; in that case use a Renyi or generalised Wilcoxon test.

What you get

Kaplan-Meier survival curve per group with Greenwood-formula 95 percent confidence bands; median survival time per group with its 95 percent CI (or NA when the curve does not cross 0.5); number at risk over time; log-rank chi-square and p comparing groups; an at-risk table beneath the curve.

How to interpret the output

S(t) is the probability of surviving beyond time t. A wider CI means fewer subjects still at risk. Median survival is the time at which S(t) crosses 0.5. A significant log-rank rejects the null of identical survival across groups (Mantel 1966). Crossing curves invalidate the proportional-hazards assumption; in that case avoid log-rank conclusions about overall superiority.

Common pitfalls

Try it in StatVeda

The Kaplan-Meier Survival + Log-Rank engine runs entirely in the browser. No signup, no install, no data sent to a server. Paste your data, hit Run, copy the output.

Open Kaplan-Meier Survival + Log-Rank

References

Related concepts

Related calculators