Two Sample T-Test Calculator
Enter data for two groups to compute the t-statistic, p-value, and determine if the difference in means is statistically significant.
Group 1 Data
— values
Group 2 Data
— values
Test Statistics
Descriptive Statistics
| Statistic | Group 1 | Group 2 |
|---|
Enter data for both groups and click Run T-Test to see results.
Summary
Enter data for two groups to compute the t-statistic, p-value, and determine if the difference in means is statistically significant.
How it works
- Enter the data values for Group 1, one number per line or comma-separated.
- Enter the data values for Group 2 in the same format.
- Select your desired significance level (alpha) — commonly 0.05.
- Click "Run T-Test" to compute the t-statistic, degrees of freedom, and two-tailed p-value.
- The result shows whether to reject the null hypothesis at your chosen alpha.
- Descriptive statistics (mean, variance, standard deviation) for each group are also displayed.
Use cases
- Compare test scores between two classroom groups to check if a teaching method made a difference.
- Evaluate whether a new drug produces a significantly different outcome than a placebo.
- Determine if conversion rates differ between two A/B test variants.
- Assess whether salary data differs between two departments.
- Validate experiment results in scientific research and data analysis.
- Check if a product change measurably improves or harms a key metric.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu