Mann-Whitney U Test

Non-parametric test comparing two independent groups. Use when data is not normally distributed.

Please verify you are human to use the calculator.

About the Mann-Whitney U Test

The Mann-Whitney U test (also known as the Wilcoxon rank-sum test) is a non-parametric test for comparing two independent groups. It works by ranking all observations from both groups together and comparing the rank sums. The test evaluates whether the two groups’ probability distributions are the same, which is a broader question than simply comparing medians.

A widespread misconception is that the Mann-Whitney test is “assumption-free.” While it does not require normally distributed data, it still requires independent observations and random sampling. Another common misunderstanding is that it tests medians—two groups can share the same median yet differ significantly in their overall distributions.

The trade-off for robustness is power: when data genuinely satisfies the assumptions of the t-test, the Mann-Whitney U test is less powerful because converting values to ranks discards information. Use the Mann-Whitney when your data is ordinal, heavily skewed, or contains extreme outliers—especially with small sample sizes where the Central Limit Theorem provides little help.

A test result carries weight only when the hypothesis, the sample size and the decision rule were fixed before the data arrived. Every pilot we scope is built the same way, with success criteria and kill gates agreed in advance. That work is described under AI pilot design.

Related calculations

  • Two sample t test: Use a t-test when the estimand is a difference in independent-group means.
  • Kruskal wallis: Extend an independent-group rank comparison to more than two groups.
  • Wilcoxon signed rank: Use signed ranks for paired observations; Mann-Whitney requires independent groups.
  • Levene test: Differences in spread can affect rank comparisons; variance equality is a separate diagnostic question.

Related Tools

Stay in the loop

Get notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.

Mann-Whitney U Test FAQ

Common questions about the mann-whitney u test