# Two Sample t-test Calculator

A two sample t-test is used to test whether or not the means of two populations are equal.
This type of test assumes that the two samples have equal variances. If this is not the case, you should instead use the Welch’s t-test calculator.
To perform a two sample t-test, simply fill in the information below and then click the “Calculate” button.

Sample 1

Sample 2

t = -1.608761

df = 22

p-value (one-tailed) = 0.060963

p-value (two-tailed) = 0.121926

## 5 Replies to “Two Sample t-test Calculator”

1. Dmitry says:

Hi! Thanks for efforts.

-1.838687427 I get this for t value.

Could you please check? Classical two independant samples formula:
t = (ma- mb)/ sqrt( s*s/12 – s*s/12)

2. Donald Nongola says:

Thank you learnt something. For df = 12, I had to subtract one from each of the samples

3. TOM SOSTHENES ONYINKWA says:

good work zach

4. Alan Cañares says:

Hi, I noticed that in using the calculators for hypothesis testing, the default level of significance is 0.05 and you cannot change it. Is there a way I can change the level of significance to 0.1 or say 0.01?