How many participants to show your group's average differs from a fixed benchmark — a guideline target, a historical norm, a device specification.
The one-sample t-test compares a single group's mean to a fixed reference value. The required n depends on the standardized difference δ/σ; this calculator searches with the exact noncentral t distribution on n−1 degrees of freedom (matching R's power.t.test(type = "one.sample")) rather than the normal approximation, which matters at the small samples this design often ends up with.
One caution: comparisons against historical or external references inherit the biases of the reference — a concurrent control group is stronger evidence whenever it is feasible.
A sample size is one line of a statistical plan. MedStatica turns a plain-language description of your study into the full plan — design, recommended analysis, power, causal diagram, methods paragraph, and runnable R, Python, SAS, and Stata code. The first plans are free, no card required.
Plan my study free →Related calculators: comparing two means · paired t-test · one proportion vs a reference · all calculators