Mann-Whitney U Test
Enter two independent samples to compute the Mann-Whitney U statistic and approximate p-value without assuming normality.
Enter Sample Data
Load Example
Enter data and click Run Test to see results.
—
U1 (Group A)
—
U2 (Group B)
—
z-score
—
p-value (2-tail)
| Statistic | Group A | Group B |
|---|---|---|
| Sample size (n) | — | — |
| Median | — | — |
| Mean rank | — | — |
| Rank sum (W) | — | — |
| U statistic | — | — |
Note: Normal approximation is less reliable when n < 8 per group. Consider exact critical values for small samples.
Summary
Enter two independent samples to compute the Mann-Whitney U statistic and approximate p-value without assuming normality.
How it works
- Enter the values for Group A, one per line or comma-separated.
- Enter the values for Group B in the same format.
- Click "Run Test" to combine and rank all values jointly.
- The tool sums the ranks for each group and computes U1 and U2.
- A z-score is derived using the normal approximation and converted to a two-tailed p-value.
- Interpret the p-value against your chosen significance level (commonly 0.05).
Use cases
- Compare test scores between two teaching methods without assuming normality.
- Assess whether two product variants differ in user ratings.
- Analyze clinical trial outcomes when data is ordinal or skewed.
- Evaluate whether two groups differ in response time or task duration.
- Non-parametric alternative to the independent samples t-test.
- Compare ranks in any survey or Likert-scale study.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu