
Loading the t-test calculator…
What is a t-test?
A t-test checks whether the difference between two means is larger than you would expect by chance. It is one of the most widely used tests in biology, agriculture, medicine and the social sciences, for example to compare yield under two fertilisers, or blood pressure before and after a treatment.
Which t-test should I use?
- Welch's t-test (recommended): two independent groups when you are not sure the variances are equal. It is the safest default.
- Student's t-test: two independent groups with roughly equal variances and similar sample sizes.
- Paired t-test: the same subjects measured twice (before and after), or matched pairs. Both lists must have the same number of values, in the same order.
How to use this calculator
- Paste or type the values of each group. Separate numbers with commas, spaces or new lines; you can copy a column straight from Excel.
- Choose the type of t-test.
- Click Calculate t-test to get the mean and SD of each group, the t statistic, degrees of freedom and the two-tailed p-value, with a plain-language interpretation.
How to interpret the p-value
If p is less than 0.05, the difference between the means is statistically significant at the 5% level. A larger p-value means the data do not provide enough evidence of a difference; it does not prove the means are equal. Always report the means, SDs, t, df and p together, for example: t(9.42) = −5.38, p = 0.0004.
Assumptions
- The data are continuous and roughly normally distributed in each group (or the samples are reasonably large).
- Observations are independent (except for the pairing in a paired test).
- For more than two groups use one-way ANOVA instead of repeated t-tests.
More free tools: correlation, regression, box plot maker and all statistical tools.



