Math & Statistics
Two-Sample T-Test Calculator
Compare the means of two independent samples using a t-test.
Your inputs
Change any value to update the result instantly.
t-statistic
2.5662
Degrees of freedom
55.3337
Two-tailed p-value
0.013
Standard error
1.169
Significant at the 5% level
Formula and working
t = (x̄₁ − x̄₂) ÷ √(s₁²/n₁ + s₂²/n₂)
- 1
Collect the inputs
Sample 1 mean = 25; Sample 1 std dev = 4; Sample 1 size = 30; Sample 2 mean = 22; Sample 2 std dev = 5; Sample 2 size = 30
- 2
Apply the formula
t = (x̄₁ − x̄₂) ÷ √(s₁²/n₁ + s₂²/n₂)
- 3
Result
t-statistic = 2.5662
Frequently asked questions
Important limitation
This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.
Report a mistake or request an improvement
Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.
Related calculators
Chi-Square Test Calculator
Test goodness-of-fit between observed and expected frequencies.
Confidence Interval Calculator
Find the confidence interval for a sample mean.
Margin of Error Calculator
Find the margin of error for a survey proportion.
One-Way ANOVA Calculator
Compare the means of three groups using an F-test.
Sample Size Calculator
Find the sample size needed for a survey at a target margin of error.
Average Calculator
Calculate the mean of up to five values.
