For equal arm size , write at the clinically relevant alternative. A one-sided level- Wald test rejects when , and its approximate statistical power is
Equating this to gives the per-arm sample size
rounded up. If the design uses a null-based critical standard error but an alternative standard error , the corresponding more general formula is