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.
Free sandbox · No credit card · 21 CFR Part 11 compliant
| Look | Participants | z boundary | Nominal one-sided p | |
|---|---|---|---|---|
| Look 1 (20%) | 82 | 4.877 | 0.0000005 | |
| Look 2 (40%) | 164 | 3.357 | 0.0004 | |
| Look 3 (60%) | 246 | 2.680 | 0.0037 | |
| Look 4 (80%) | 328 | 2.290 | 0.0110 | |
| Final (100%) | 410 | 2.031 | 0.0211 |
Group sequential designs in brief
Free tool
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.
| Look | Info | N | |z| bound | Nominal p | α spent | P(stop | H₁) |
|---|---|---|---|---|---|---|
| 1 | 0.20 | 82 | 4.877 | 5.4e-7 | 5.4e-7 | 0% |
| 2 | 0.40 | 164 | 3.357 | 0.0004 | 0.0004 | 10% |
| 3 | 0.60 | 246 | 2.680 | 0.0037 | 0.0038 | 45% |
| 4 | 0.80 | 328 | 2.290 | 0.0110 | 0.0122 | 75% |
| 5 | 1.00 | 410 | 2.031 | 0.0211 | 0.0250 | 90% |
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
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
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
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.
| Design | z boundaries at looks 1 to K | Inflation (80%, 90% power) |
|---|---|---|
| O’Brien-Fleming-type, K = 2 | 2.963, 1.969 | 1.004, 1.003 |
| O’Brien-Fleming-type, K = 3 | 3.710, 2.511, 1.993 | 1.013, 1.012 |
| O’Brien-Fleming-type, K = 4 | 4.333, 2.963, 2.359, 2.014 | 1.020, 1.018 |
| O’Brien-Fleming-type, K = 5 | 4.877, 3.357, 2.680, 2.290, 2.031 | 1.025, 1.023 |
| Pocock-type, K = 3 | 2.279, 2.295, 2.296 | 1.170, 1.154 |
| Pocock-type, K = 5 | 2.438, 2.427, 2.410, 2.397, 2.386 | 1.213, 1.192 |
| O’Brien-Fleming-type, 3 looks at 40%, 70%, 100% | 3.357, 2.445, 2.001 | 1.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 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.
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.
In Capture
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.
Study coordinator
Subject 01-004
Randomized · R-0012
KitK-10418
Arm columnNot sent
Unblinded administrator
Subject 01-004
Randomized · R-0012
KitK-10418
Arm columnA
Same subject, same screen. The arm never reaches blinded roles.
For the protocol and analysis plan
In information fractions (participants or events), with the criterion for each cut-off date.
Name the function (for example Lan-DeMets O’Brien-Fleming-type), the total alpha and whether it is one- or two-sided.
If a futility rule exists, whether it is binding and how it interacts with the alpha.
The independent committee and statistician, the unblinded data flow, and how the sponsor stays blinded.
The inflated figures and the assumptions behind the power.
That treatment effect estimates at an early stop are biased upward, with the planned adjustment or caution.
The validated program used to compute the final boundaries, because this page only plans.
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.
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.
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.
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.
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.
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.
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.
No. The calculation runs in your browser and nothing is saved or transmitted. It is a planning aid, not validated software.
Keep exploring
Minimum detectable effect calculator
The fixed-design effect for a given n.
Survival sample size calculator
Events for the fixed design.
ICH E20 adaptive designs guide
Where group sequential designs sit among adaptations.
How to write a statistical analysis plan
Where the interim rules are written down.
DSMB charter template
The committee that reviews interim data.
Blinding (double-blind)
Glossary definition.
Build the eCRFs, visit schedule and randomization in the free sandbox with nearly every feature. No credit card, pay only at go-live.