When to Use the Mann-Whitney U Test (vs. t-Test)
5 min read
When to use the Mann-Whitney U test comes down to one situation: you want to compare two independent groups, but the normality assumption for a t-test cannot be met. Mann-Whitney U is the non-parametric alternative — it compares rank distributions instead of means and works reliably with small samples and ordinal data. This guide covers the decision, the SPSS steps, and APA reporting with effect size r.
Key takeaways
- Use Mann-Whitney U instead of the independent samples t-test when normality is violated and n < 30 per group.
- With n ≥ 30 per group, the t-test is robust — check your Q-Q plot and proceed unless violations are severe.
- Mann-Whitney U compares rank distributions, not means — report medians, not means, in your results.
- Effect size for Mann-Whitney U is r = Z ÷ √N. Benchmarks: r = .10 small, .30 medium, .50 large.
- Commonly used with Likert composite scores when normality cannot be assumed.
What Is Mann-Whitney U? The Non-Parametric t-Test
Mann-Whitney U tests whether the rank distributions of two independent groups differ significantly. Instead of comparing means, it ranks all observations from both groups together and checks whether one group’s ranks tend to be higher than the other’s.
This makes it suitable when the t-test’s normality assumption is violated, when data are ordinal, or when sample sizes are small and you cannot rely on the Central Limit Theorem.
Despite being non-parametric, Mann-Whitney U is not weaker than the t-test — it is simply more appropriate under different conditions.
Mann-Whitney U vs. t-Test: Side-by-Side Comparison
Both tests compare two independent groups. The choice depends on your data and sample size:
| Criterion | Independent t-test | Mann-Whitney U |
|---|---|---|
| Data type | Metric (interval/ratio) | Metric or ordinal |
| Normality required | Yes (or n ≥ 30 per group) | No |
| Compares | Means | Rank distributions (report medians) |
| Effect size | Cohen’s d | r = Z ÷ √N |
| When to use | Normality holds or large samples | Normality violated, small n, or ordinal DV |
When Normality Is Violated — What to Do
Run Shapiro-Wilk first: Analyze → Descriptive Statistics → Explore → Plots → Normality plots with tests.
- If Shapiro-Wilk p > .05: normality not significantly violated → use the independent samples t-test.
- If Shapiro-Wilk p < .05 AND n < 30 per group: normality violated → use Mann-Whitney U.
- If Shapiro-Wilk p < .05 AND n ≥ 30 per group: use the t-test anyway (Central Limit Theorem), but inspect the Q-Q plot and histogram.
[TIP] With n > 100 per group, Shapiro-Wilk almost always returns significant even for trivial deviations. In this case, rely on the Q-Q plot and histogram rather than the Shapiro-Wilk p-value.
How to Run Mann-Whitney U in SPSS: Step-by-Step
SPSS path: Analyze → Nonparametric Tests → Legacy Dialogs → 2 Independent Samples → move your DV to Test Variable List, grouping variable to Grouping Variable → Define Groups → tick Mann-Whitney U → OK.
- In the output, read:
- Mann-Whitney U statistic
- Wilcoxon W statistic (sum of ranks for the smaller group)
- Z statistic (standardised test statistic)
- Asymptotic Significance (2-tailed) = your p-value
Report medians (not means) for each group.
Interpreting the Output and Calculating Effect Size r
The p-value tells you whether the rank distributions differ significantly. The U statistic alone is not meaningful without context.
- Effect size r = Z ÷ √N, where N = total sample size.
- Benchmarks: r = .10 small, .30 medium, .50 large.
Example: Z = −2.84, N = 121 → r = 2.84 ÷ √121 = 2.84 ÷ 11 = .26 (small-medium effect).
APA Reporting Format for Mann-Whitney U
- Significant:
- "Students who exercised regularly (Mdn = 20.0) showed significantly lower stress ranks than non-exercising students (Mdn = 25.0), U = 1324.5, z = −2.84, p = .005, r = .26."
- Non-significant:
- "No significant difference in stress ranks was found between exercising and non-exercising students (Mdn = 21.0 vs. Mdn = 23.0), U = 1654.0, z = −1.12, p = .263, r = .10."
[INFO] Report medians (Mdn), not means (M), when using Mann-Whitney U. The test ranks data rather than using means, so medians are the appropriate descriptive statistic.
Frequently asked questions
When should I use Mann-Whitney U instead of the t-test?
â–¾
Does Mann-Whitney U compare means or medians?
â–¾
How do I calculate the effect size r for Mann-Whitney U in SPSS?
â–¾
Can I use Mann-Whitney U with Likert scale data from my thesis survey?
â–¾
What is the difference between Mann-Whitney U and Wilcoxon signed-rank test?
â–¾
Further reading
Which Statistical Test to Use for Your Thesis: A Complete Decision Guide
· Test selectionWhen to Use a t-Test: A Simple Guide for Thesis Students
· Statistical testsWhen to Use the Wilcoxon Test and What It Actually Is
· Statistical testsAPA Statistics Reporting: Copy-Paste Templates for Every Test in Your Thesis
· APA reporting
Free tool
Not sure which statistical test to use?
Answer 5 quick questions about your research design and get the right test - with an explanation of why - in under two minutes.
Statoria Team
Statistics educators & software developers
We build Statoria to help bachelor and master students get through their thesis data analysis without stress. Our guides are written by researchers with experience in social science statistics and student supervision.
Related guides

