A one-sample t-test asks whether your sample mean is far enough from a claimed population mean that random sampling noise is an unlikely explanation. You compare a null hypothesis about the mean against data summarized by a t-statistic and a p-value.
This guide covers hypotheses, the t formula, degrees of freedom, one-tailed vs two-tailed decisions, how to read p-values, and common pitfalls. When you have sample mean, hypothesized mean, standard deviation, and sample size, open the free hypothesis testing calculator to compute the t-statistic and an approximate p-value.
You will often compute the sample mean and SD first — use the free average calculator and standard deviation calculator, plus guides on mean/median/mode and standard deviation.