QuickToolbox

T-Test Calculator

Compare two groups of numbers with Welch's t-test, or compare one group with a known value, and get the t value, degrees of freedom and p-value.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

Welch t = (mean1 - mean2) / sqrt(s1^2/n1 + s2^2/n2)

Frequently asked questions

What does the p-value say?

The chance of a difference at least this big if the groups really had the same mean. Small values suggest a real difference.

Why Welch's test?

It does not assume equal spreads in the two groups, so it is safe to use by default.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools