Wilcoxon Signed-Rank Test Calculator

Reviewed by CalcMulti Editorial Team·Last updated: ·Statistics Hub

The Wilcoxon signed-rank test is the non-parametric alternative to the paired t-test. It tests whether the median difference between paired observations is zero, without assuming the differences are normally distributed.

Enter two paired datasets. The calculator computes the signed ranks, W-statistic, and p-value using the normal approximation (suitable for n ≥ 10). Use this test when your differences are clearly non-normal, ordinal, or your sample is small with severe outliers.

Formula

W = Σ sgn(d_i) · R_i z = (W − 0) / √[n(n+1)(2n+1)/6]

d_i
difference = x_i − y_i (zero differences excluded)
R_i
rank of |d_i| among all non-zero differences
W
signed-rank sum (W⁺ − W⁻)
n
number of non-zero differences
z
normal approximation for large n (≥ 10)

Enter Paired Data

The test is always two-tailed (H₀: median difference = 0, H₁: median difference ≠ 0). Normal approximation used for n ≥ 10.

Wilcoxon Signed-Rank vs Paired t-Test

FeatureWilcoxon Signed-RankPaired t-Test
Normality required?NoYes (or n ≥ 30)
TestsMedian difference = 0Mean difference = 0
Sensitive to outliers?ResistantSensitive
Works with ordinal data?YesNo
Statistical powerSlightly lower (for normal data)Slightly higher (for normal data)
Best forNon-normal, skewed, ordinal, outlier-prone dataNormal continuous data

Disclaimer

For educational and exploratory use only. For n < 10, verify results against exact Wilcoxon critical value tables.

Frequently Asked Questions