Nonparametric Tests

Mann-Whitney U Test Table: Critical Values for Two-Tailed α = 0.05

Exact critical values for the Mann-Whitney U test (Wilcoxon rank-sum test), the nonparametric alternative to the two-sample t-test.

  • n₁, n₂ = 2 to 20
  • Exact values
  • Exact p-value calculator

Mann-Whitney U, α = 0.05

Rows: n₁ · Columns: n₂ · Cells: largest U that is significant at two-tailed α = 0.05. Reject H₀ if U ≤ the cell.

Mann-Whitney U Test Table (Critical Values, α = 0.05)
Size of the second sample (n₂) →
n₁ \ n₂ ↓
234567891011121314151617181920
2——————0000111112222
3———0112233445566778
4——01234456789101111121314
5—012356789111213141517181920
6—123568101113141617192122242527
7—1356810121416182022242628303234
8024681013151719222426293134363841
90247101215172023262831343739424548
100358111417202326293336394245485255
110369131619232630333740444751555862
1214711141822262933374145495357616569
1314812162024283337414550545963677276
1415913172226313640455055596469747883
15151014192429343944495459647075808590
16161115212631374247535964707581869298
172611172228343945515763697581879399105
1827121824303642485561677480869399106112
19271319253238455258657278859299106113119
202814202734414855626976839098105112119127

Tip: click any value to highlight its row and column.

How to read this table

  1. Rank all n₁ + n₂ observations together. Let R₁ be the sum of the ranks in sample 1.
  2. Compute U₁ = R₁ − n₁(n₁ + 1)/2 and U₂ = n₁n₂ − U₁. Use U, the smaller of the two.
  3. Find the cell for your two sample sizes (the table is symmetric, so the order does not matter).
  4. Reject H₀ if U is less than or equal to the table value. A dash (—) means no result can be significant.

Worked example

A trial compares pain scores in 8 patients on a new treatment with 10 on standard care, and U = 14. Row n₁ = 8, column n₂ = 10 gives 17. Because 14 ≤ 17, the difference is significant at two-tailed α = 0.05.

Click the underlined links to highlight the value in the table.

Calculator

For values between the rows and columns of the table. Results update as you type.

Formula and how the values were computed

U₁ = R₁ − n₁(n₁ + 1)/2  ·  U = min(U₁, n₁n₂ − U₁)  ·  reject H₀ if U ≤ Ucrit

Critical values come from the exact null distribution of U, obtained by enumerating all orderings of the two samples. Each value is the largest U with P(U ≤ u) ≤ α/2. The table assumes no ties.

Frequently asked questions

Is this the same as the Wilcoxon rank-sum test?

Yes. The Wilcoxon rank-sum statistic W = R₁ and the Mann-Whitney U are equivalent: U₁ = W − n₁(n₁ + 1)/2, so they always give the same p-value.

What about larger samples?

The calculator above gives exact results for samples up to 50 each. For large samples, U is approximately normal with mean n₁n₂/2 and variance n₁n₂(n₁ + n₂ + 1)/12.

What does the test actually compare?

It tests whether one group tends to have larger values than the other. It is only a test of medians when the two distributions have the same shape.

Related calculators and tutorials