Also known as Mann-Whitney U test, the Wilcoxon rank-sum test compares two independent samples. Use this calculator to test for significant differences between distributions.
Last updated: March 2026
The Wilcoxon rank-sum test, also called the Mann-Whitney U test, is a non-parametric statistical test used to determine whether two independent samples come from the same distribution. Unlike the t-test, it does not assume normality and works with ranked data rather than raw values.
This test is particularly useful when you have small sample sizes, non-normal data, or ordinal (ranked) data. It answers the question: "Are these two groups significantly different?" by comparing the ranks of observations rather than their actual values.
The test produces a U-statistic and converts it to a z-score for p-value calculation. A p-value less than 0.05 typically indicates a statistically significant difference between the groups.
Scenario: Two groups completed a treatment program. Group A scores: [4, 7, 9, 12, 15]. Group B scores: [3, 5, 8, 10, 11].
Calculation Summary
Use the rank-sum test when your data is non-normally distributed, has small sample sizes, contains outliers, or consists of ordinal (ranked) data. It's more robust and doesn't assume normality.
A p-value of 0.05 means there's a 5% probability of observing your data (or more extreme) if the null hypothesis (no difference) were true. This is the conventional significance threshold.
No. The Wilcoxon rank-sum test is for independent samples. For paired data, use the Wilcoxon signed-rank test instead.
Tied values are assigned the average of the ranks they would occupy. For example, if values are tied for ranks 3, 4, 5, each gets rank 4 (the average).
Theoretically unlimited, but the normal approximation is most accurate for samples with at least 5-10 observations each. For very small samples, consider exact tests.
No. The calculator uses the standard large-sample normal approximation without continuity correction. For small samples (< 5 per group), consider exact tests for more accurate p-values.
Related Tools