Mann-Whitney U and Wilcoxon Signed-Rank Test Calculator

Compare two groups without assuming normality: Mann-Whitney U for independent samples, Wilcoxon for pairs.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open Mann-Whitney U and Wilcoxon Signed-Rank Test Calculator and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What Mann-Whitney U and Wilcoxon Signed-Rank Test Calculator does

    Compare two groups without assuming normality: Mann-Whitney U for independent samples, Wilcoxon for pairs.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Choose the Mann-Whitney U test (two independent samples) or the Wilcoxon signed-rank test (paired samples), enter the data and get the test statistic, z, the p-value and an effect size. Exact p-values are used for small samples without ties.

Mann-Whitney U

All values are ranked together (ties share the mean rank). U₁ = R₁ − n₁(n₁ + 1) ÷ 2 and U₂ = n₁n₂ − U₁. The p-value is exact for samples of up to 12 each without ties; otherwise it uses the normal approximation with tie and continuity corrections. The rank-biserial correlation is (U₁ − U₂) ÷ (n₁n₂) and the common-language effect size U₁ ÷ (n₁n₂) is the chance a random value from group 1 beats one from group 2.

Wilcoxon signed-rank

Differences between pairs are ranked by size; zero differences are dropped. W⁺ and W⁻ are the rank sums of the positive and negative differences. The p-value is exact for up to 25 pairs without ties, otherwise a normal approximation.

Numbers can be separated by spaces, commas or new lines.

Worked example

Samples 27 31 35 38 40 44 47 and 20 24 26 29 30 33 36 39 give U₁ = 45, U = 11 and an exact two-sided p of 0.0541, so the difference is not significant at 5%.

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

When should I use Mann-Whitney?

To compare two independent groups when the data are not normal or are ranks.

When Wilcoxon?

For paired or before-and-after data, with the two lists in the same order.

What is an exact p-value?

Calculated from the full distribution of the statistic rather than an approximation.

Is it the same as a t-test?

No, it compares ranks rather than means.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages