← Back to Home

Sample Size Calculator for Comparison of Mean in One Sample
Against a Null Hypothesis Using T-Test

This tool compares a single sample’s mean against a fixed reference value using a one-sample Student’s t-test. Power is computed exactly from the non-central t-distribution at n−1 degrees of freedom, and sample size is found by searching for the smallest n that reaches your target power.

Calculate Sample Size
Value between 0.5 and 0.99
Must be > 0
Typically 0.05 for 95% confidence
Calculate Power
Must be > 0
Must be ≥ 2
Typically 0.05 for 95% confidence