Traditional sample size calculation targets a fixed power (typically 80%) against a fixed effect size. But power is only half the story. A larger trial: (1) has higher power → higher probability of approval → more expected revenue, (2) costs more → reducing NPV if the drug fails, and (3) provides more precise labeling data → potentially supporting a broader indication or stronger promotional claims.
The NPV-optimal sample size balances these tradeoffs: it finds the n that maximizes the expected return, not just the probability of a p < 0.05. For drugs with large commercial potential, the optimal n is often 30-50% larger than the power-based n — the additional trial cost is a rounding error compared to the incremental revenue from higher approval probability.
The expected NPV as a function of sample size is: E[NPV(n)] = P(approval|n) × E[revenue|approval] - Cost(n) × P(failure|n) - Cost(n). Here P(approval|n) depends on the true effect size (uncertain), the trial design, and regulatory requirements. E[revenue|approval] may depend on the precision of the estimate (larger trials → tighter CIs → stronger labeling). These interactions make the NPV(n) function nonlinear and non-analytical — only simulation computes it correctly.
Configure your trial parameters and run the optimizer.