Statistics & probability

Schoenfeld event count and log rank power calculator

Plan an approximate survival-event requirement under proportional hazards and calculate power at a supplied event count.

Your numbers

Enter a finite value within the stated calculator bounds.
Fraction of total participants assigned to one group; the other receives 1−p.
Enter a finite value within the stated calculator bounds.
Enter a finite value within the stated calculator bounds.
Enter a finite value within the stated calculator bounds.
A supplied event proportion for rough participant conversion, not estimated from an accrual model.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Plan an approximate survival-event requirement under proportional hazards and calculate power at a supplied event count.

THE FORMULAD=(z1−α/2+zpower)²/[p(1−p)(log HR)²].

A worked example

HR0.7, balanced allocation, alpha 0.05 and power 0.8 require 246.787 events, rounded to 247; at event fraction 0.65 this becomes approximately 380 participants.

Good to know

Two-sided large-event Schoenfeld approximation; HR0.05–20 excluding 1, allocation 0.05–0.95, alpha 0.0001–0.2, power 0.5–0.999. Event fraction supplied separately. No accrual, dropout, competing-risk or nonproportional-hazards design model.

Events determine the information target

In a standard proportional-hazards comparison, statistical information is driven primarily by observed events rather than the number of people enrolled. Two studies with equal enrollment can have very different power when one has shorter follow-up or more censoring. The calculator therefore reports the event requirement first.

Participant count is a secondary conversion using an event fraction that you explicitly supply. That conversion does not model how the events arise over calendar time. It should not be mistaken for a complete recruitment, follow-up or dropout simulation simply because an integer enrollment estimate is displayed.

Event target and enrollment conversion247 events380 participantsD = 246.787 → round upwardEnrollment = ceil(247 / 0.65)
Scroll across to see the full diagram.
The default needs 247 events; with event fraction 0.65 the rough enrollment target is 380.

Compare this with the Log rank survival comparison calculator with censoring. Plan required event counts or approximate power under a proportional-hazards alternative; a log-rank test analyzes already observed outcomes.

Specifying the alternative and allocation

Enter a hazard ratio different from one, a two-sided alpha, target power and allocation fraction. The formula uses the absolute log hazard ratio, so reciprocal alternatives have the same approximate event requirement under this symmetric setup. The scientific meaning of the direction still matters when describing the planned comparison.

The allocation fraction p is the share in one group, with one minus p in the other. Balanced allocation maximizes p times one minus p and minimizes events in this simplified equal-information model. Unequal costs, compliance or group-specific event rates can change practical design choices beyond that calculation.

The default planning example

With a hazard ratio of zero-point-seven, equal allocation, alpha zero-point-zero-five and target power zero-point-eight, the unrounded Schoenfeld requirement is approximately two-hundred-forty-six-point-seven-eight-seven events. Rounding upward gives two-hundred-forty-seven observed events rather than rounding to the nearest integer.

If sixty-five percent of participants are expected to contribute an observed event, dividing that rounded event target by zero-point-six-five and rounding upward gives approximately three-hundred-eighty participants. At the separately supplied two-hundred-fifty events, the reported two-sided normal-approximation power is about zero-point-eight-zero-five-one.

Where the formula comes from

Under the approximation, the standardized log-hazard-ratio signal has magnitude absolute log HR times the square root of D p times one minus p. Separating that signal from the two-sided critical normal threshold by the target-power quantile produces the familiar event-count equation.

The event formula uses the usual one-tail inversion for planning. The separately displayed power at a supplied event count includes both tails of the normal rejection region. Consequently inserting the unrounded planning count back into the exact two-tail normal expression can give a tiny difference from the requested target.

Assumptions behind a small event number

The proportional-hazards alternative assumes one hazard ratio describes the comparison over time. Delayed treatment effects, crossing hazards and strong time variation can invalidate the information relationship used here. A precise numerical output cannot compensate for choosing a model that does not match the intended trial question.

The approximation is also asymptotic. Very low event counts, extreme allocation or weakly supported event-fraction assumptions need more careful design methods. The page rejects HR equal to one because no finite event target detects a nonzero log effect that is absent from the specified alternative.

Participants are not events

A censored participant can contribute follow-up information without providing the event counted in D. Dividing by a guessed event fraction is useful as a transparent rough scenario, but it does not account separately for staggered entry, administrative censoring, dropout or different event patterns between groups.

Change that fraction to see how sensitive the enrollment estimate is while keeping the event target fixed. If its uncertainty dominates the result, build a time-based recruitment model before treating the participant figure as an operational commitment. This calculator does not infer the event fraction from a hazard ratio alone.

Checks and responsible reporting

A hazard ratio closer to one should require more events for fixed alpha, power and allocation. Raising target power should also increase the requirement, while swapping p with one minus p should leave it unchanged. These basic invariances help catch input-unit and direction mistakes before a planning number is quoted.

Report the event target, proportional-hazards assumption, allocation, alpha and target power together. State the separate event fraction used for participant conversion. A design calculation is an estimate under assumptions, not a guarantee of study success or a substitute for an analysis plan and appropriate official or professional review.

A few questions, answered

Why report events before participants?

The Schoenfeld information approximation is expressed in observed events; enrollment requires an additional follow-up or event-fraction assumption.

Can I enter HR1?

No. A null hazard ratio gives no nonzero effect for this finite event-count calculation.

Does the participant estimate include dropout?

Not separately. It uses your supplied overall event fraction and no calendar-time dropout model.

Is it valid for crossing hazards?

Not generally. The formula assumes a proportional-hazards alternative with a fixed log effect.

Find your calculator

Start typing to explore the library.