Calculator Hub

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.

Math & Statistics

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. 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. 2

    Apply the formula

    t = (x̄₁ − x̄₂) ÷ √(s₁²/n₁ + s₂²/n₂)

  3. 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

Back to Calculator Hub