T Test Calculator

Run a one sample, two sample or paired t test online. Get the t value, degrees of freedom and p value with every step explained.

Runs in your browser. Nothing you type is saved. Updated November 28, 2026.

Run a T Test in Seconds

A t test checks whether the difference between averages is real or just random chance. Pick your test type, enter your numbers and get the t value, degrees of freedom and p value, plus a plain English answer.

What Is a T Test

A t test compares averages. For example, did students who used flashcards score higher than students who didn't? The t test looks at how big the difference is and how spread out the data is. If the difference is large compared to the spread, it's probably real.

Which T Test Should I Use

The two sample option uses Welch's t test, which doesn't assume both groups have the same spread. It's the safer default.

How to Use the T Test Calculator

T Test Formulas

One sample: t = (sample mean minus test value) / (s / square root of n)

Paired: t = mean of the differences / (standard deviation of the differences / square root of n)

Two sample Welch: t = (mean 1 minus mean 2) / square root of (s1 squared / n1 + s2 squared / n2)

One Sample Example

A class of 16 students has an average of 52 on a quiz, with a standard deviation of 4. Is that different from 50?

Since 0.064 is bigger than 0.05, the difference isn't statistically significant at the 5 percent level.

How to Read the P Value

The p value is the chance of seeing a difference this big if there were really no difference. A small p value, usually below 0.05, means the result is statistically significant. It doesn't tell you the difference is large or important, just that it's unlikely to be random.

Frequently Asked Questions

What is a t test

A t test is a statistics test that checks whether the difference between averages is likely real or just due to chance.

When should I use a t test

Use it to compare averages when your data is roughly normal and you don't know the population standard deviation.

What is a paired t test

It compares two measurements on the same subjects, like test scores before and after tutoring.

What is the difference between a one tailed and two tailed t test

A two tailed test checks for a difference in either direction. A one tailed test only checks one direction, like higher.

What does a p value of 0.05 mean

It means there's a 5 percent chance of seeing a difference this big if there were no real difference.

What are degrees of freedom in a t test

They're based on sample size. For a one sample or paired test, it's the number of values minus 1.

What is the Welch t test

It's a two sample t test that doesn't assume both groups have equal variance. It's the safer choice in most cases.

What if my p value is greater than 0.05

Then the difference isn't statistically significant at the 5 percent level. It doesn't prove there's no difference.

How big does my sample need to be for a t test

There's no strict minimum, but small samples need data that's close to normal. Larger samples give more reliable results.

What is the difference between a t test and a z test

A z test uses a known population standard deviation. A t test uses the sample standard deviation and works better for small samples.

Is my data saved

No. Your data stays in your browser.

Do the math before the final.

It takes ten seconds to know exactly what you need.

Open the final grade calculator