Clinical Trial Sample Size Calculator
Compare digital endpoint and traditional rating scale sample requirements side by side. Powered by exact noncentral t-distribution calculations, not the normal approximation.
Parameters
Results
Power Curve
Statistical Methodology
Noncentral t-Distribution
This calculator uses the exact noncentral t-distribution rather than the normal (z-test) approximation. The noncentral t accounts for the fact that the population standard deviation is estimated from the sample, which matters most at smaller sample sizes where the normal approximation can overstate power.
For a two-sample t-test with n participants per arm and effect size d:
df = 2(n - 1)
ncp = d × √(n/2)
tcrit = t1-α/2(df)
power = 1 - Fnct(tcrit; df, ncp)
Paired Design
For paired (within-subject) designs, the degrees of freedom are n - 1 and the noncentrality parameter is d × √n, where n is the total number of participants. The paired design achieves higher power per participant because within-subject variability is typically lower than between-subject variability.
Numerical Implementation
The noncentral t CDF is computed using the Algorithm AS 243 series expansion with Poisson-weighted incomplete beta function terms. The regularized incomplete beta function uses the continued fraction representation with modified Lentz iteration. The log-gamma function uses the Lanczos approximation with 9-term coefficients. All computations are numerically stable for sample sizes from 2 to 1,000 and effect sizes from 0.1 to 4.0.
Frequently Asked Questions
How does this calculator determine the required sample size?
What is the difference between two-sample and paired designs for sample size calculation?
Why do digital endpoints require smaller sample sizes than traditional rating scales?
What effect size should I use for my clinical trial power analysis?
Ready to reduce your trial’s sample size?
NeuroQuantix digital endpoints deliver effect sizes 2-4x larger than traditional rating scales. Find out what that means for your specific trial design.