Toolstia / t-test calculator

t-test calculator

Paste your data to test whether two averages really differ. Choose Welch or Student for two groups, a paired test for before and after measurements, or a one-sample test against a known value. You get the t statistic, degrees of freedom, p-values, a confidence interval and Cohen d.

Welch is the safer default because it does not assume equal spread. A small p-value shows the difference is unlikely to be chance alone, not that it is large or important. Cohen d helps judge size: about 0.2 is small, 0.5 medium and 0.8 large.

How it works

  1. Choose the test.
  2. Paste the values for each group.
  3. Read the p-value, the confidence interval and the effect size.

Which test

Welch does not assume equal spread and is the safer default. Student assumes equal variances. Use paired when each value in one list belongs with the same position in the other.

The p-value

It is the chance of a difference at least this big if the true averages were equal. A small p-value (below 0.05 for 95 percent confidence) is evidence against that.

Confidence interval

It shows the range of differences that fit your data. If it excludes 0, the test is significant at that level.

Effect size

Cohen d measures the difference in units of standard deviation: about 0.2 is small, 0.5 medium and 0.8 large.

Questions

Does a significant result mean it is important?

No. With a lot of data, tiny differences become significant, so look at the effect size and interval too. Everything happens in your browser, and nothing you enter is sent anywhere.

How many values do I need?

At least 2 per group, though the test is more reliable with more, especially if the data is far from bell-shaped.

What is the one-tailed p-value?

It is half the two-tailed value and applies only if you chose the direction of the difference before looking at the data.