Docs/Which Calculator?

Which Calculator Should I Use?

A quick guide to choosing the right statistical tool for your experiment.

What Are You Trying to Do?

“I want to reduce my sample size using baseline data”

You have pre-experiment measurements (last week's revenue, baseline lab values, historical engagement) that correlate with your outcome. CUPED uses this to reduce variance by 25-50%, meaning you need fewer subjects.

A/B TestsPre-Post DesignsClinical Trials with Baseline
Use CUPED Calculator

“I want to plan interim analyses with early stopping rules”

You're planning a trial where you want to look at the data partway through and potentially stop early for efficacy or futility. GSD provides statistically rigorous stopping boundaries that control Type I error.

Phase III TrialsAdaptive DesignsDMC Planning
Use GSD Calculator

“My initial assumptions might be wrong—can I adjust the sample size mid-trial without unblinding?”

You planned your trial with assumed variance, response rate, or event rate, but want a safety net. Blinded SSR re-estimates nuisance parameters from pooled (blinded) interim data and adjusts N without inflating the Type I error rate.

Continuous / Binary / SurvivalType I Error PreservedNo Unblinding Required
Use Blinded SSR Calculator

“The interim effect looks promising but underpowered—can I increase the sample size?”

You're at an interim analysis and the observed treatment effect is in the “promising zone”—not strong enough to stop early, but worth continuing with more subjects. Unblinded SSR uses the inverse-normal combination test (Mehta & Pocock 2011) to increase N while controlling Type I error.

Continuous / Binary / SurvivalPromising Zone ApproachConditional Power Driven
Use Unblinded SSR Calculator

Note: Requires an independent Data Monitoring Committee (DMC) since treatment assignment is unblinded.

“I want to design a trial using Bayesian methods”

You want to incorporate historical data, use informative priors, or design a trial with Bayesian decision rules. The Bayesian Toolkit is a 6-step workflow that takes you from prior specification through sample size determination.

Single-Arm Phase IIHistorical BorrowingRare DiseasesPediatric Extrapolation
Use Bayesian Toolkit

The 6-step workflow:

1. Prior Elicitation
2. Bayesian Borrowing
3. Sample Size
4. Two-Arm Design
5. Sequential
6. Predictive Power

“I want to plan Bayesian interim monitoring with stopping rules”

You're designing a two-arm trial and want to pre-specify Bayesian stopping boundaries based on posterior probabilities. At each interim look, stop for efficacy if the posterior probability of superiority exceeds a threshold, or stop for futility if it falls below one.

Two-Arm TrialsPosterior Probability StoppingEfficacy & Futility Boundaries
Use Bayesian Sequential Calculator

Supports continuous, binary, and survival (TTE) endpoints. Based on Zhou & Ji (2024).

“I want to evaluate whether to continue at an interim”

You're at an interim analysis and want to know the probability that the trial will succeed if you continue. Bayesian PPoS gives you a direct probability to inform Go/No-Go decisions.

Interim FutilityGo/No-Go DecisionsPhase II/III Transition
Use Predictive Power Calculator

Supports continuous, binary, and survival (TTE) endpoints. If you're designing a new trial (not just evaluating an interim), start with the Bayesian Toolkit Overview to understand the full workflow.

Quick Comparison

I want to...Use ThisKey Output
Reduce sample size using baseline dataCUPEDAdjusted sample size, variance reduction %
Plan interim analyses with early stoppingGSDStopping boundaries, expected sample size
Adjust sample size mid-trial (blinded)Blinded SSRRecalculated N, nuisance parameter estimates
Increase sample size when interim result is promisingUnblinded SSRRecalculated N, conditional power, zone classification
Design a trial with informative priorsBayesian ToolkitPrior specification, sample size, operating characteristics
Incorporate historical control dataBayesian BorrowingEffective prior, sample size reduction
Size a single-arm Bayesian trialBayesian Sample SizeN with Type I error and power
Size a two-arm Bayesian RCTTwo-Arm BayesianN per arm, allocation ratio impact
Plan Bayesian interim stopping boundariesBayesian SequentialPosterior probability boundaries, Type I error, power
Evaluate trial success probability at interimPredictive PowerPPoS (%), Go/No-Go recommendation
All of the above for a complex trialSee belowCombined approach

Combining Calculators

For sophisticated trial designs, these tools complement each other:

1

Start with GSD for the overall design

Plan your interim analysis schedule and stopping boundaries. This gives you your maximum sample size and expected sample size under various scenarios.

2

Add CUPED for variance reduction

If you have baseline covariates, calculate how much smaller your trial can be. Apply the reduction to your GSD sample size.

3

Add SSR for mid-trial sample size flexibility

If your planning assumptions may be uncertain, pre-specify an SSR interim look. Use Blinded SSR for nuisance parameter adjustments without unblinding, or Unblinded SSR with a DMC when the observed effect is in the promising zone.

4

Use Bayesian PPoS for internal Go/No-Go

At each interim, use PPoS to inform your decision to continue. GSD boundaries handle regulatory stopping; Bayesian informs internal strategy. Alternatively, use Bayesian Sequential for a fully Bayesian monitoring framework with posterior probability stopping rules.

5

For Bayesian trial designs, follow the 6-step workflow

If using Bayesian methods for primary analysis (not just interim monitoring), start with Prior Elicitation and work through the toolkit sequentially.

Common Scenarios

ScenarioDescriptionCalculator(s)Approach
Tech A/B TestTesting a new feature on user engagementCUPEDUse last week's engagement as baseline
Phase III Clinical TrialPivotal trial with planned interim analysesGSD + Bayesian PPoSGSD for boundaries, Bayesian for futility
Uncertain Variance / Event RatePlanning assumptions may be off; want a safety netBlinded SSRRe-estimate nuisance parameters without unblinding
Promising but Underpowered InterimEffect is trending but conditional power is lowUnblinded SSRIncrease N in promising zone via combination test
Bayesian Adaptive TrialTwo-arm trial with posterior probability stoppingBayesian SequentialPosterior thresholds for efficacy and futility
Phase II Proof-of-ConceptSingle-arm or small RCT with Go/No-Go gateBayesian ToolkitPrior → Sample Size → PPoS for decision
Single-Arm with Historical BorrowingPhase II using external control dataBayesian ToolkitPrior → Borrowing → Sample Size → PPoS
Rare Disease TrialSmall population, strong historical dataBayesian ToolkitMAP prior with aggressive borrowing
Pediatric ExtrapolationLeveraging adult trial dataBayesian BorrowingPower prior with appropriate discount
Long-Term Outcomes Study5-year follow-up with event-driven endpointsGSDO'Brien-Fleming boundaries

Decision Tree

What's your primary goal?
│
├─ Reduce sample size with baseline data
│  └─ → CUPED
│
├─ Plan frequentist interim stopping rules
│  └─ → GSD
│
├─ Adjust sample size mid-trial
│  │
│  ├─ Can you unblind treatment assignment?
│  │  ├─ NO  → Blinded SSR (nuisance parameter re-estimation)
│  │  └─ YES → Is the interim effect in the promising zone?
│  │     ├─ YES → Unblinded SSR (increase N via combination test)
│  │     └─ NO  → Consider GSD early stopping rules instead
│  │
│  └─ What endpoint type?
│     → All three: continuous, binary, and survival supported
│
├─ Plan Bayesian interim stopping rules
│  └─ → Bayesian Sequential (posterior probability boundaries)
│
├─ Design a new Bayesian trial
│  │
│  ├─ Do you have historical data to borrow?
│  │  ├─ YES → Bayesian Toolkit (Prior → Borrowing → Sample Size)
│  │  └─ NO  → Bayesian Toolkit (Prior → Sample Size)
│  │
│  └─ Single-arm or two-arm?
│     ├─ Single-arm → Bayesian Sample Size calculator
│     └─ Two-arm    → Two-Arm Bayesian Design calculator
│
└─ Evaluate an ongoing trial at interim
   └─ → Predictive Power (PPoS)