Mann-Whitney U Test Calculator
Compare two independent groups of numbers with the Mann-Whitney U test, a rank-based test that does not assume normal data. It gives U, a z score and a two-sided p-value.
1 Paste your text and pick the options
2 Your answer
Your answer shows here as you type.
How to use the Mann-Whitney U Test Calculator
- Paste the values for group A, separated by commas or spaces.
- Paste the values for group B in the second box.
- Read U and the two-sided p-value. A p-value below 0.05 suggests the groups differ in rank order.
Frequently asked questions
What does the Mann-Whitney U test tell you?
It tests whether values in one group tend to be larger than values in the other. It compares ranks rather than means, so it does not assume the data are normally distributed.
When should I use it instead of a t-test?
Use it when the data are ordinal, strongly skewed, or contain outliers, or when the samples are small and not clearly normal. A t-test is usually preferred when the data are roughly normal and the question is about means.
How is the U statistic calculated?
Combine both groups and rank all values from smallest to largest, giving tied values their average rank. Then U1 = R1 - n1(n1+1)/2, where R1 is the rank sum of group A, and U2 = n1 x n2 - U1. The reported U is the smaller of the two.
Is the p-value exact?
This calculator uses a normal approximation with continuity and tie corrections. It is reasonable for groups of about 8 or more values each; smaller samples are better checked against exact tables or software.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.