InputTestHub

Wilcoxon Signed-Rank Test Calculator

Runs the Wilcoxon signed-rank test on paired data, with W, the rank sums, the z approximation and the p-value.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Enter your figures and press Calculate.
In short The Wilcoxon signed-rank test is the non-parametric partner of the paired t-test: it takes the difference within each pair, ranks those differences by SIZE, and then asks whether the positive ones outweigh the negative ones. The six pairs loaded above give W⁺ = 21 and W⁻ = 0 — every pair moved the same way — with z = 2.1260 and p = 0.0335. The two rank sums always add to n(n+1)/2, which is 21 for six pairs, and that identity is the fastest way to check the working. What separates this from a simple sign test is that it uses the SIZE of each change and not merely its direction, so a few large improvements outweigh many trivial declines. That extra information is where the extra power comes from. Pairs with a difference of exactly zero are dropped before ranking, which is standard and is why the effective n can be smaller than the number of pairs you entered. Use it for before-and-after measurements on the same subjects, matched pairs, or repeated ratings — particularly when the differences are skewed or the scale is ordinal, such as a five-point satisfaction score where the numbers have order but no meaningful spacing. The assumption people forget is symmetry: it assumes the differences are distributed symmetrically about their centre.

How to use the Wilcoxon Signed-Rank Test Calculator

  1. Enter your figures in the input fields.
  2. The result updates as you type, together with the full working.
  3. Check the breakdown table to see exactly how the number was reached.

About the Wilcoxon Signed-Rank Test Calculator

The Wilcoxon signed-rank test for paired or repeated measurements.

What people use it for

  • Before-and-after measurements on the same subjects.
  • Matched-pair designs with skewed differences.
  • Ordinal scales such as satisfaction ratings.

Details

The worked exampleW⁺ = 21, W⁻ = 0
They always sum ton(n+1)/2, here 21
z and p2.1260 and 0.0335
Zero differencesdropped before ranking
Its parametric partnerthe paired t-test

The maths behind it

This tool uses Rank the absolute differences, sum the ranks of the positive and negative ones; W is the smaller, and W⁺ + W⁻ = n(n+1)/2. Every intermediate value is shown on screen, so the result can be checked by hand.

The two rank sums are printed side by side precisely because they must add to n(n+1)/2 — an arithmetic check the reader can do in their head.

Where this tool stops

This assumes the paired differences are symmetrically distributed about their centre. Strongly skewed differences break that, and a sign test — which assumes nothing about shape — is the honest fallback.

Frequently asked questions

How is this different from a sign test?
A sign test counts only how many differences are positive. This ranks them by size first, so large changes carry more weight — considerably more powerful, at the cost of assuming the differences are symmetric.
What happens to pairs that did not change?
They are dropped before ranking, which is the standard treatment, and the effective n falls accordingly. The page tells you how many were removed.
When should I use this over a paired t-test?
When the differences are skewed, when there are outliers, or when the measurements are ordinal. On symmetric, roughly normal differences the t-test is slightly more powerful.
How many pairs do I need?
The normal approximation used here is reliable from about ten pairs. With fewer, an exact table is more trustworthy than this p-value.
Is there a limit on how often I can use the Wilcoxon Signed-Rank Test Calculator?
It is free, with no account, no trial and no daily cap. Every calculators tool on inputtesthub.com works the same way: open the page and use it.
Is my data uploaded anywhere?
No. The Wilcoxon Signed-Rank Test Calculator runs entirely in your browser using JavaScript. Because the work happens locally, the tool also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
What is the equation behind the Wilcoxon Signed-Rank Test Calculator?
It uses Rank the absolute differences, sum the ranks of the positive and negative ones; W is the smaller, and W⁺ + W⁻ = n(n+1)/2. The full working is printed under the result, so you can follow every step rather than trusting a black box.
What does a typical result look like?
Enter six pairs, all improving and the Wilcoxon Signed-Rank Test Calculator returns W = 0, z = 2.1260, p = 0.0335.
When would I actually need the Wilcoxon Signed-Rank Test Calculator?
The most common reasons people reach for it: before-and-after measurements on the same subjects. Matched-pair designs with skewed differences. Ordinal scales such as satisfaction ratings. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything the Wilcoxon Signed-Rank Test Calculator cannot do?
This assumes the paired differences are symmetrically distributed about their centre. Strongly skewed differences break that, and a sign test — which assumes nothing about shape — is the honest fallback. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What figures does the Wilcoxon Signed-Rank Test Calculator work from?
The worked example is W⁺ = 21, W⁻ = 0. They always sum to is n(n+1)/2, here 21. z and p is 2.1260 and 0.0335. These are printed on the page itself, so you do not have to take them on trust.
How precise is the result?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…