Skip to content

Two-Sample T-Test Calculator

Result

Calculated result 4.582575695 Based on the values entered.
↗ Math

Two-Sample T-Test Calculator — free online calculator.

Formula

t = (x̄₁−x̄₂) / (Sp × √(1/n₁+1/n₂)) · Sp = √(((n₁−1)s₁²+(n₂−1)s₂²)/(n₁+n₂−2))
  • Two-Sample T-Test Calculator calculates its result from N1, S1, N2, S2. It uses the formula t = (x̄₁−x̄₂) / (Sp × √(1/n₁+1/n₂)) · Sp = √(((n₁−1)s₁²+(n₂−1)s₂²)/(n₁+n₂−2)). Change any input to recalculate the result instantly.
  • The main inputs are N1, S1, N2, S2. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Two-Sample T-Test

Inputs
  • N1: 2
  • S1: 3
  • N2: 4
  • S2: 5

Using N1 = 2, S1 = 3, N2 = 4, S2 = 5, the calculated result is 4.582575695.

Sample result: Calculating…

Frequently asked questions

What does the Two-Sample T-Test calculate?

Two-Sample T-Test Calculator — free online calculator.

Which values should I enter?

Enter N1, S1, N2, S2 using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: t = (x̄₁−x̄₂) / (Sp × √(1/n₁+1/n₂)) · Sp = √(((n₁−1)s₁²+(n₂−1)s₂²)/(n₁+n₂−2)).

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 7, 2026