T-Test Calculator

Calculate t-value, degrees of freedom, and p-value for independent samples.



Understanding T-Test

A T-Test is used to determine if two independent samples have significantly different means. It compares the difference between means relative to the variability in the data.

Formula (Independent Samples):

t = (mean1 - mean2) / sqrt( (s1²/n1) + (s2²/n2) )

where s1² and s2² are variances, n1 and n2 are sample sizes.

Example:

Sample 1: 12, 15, 14, 16
Sample 2: 14, 18, 13, 17
T ≈ -0.577