Free tool · Interim analyses · Alpha spendingUpdated November 1, 2026

Group sequential design calculator: Lan-DeMets boundaries and the cost of looking

Choose an O’Brien-Fleming-type or Pocock-type spending function, one- or two-sided alpha and the number of looks. Get the z boundary and nominal p-value at each look, the alpha spent so far, and how much the maximum sample size must grow compared with a fixed design.

  • Exact recursive integration
  • Equal or custom information fractions
  • Sample size inflation factor

Free sandbox · No credit card · 21 CFR Part 11 compliant

  • ISO 27001 certified
  • 21 CFR Part 11 compliant
  • GDPR compliant
  • EU and US data hosting
  • HIPAA compliant
  • ICH GCP E6(R3) compliant
Demo: O’Brien-Fleming-type, 5 equal looks, one-sided alpha 0.025, 90% power, fixed N = 400
LookParticipantsz boundaryNominal one-sided p
Look 1 (20%)824.8770.0000005
Look 2 (40%)1643.3570.0004
Look 3 (60%)2462.6800.0037
Look 4 (80%)3282.2900.0110
Final (100%)4102.0310.0211
Demo output. Maximum N is 410: an inflation factor of 1.023 over the fixed design.

Group sequential designs in brief

  • Looking at the data repeatedly inflates the type I error unless you adjust for it. Five looks at p < 0.05 give a false-positive rate near 14%, not 5%. A group sequential design sets a boundary for each look so the overall error stays at alpha.
  • Lan-DeMets alpha spending decides how much alpha each look may use. The function of the information fraction t gives the cumulative alpha spent; the boundary at each look is the z value that uses exactly the increment, found by numerical integration.
  • O’Brien-Fleming-type spends almost nothing early. With five looks the first boundary is z = 4.877 and the last is 2.031, close to the fixed-design 1.96. Pocock-type spends evenly: boundaries stay near 2.4, so early stopping is easier but the final analysis is stricter.
  • The price is a bigger maximum sample size. For 90% power, O’Brien-Fleming-type with 5 looks inflates the maximum N by 2.3%; Pocock-type by 19%. The expected sample size is smaller when the treatment works.
  • This is a planning tool. The monitoring committee’s charter, the statistical analysis plan and the study statistician set the real design.

Free tool

Compute the boundaries and the sample size inflation

The defaults reproduce a familiar design: O’Brien-Fleming-type, 5 equally spaced looks, one-sided alpha 0.025, 90% power, fixed-design N of 400. Switch to two-sided, change the number of looks, or enter your own information fractions such as 0.4, 0.7, 1.

Spending function
Test
Looks
total
Inflation factor
1.023
vs fixed design
Maximum N
410
fixed 400
Expected N, H₁
304
74% of max
Group sequential efficacy boundaries
LookInfoN|z| boundNominal pα spentP(stop | H₁)
10.20824.8775.4e-75.4e-70%
20.401643.3570.00040.000410%
30.602462.6800.00370.003845%
40.803282.2900.01100.012275%
51.004102.0310.02110.025090%

Reaching the final analysis at the maximum sample size costs 2.3% more participants (or events) than a fixed design. Under H₁ the expected sample is 74% of the maximum; under H₀ it is 100%.

Planning aid, not validated software; runs in your browser and stores nothing. Efficacy boundaries only (no futility), non-binding by construction, computed by recursive numerical integration. The information fraction is the share of the final sample size (or events) at each look; the boundaries stay valid for unequal fractions because the spending function is evaluated at the actual information. The design, including how interim data are handled, belongs in the protocol and the statistical analysis plan.

Why this matters

Why interim analyses need boundaries

A trial that tests at the 5% level after each of five equally spaced looks and stops at the first p < 0.05 has about a 14% chance of a false positive if the treatment has no effect. The reason is simple: each look is another chance for noise to cross the line. The remedy, developed by Pocock, O’Brien and Fleming, and later made flexible by Lan and DeMets (1983), is to use a smaller nominal significance level at each look so that the probability of crossing any boundary at all, under no effect, is exactly the intended alpha.

Interim analyses are there for ethical and practical reasons: stop early if the treatment is clearly better, so patients on the control arm can be offered it; save resources. They are a regulatory matter too. The plan, the boundaries and who sees unblinded results must be in the protocol or the statistical analysis plan before the first look, and the monitoring committee works from a charter (the DSMB charter template lists the sections). The ICH E20 adaptive designs guide puts group sequential designs in the wider family of pre-planned adaptations.

This tool concentrates on the statistical core: the efficacy boundary at each look, the alpha spent, and the effect on sample size. It does not include futility boundaries; they are a separate decision, usually non-binding, and change the power and the expected sample size. It also does not model overrunning (data that arrive after the interim cut-off), which a monitoring plan has to consider.

Method

How Lan-DeMets boundaries are calculated

Let t_k be the information fraction at look k (the proportion of the planned participants, or events for survival, observed by then) with t_K = 1. The cumulative alpha that may be spent by look k is α*(t_k). The two classical choices are the O’Brien-Fleming-type function α*(t) = 2 − 2Φ(z_{α/2} / √t) and the Pocock-type function α*(t) = α ln(1 + (e − 1)t), where α is the total one-sided error and Φ the standard normal distribution. With α = 0.025 and five looks, the O’Brien-Fleming-type function spends 0.0000005 at the first look, 0.0004 by the second, 0.0038 by the third, 0.0122 by the fourth and 0.025 at the end.

The boundary at look k is the value c_k for which the probability, under no effect, of first crossing at look k equals α*(t_k) − α*(t_{k−1}). The standardized test statistics at the looks have a known joint normal distribution: Z_k√t_k is a sum of independent increments, so the density of Z_k given that the trial has not yet stopped can be built up recursively by numerical integration over a grid (the approach of Armitage, McPherson and Rowe, and of Jennison and Turnbull). The tool does exactly that, using Simpson’s rule on a fine grid, so the boundaries are not rounded table values. For a two-sided test with symmetric boundaries the same calculation is applied to alpha/2 in each tail.

Power and inflation. Assume a constant standardized effect θ, so the expected value of the statistic at look k is θ√t_k. The tool finds the θ at which the probability of crossing an efficacy boundary at some look is the chosen power. A fixed design needs θ = z_{1−α} + z_{power}; the group sequential design needs a somewhat larger θ, so the maximum sample size, which is proportional to θ², must be multiplied by (θ_GS / θ_fixed)². That factor is the inflation factor shown, and it multiplies the fixed-design sample size (or number of events) to give the maximum.

Reference values

Boundaries the tool returns (one-sided alpha 0.025, equal looks)

Lan-DeMets spending, boundaries as z values. The same numbers apply as |z| to a two-sided test at alpha 0.05 with symmetric boundaries.

Designz boundaries at looks 1 to KInflation (80%, 90% power)
O’Brien-Fleming-type, K = 22.963, 1.9691.004, 1.003
O’Brien-Fleming-type, K = 33.710, 2.511, 1.9931.013, 1.012
O’Brien-Fleming-type, K = 44.333, 2.963, 2.359, 2.0141.020, 1.018
O’Brien-Fleming-type, K = 54.877, 3.357, 2.680, 2.290, 2.0311.025, 1.023
Pocock-type, K = 32.279, 2.295, 2.2961.170, 1.154
Pocock-type, K = 52.438, 2.427, 2.410, 2.397, 2.3861.213, 1.192
O’Brien-Fleming-type, 3 looks at 40%, 70%, 100%3.357, 2.445, 2.0011.014 at 90%

The O’Brien-Fleming-type values for K = 5 (4.877, 3.357, 2.680, 2.290, 2.031) and K = 2 (2.963, 1.969) match the published sfLDOF values that group sequential software gives. Always reproduce the final boundaries in your own validated software before putting them in an analysis plan.

Worked example

A 400-participant trial with five looks

A fixed design needs 400 participants for 90% power at one-sided alpha 0.025. The sponsor wants five equally spaced looks with O’Brien-Fleming-type spending. The tool gives an inflation factor of 1.023, so the maximum N is 410, with looks at 82, 164, 246, 328 and 410 participants. The z boundaries are 4.877, 3.357, 2.680, 2.290 and 2.031, which correspond to nominal one-sided p-values of 0.0000005, 0.0004, 0.0037, 0.0110 and 0.0211.

If the treatment effect is exactly what the trial was powered for, the chance of stopping for efficacy is about 10% by the second look, 45% by the third, 75% by the fourth and 90% overall. The expected sample size is 74% of the maximum (about 304 participants). If the treatment does nothing, the trial almost always reaches the final analysis, and the expected sample size is essentially the maximum, and the total chance of a false positive is 0.025.

With Pocock-type spending instead, the same trial has boundaries of about 2.4 at every look (nominal one-sided p near 0.008 each time), an inflation of 1.192 (maximum N of 477) and a much higher chance of stopping at the early looks. This is attractive when early evidence is wanted, but it uses most of the alpha before the data are mature, and the final analysis needs z = 2.386 rather than about 2.0.

Custom fractions. Three looks at 40%, 70% and 100% of the information, O’Brien-Fleming-type, give boundaries 3.357, 2.445 and 2.001 with an inflation of 1.014 at 90% power. The Lan-DeMets approach also tolerates looks that happen at slightly different times than planned, as the boundary is recalculated from the information actually observed; this tool computes the planned design.

Set up the study that feeds the interim analysis

Build the eCRFs, randomization and blinded roles in the free sandbox, test your data flow for an interim cut, and pay only at go-live.

Plan your trial free

In Capture

Clean data and controlled access for an interim look

Capture does not compute boundaries or run monitoring committee analyses. It supports the data side: clean, timely data, restricted views for blinded staff, and exports for an independent statistician.

  • Blinded roles never receive treatment-arm values, enforced by masked database views and row-level security rather than only the interface.
  • Edit checks and auto-queries so the data are clean when a cut is taken.
  • Date-range and by-site exports, in CSV or Excel with a data dictionary, and SDTM export for statisticians who work in standard datasets.
  • A field-level audit trail with old value, new value, user, time and reason for every change.
Blinded and unblinded role management in the EDC

Study coordinator

Subject 01-004

Randomized · R-0012

Treatment assignment blinded

KitK-10418

Arm columnNot sent

Unblinded administrator

Subject 01-004

Randomized · R-0012

Treatment: Active (A)

KitK-10418

Arm columnA

Same subject, same screen. The arm never reaches blinded roles.

For the protocol and analysis plan

What to specify for a group sequential design

Number and timing of looks

In information fractions (participants or events), with the criterion for each cut-off date.

Spending function and alpha

Name the function (for example Lan-DeMets O’Brien-Fleming-type), the total alpha and whether it is one- or two-sided.

Binding or non-binding futility

If a futility rule exists, whether it is binding and how it interacts with the alpha.

Who sees what

The independent committee and statistician, the unblinded data flow, and how the sponsor stays blinded.

Maximum sample size and events

The inflated figures and the assumptions behind the power.

Estimation after stopping

That treatment effect estimates at an early stop are biased upward, with the planned adjustment or caution.

Software used to confirm

The validated program used to compute the final boundaries, because this page only plans.

FAQ

Questions teams ask before they switch

Something not covered here? Ask us directly.

What is a group sequential design?

It is a trial plan with a small number of pre-specified interim analyses, each with a stopping boundary on the test statistic. The boundaries are set so that the overall probability of a false positive stays at alpha even though the data are analysed several times.

What is Lan-DeMets alpha spending?

It is a way of defining the boundaries through a spending function α*(t), which gives the cumulative alpha that may be used by information fraction t. Because the function is defined for every t, the boundaries can be calculated for looks at times that differ from those planned, without losing control of the error rate.

What is the difference between O’Brien-Fleming-type and Pocock-type spending?

O’Brien-Fleming-type spends very little alpha early, so early boundaries are extreme (z = 4.877 at the first of five looks) and the final boundary is close to the fixed-design value (2.031). Pocock-type spends alpha almost evenly, giving boundaries near 2.4 at every look. O’Brien-Fleming-type needs less extra sample size (2.3% against 19% for five looks at 90% power) but rarely stops early.

Why does the sample size increase?

The final analysis uses a stricter boundary than the fixed design, because some alpha was spent earlier, so to reach the same power the trial needs a larger maximum sample size. The factor is shown as the inflation factor. In exchange, the expected sample size is smaller when the treatment works, because the trial may stop early.

Can I use the same boundaries for a time-to-event trial?

Yes, if information fractions are the fractions of the planned number of events. For a log-rank test, information is proportional to events. Convert the maximum events to participants as in the survival sample size calculator, and use the inflation factor on the events.

Does the tool include futility stopping?

No. It computes efficacy boundaries only. Futility rules, whether binding or non-binding, change the power and expected sample size and should be simulated by the study statistician.

What if my looks happen at different information fractions than planned?

With Lan-DeMets spending, the boundary for each look is recomputed from the information actually observed, keeping the total error rate. This tool plans the design from the fractions you enter; if the actual fractions differ, recompute with the real values in validated software.

Is anything stored or sent?

No. The calculation runs in your browser and nothing is saved or transmitted. It is a planning aid, not validated software.

Get the data flow ready before the first interim look

Build the eCRFs, visit schedule and randomization in the free sandbox with nearly every feature. No credit card, pay only at go-live.

Plan your trial free