Advertisement
Hypothesis Testing

Two Sample T Test Calculator

Use this two sample t test calculator to compare the means of two independent populations when the population variances are assumed to be equal. Enter summary data or raw data to find the t statistic, degrees of freedom, p-value, critical value, and a complete step-by-step hypothesis test solution.

The alternative hypothesis determines whether the test is two-tailed, right-tailed, or left-tailed.
Enter α as a decimal. For example, use 0.05 for 5%.
Use summary data when you know x̄, s, and n for both samples. Use raw data when you have the individual observations for each group.
Sample 1
Sample 2
Sample 1 Raw Data
Separate values with commas, spaces, semicolons, or new lines.
Sample 2 Raw Data
Enter observations from a group that is independent of Sample 1.
Important: This calculator performs a pooled two sample t test and assumes that the two population variances are equal. The two samples must also be independent. For matched pairs or before-and-after measurements from the same participants, use a paired t test instead.

Step-by-Step Solution

Advertisement
Joseph Mburu

About This Calculator

Prepared by Joseph Mburu · Updated on

Joseph is an applied statistician and data analyst with over 6 years of experience helping students, researchers, and professionals solve statistics and data analysis problems. He holds a degree in Applied Statistics and a Master’s degree in Data…

We aim to keep our calculators accurate, easy to use, and helpful for learning. Always check that your inputs match the assumptions of the method you are using.