# T-Test

> The T-Test checks whether the means of two samples are statistically different. It is commonly used to evaluate the impact of a change.

Measurement · Updated 2026-08-28 · [Marketing glossary](https://www.getlooploop.com/glossary)

**In short** A T-Test tells you if the average of one group is different from another group.

## what it is and how it works

The T-Test calculates a t‑value by comparing the difference between the two group means to the variability within each group. First, it finds the average of each sample and the overall spread. Then it divides the mean difference by a pooled standard deviation, producing a t‑value. The larger the t‑value, the stronger the evidence that the groups are not the same. It assumes the data are roughly normally distributed and that the groups have similar variances.

## what to do about it

To run a T-Test, first collect two comparable sets of numbers, such as conversion rates before and after a landing page change. Use a spreadsheet tool or statistical software that has a T-Test function. Check that each group has at least 30 observations to satisfy the sample size rule. Verify that the variances are similar; if not, consider a Welch’s T-Test variant. Record the resulting p‑value and compare it to your significance threshold, typically 0.05.

## how it is measured or noticed

The T-Test result appears as a p‑value, which indicates the probability that the observed difference occurred by chance. A p‑value below 0.05 is usually taken as statistically significant, meaning the groups likely differ. In practice, you notice the test when a platform reports a significance score next to a metric comparison, or when a dashboard highlights a change with a confidence flag. The t‑value itself is less commonly shown, but the p‑value is the key indicator.

## common mistakes

Common mistakes to avoid:

- Using the test on data that isn't roughly normal or has unequal variances.
- Ignoring the sample size requirement and running the test on tiny groups.
- Treating a non-significant p-value as proof that the groups are the same.

## limits

The T-Test is not suitable for comparing more than two groups; for multiple comparisons use ANOVA or a non-parametric alternative. It also assumes independent observations, so it should not be applied to time-series data where points are correlated. Additionally, it can be confused with a simple difference test that looks only at raw numbers without considering variability.

## a worked example

Imagine a marketer runs two ad variations and records daily click counts: version A averages 120 clicks with a standard deviation of 15, version B averages 100 clicks with a standard deviation of 12. Running a T-Test yields a t-value of 3.2 and a p-value of 0.001. Since the p-value is below 0.05, the marketer concludes the difference is statistically significant and may keep the better-performing version. Example: 120 vs 100 clicks gives p = 0.001.

> The test shows a p-value of 0.001, indicating a real difference.

## Check for normality before running the T-Test

The T-Test assumes that your data is normally distributed. Before proceeding, visualize your data using a histogram or run a Shapiro-Wilk test to confirm this assumption. If the data is severely non-normal, consider using a non-parametric alternative like the Mann-Whitney U test instead.

## Frequently asked questions

### How is a T-Test different from a Z-Test?

A T-Test is used when sample sizes are small or population variance is unknown, while a Z-Test requires known population variance and larger samples.

### When should I use a T-Test instead of ANOVA?

Use a T-Test for comparing exactly two groups. For three or more groups, ANOVA is appropriate to avoid multiple comparisons.

### What if my T-Test shows no significant difference but I expect one?

A non-significant result might occur if sample sizes are too small, variability is high, or the actual effect is too subtle to detect with current data.

## Asked out loud

The same term in the words somebody uses speaking to an assistant rather than typing into a box — written from the situation, which is why each one carries the situation it came from.

### I just ran an A/B test and got a p-value of 0.08—does that mean my change failed?

Not necessarily. A p-value above 0.05 suggests insufficient evidence to reject the null hypothesis, but it doesn’t prove no effect. Check sample size or data quality.

### My colleague says I should use a T-Test, but I thought ANOVA was better for my three ad versions?

They’re right to question you. A T-Test only compares two groups. For three, use ANOVA to avoid inflating error rates with multiple tests.

### If I mess up the T-Test, will my whole campaign report be wrong?

Yes, if you draw incorrect conclusions. A flawed T-Test might lead you to abandon a winning variation or stick with a loser, wasting resources.

## Sources

- [Google Search Central documentation](https://developers.google.com/search/docs)

Source: GetLoopLoop Glossary — https://www.getlooploop.com/glossary/t-test. CC BY 4.0: https://creativecommons.org/licenses/by/4.0/

---

Canonical page: https://www.getlooploop.com/glossary/t-test
This is the Markdown copy of that page for AI agents, made from the same content.
