T-test calculator
One-sample, independent samples or paired t-test from raw data, with an APA-style line. The data stay in this tab.
Result
- t
- 1.8749
- Degrees of freedom
- 13.71
- p-value (two-tailed)
- 0.0823
- Mean difference
- 0.425
- Standard error
- 0.2267
- 95 % confidence interval
- [-0.0622, 0.9122]
- Cohen's d
- 0.937
Not significant at α = 0.05.
APA style: t(13.71) = 1.87, p = .082, d = 0.94
| Group | n | Mean | SD |
|---|---|---|---|
| Group A | 8 | 5.6125 | 0.4853 |
| Group B | 8 | 5.1875 | 0.419 |
How to use this tool
Run a t-test in three steps.
Choose the test
One-sample, independent samples (Welch or Student) or paired.
Paste the data
Paste each group's numbers, or the before and after values in the same order.
Read the result
See t, df, the p-value, the confidence interval and Cohen's d, then copy the APA-style line.
FAQ
Which t-test should I use?
A one-sample test compares one group's mean with a fixed value. An independent samples test compares two separate groups. A paired test compares two measurements of the same people, such as before and after.
Welch or Student's t-test?
Welch's test does not assume the two groups have equal variances and is the safer default, which is why it is selected first. Student's pooled test assumes equal variances and gives a whole-number df.
How do I read the p-value?
It is the chance of a difference at least this large if there were no real difference. Below your significance level (often 0.05), the difference is called statistically significant.
What is Cohen's d?
The size of the difference in standard deviations. Around 0.2 is small, 0.5 medium and 0.8 large. Unlike the p-value it does not grow with the sample size.
How do I report a t-test in APA style?
Give t with its degrees of freedom, the p-value and an effect size, for example t(14) = 1.87, p = .082, d = 0.94. The calculator writes this line for you.