One-Sample t-Test

Test whether the mean of a single sample differs significantly from a known or hypothesised population mean.

Please verify you are human to use the calculator.

About the One-Sample t-Test

The one-sample t-test evaluates whether the mean of a single sample is significantly different from a specified reference value. It is one of the most fundamental hypothesis tests in statistics and is widely used across the sciences whenever a researcher has a single group of measurements and a known or hypothesised population mean to compare against.

The test assumes that the dependent variable is continuous, that observations are independent, that the data is approximately normally distributed, and that there are no severe outliers. For samples larger than about 30 observations, the Central Limit Theorem makes the test robust to moderate departures from normality. For smaller samples, checking a histogram or Q-Q plot for gross non-normality is advisable.

A common pitfall is confusing statistical significance with practical significance. A very large sample can produce a highly significant p-value for a trivially small difference from the reference value. Always pair the test result with an effect size measure such as Cohen’s d to judge whether the observed difference is meaningful in your domain.

Learn More

A test result carries weight only when the hypothesis, the sample size and the decision rule were fixed before the data arrived. Every pilot we scope is built the same way, with success criteria and kill gates agreed in advance. That work is described under AI pilot design.

Related calculations

  • One sample z test: Use a z-test for a mean only when the population standard deviation is known.
  • Paired t test: Use a paired design for two measurements on the same units; the test operates on their differences.
  • Two sample t test: Compare means from two independent groups instead of one mean against a reference.
  • Student t distribution: Inspect the reference distribution used for the t statistic.
  • Shapiro wilk: Use normality diagnostics alongside plots; a non-significant result does not prove normality.
  • Confidence interval: Estimate the sample mean with an interval; the one-sample t-test also reports its own t-based interval.

Related Tools

Stay in the loop

Get notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.

One-Sample t-Test FAQ

Common questions about the one-sample t-test