Free online tools

Mann–Whitney U Test Calculator

Paste two samples from independent groups. Find the rank-sum statistic for each group and a tie-adjusted normal approximation.

Enter your values

Separate numbers with spaces, commas or new lines. Use decimal points.

Separate numbers with spaces, commas or new lines. Use decimal points.

This tool processes your input in your browser.

Result

Rank the pooled observations

Combine the groups, sort the observations and assign average ranks to tied values. The rank sum for the first group gives its U statistic. The two U values add to the product of sample sizes.

Adjust the normal approximation for ties

The p-value uses pooled tie adjustments and a continuity correction. The approximation can be imprecise with small samples. This comparison measures rank order rather than a direct difference of means.

Frequently asked questions

Does this compare medians?

A median-shift interpretation requires additional assumptions about how the distributions differ. The statistic itself compares ranks.

What if all pooled values tie?

There is no variable rank contrast. The U statistic can be shown, but this approximate p-value is undefined.