Skip to content

One-Sample t-Test Calculator

Test whether a sample mean differs from a hypothesized population mean. Enter the sample mean, standard deviation, and size, choose a hypothesis direction, and get the t statistic, degrees of freedom, and p-value.

Alternative hypothesis

Inputs

Sample statistics

≥ 2

Hypothesized mean

Results

Enter a value to see results.

Standard error

\begin{aligned} t &= \dfrac{\bar{x} - \mu_0}{s / \sqrt{n}} \\ &= \dfrac{(52) - (50)}{?} \\ &= ? \end{aligned}
\begin{aligned} p &= P(|T| > |t|),\quad df = n - 1 = ? \\ &= F_t(t,\, df)\ \text{combined per tail} \\ &= ? \end{aligned}

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?