Kaplan–Meier Survival Calculator illustration

Kaplan–Meier Survival Calculator

Estimates the survival function from time-to-event data using the Kaplan–Meier product-limit method. Handles right-censored observations, reports the full life table with Greenwood confidence intervals, the median survival time, and draws the classic step curve.

Time to event or censoring for each subject.
1 = event occurred, 0 = censored. Same order as times.

Notes

  • S(t) multiplies (1 − dᵢ/nᵢ) over all event times tᵢ ≤ t — censored subjects leave the risk set without forcing the curve down.
  • Confidence intervals use Greenwood’s variance formula, clipped to [0, 1].
  • The median survival is the first time the curve drops to 0.5 or below; with heavy censoring it may never be reached.