t-test Calculator

Run a one-sample t-test.

t-statistic 1.826
Degrees of freedom 29

Formula: t = (mean - mu) / (s / sqrt(n))

Step-by-step with your numbers:
1. Values used:
2. Sample mean = 52
3. Hypothesized mean = 50
4. Sample SD = 6
5. Sample size = 30
6.
7. t-statistic = 1.826
8. Degrees of freedom = 29
Did we solve your problem today?

A one-sample t-test compares a sample mean to a hypothesized value.

The math behind it

t = (sample mean - hypothesized mean) / (s / sqrt(n)), with n - 1 degrees of freedom.

Worked example

mean 52, mu 50, s 6, n 30 gives t about 1.83, df 29.

FAQ

t-test vs z-test?

Use the t-test when the population SD is unknown and estimated from the sample.