Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Wilcoxon signed-rank test calculator

Paste before and after measurements in matching order. Zero differences are omitted and the rest are ranked by absolute size.

P-value: —

Fill in the fields above — the result is computed on this page.

W+
—
W−
—
Smaller W
—
z approximation
—
Non-zero pairs
—
Zero differences
—

Differences and ranks

Pair Before After Difference Rank Sign
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • Keep the same pair order in both fields.
  • Report W, the number of non-zero pairs and the p-value.

The test assumes independent pairs and an approximately symmetric distribution of differences. With few pairs an exact test may give a different p-value.

How do I use this page?
  1. Paste measurements in matching rows.
  2. Choose the alternative direction.
  3. Review W+, W−, z and the p-value.

What this page does not do: The test assumes independent pairs and an approximately symmetric distribution of differences. With few pairs an exact test may give a different p-value.

Further reading

Theory — what is the Wilcoxon signed-rank test?

The Wilcoxon signed-rank test compares two related measurements, such as before and after values, without assuming the differences are normally distributed. It analyses the signs and ranks of the absolute differences within each pair, giving weight to their magnitude. Pairs with a zero difference are excluded, while the remaining differences are ranked by absolute size. The calculator handles tied ranks and applies a normal approximation with a continuity correction, the usual approach for larger samples.

Frequently asked questions

What happens to equal pairs?
Pairs with zero difference are omitted.
When should I use a paired t test?
When differences are approximately normal and the mean difference is the target.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.