CalcWorldHub
Free online calculator · no signup

Kaplan Meier survival with censoring calculator

Estimate event-free survival from right-censored observations, with log-log confidence bounds and a Nelson–Aalen cumulative hazard summary.

4,000 tools
Kaplan Meier survival with censoring calculator — Observed follow-up times, Event indicators one event zero censored, Query follow-up time and calculation method
Kaplan Meier survival with censoring calculator: inputs and calculation method.

How to use this calculator

Estimate event-free survival from right-censored observations, with log-log confidence bounds and a Nelson–Aalen cumulative hazard summary.

  1. Enter Observed follow-up times, Event indicators one event zero censored, Query follow-up time, Confidence level. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Kaplan Meier survival with censoring explained

Use Observed follow-up times with Event indicators one event zero censored to reproduce the sample calculation, then review the stated limits before carrying the result into another scenario.

Kaplan Meier survival at query time0.5833
Kaplan Meier survival at query time: 0.58333333 in the worked scenario.

How the calculation works

S(t)=Πtj≤t(1−dj/nj); Greenwood G=Σdj/[nj(nj−dj)]; HNA(t)=Σdj/nj.

At each distinct event time, nj includes all observations still at risk just before that time, including observations censored at the same time. Event losses occur before censor removals. Greenwood variance is transformed on the log-minus-log scale for confidence limits.

Set up the calculation

t — Observed follow-up times
Nonnegative observed event or right-censoring times, with one common origin and time unit. Use comma-separated values in the stated order.
e — Event indicators one event zero censored
Event indicator aligned with each follow-up: one means the event occurred at that time, zero means right-censored then. Use comma-separated values in the stated order.
q — Query follow-up time
Time at which survival and hazard are queried, using the same origin and unit as observed follow-up times.
level — Confidence level
Probability coverage for the labeled interval, expressed as a fraction such as 0.95 rather than 95. The article distinguishes confidence from posterior credibility.

Limits of this model

Independent observations, right censoring unrelated to event risk given the design, and a common time origin. No delayed entry or competing-risk states. Queries beyond the final observed follow-up carry forward the last step, without adding tail information.

Check this example

Observed follow-up times = 2,3,4,5,6,7,8,10; Event indicators one event zero censored = 1,0,1,1,0,1,0,1; Query follow-up time = 6; Confidence level = 0.95.

  • Kaplan Meier survival at query time: 0.58333333
  • Log-log confidence lower bound: 0.18018889
  • Log-log confidence upper bound: 0.84406869
  • Nelson Aalen cumulative hazard: 0.49166667
  • Estimated median event time: 7 time units
  • Event-time table: time | risk | events | survival: 2 | 8 | 1 | 0.875; 4 | 6 | 1 | 0.729167; 5 | 5 | 1 | 0.583333; 7 | 3 | 1 | 0.388889; 10 | 1 | 1 | 0

At time six, events at two, four, and five have changed survival; censoring at three and six changes later risk sets without directly multiplying survival down. The event at seven is not included in the query result.

Reading the outputs

Survival is a probability; Nelson–Aalen hazard is a cumulative rate summary and need not equal minus log of this finite-sample survival estimate. A median marked not reached means survival never crossed one half in observed follow-up.

Frequently asked questions

Should censored observations be deleted?

No. They contribute time at risk until their censoring time.

What does event indicator zero mean?

The event was not observed before follow-up ended; it does not mean the subject can never have the event.

Why are terminal bounds sometimes zero?

If the last risk set all experiences the event, the estimated survival step reaches zero and interior log-log formulas no longer apply.

How do I use the Kaplan Meier survival with censoring calculator?

Enter Observed follow-up times, Event indicators one event zero censored, Query follow-up time, Confidence level. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Kaplan Meier survival with censoring?

Observed follow-up times = 2,3,4,5,6,7,8,10; Event indicators one event zero censored = 1,0,1,1,0,1,0,1; Query follow-up time = 6; Confidence level = 0.95.