Wilcoxon Signed-Rank Test Calculator: Paired and One-Sample, with Exact p
Compare two related measurements, such as before and after a treatment, or test whether the median of one sample differs from a value, without assuming normality. Get V and T, z, the exact or normal p-value, the effect size r, the Hodges–Lehmann pseudo-median with its confidence interval, a paired plot and an APA sentence.
Each row is one subject: the first value in each box belongs to the same person, plant or sample.
- PriceFree, no login or sign-up needed
- Your dataProcessed in your browser, never uploaded
- Works onPhone, tablet or computer, any modern browser
- Made byDr. Muhammad Aammar Tufail, Codanics
- Published16 November 2026
- Last updated16 November 2026
📚 How to cite this tool
This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.
Tufail, M. A. (2026). Wilcoxon signed-rank test calculator [Online tool]. Codanics. Retrieved 16 November 2026, from https://codanics.com/tools/wilcoxon-signed-rank-test-calculator/
In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)
The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 16 November 2026.
How to use the Wilcoxon Signed-Rank Test Calculator
- Choose Paired samples for two measurements on the same subjects (before and after, left and right, two raters) or One sample to compare a median with a fixed value.
- Type or paste the values, one subject per row, or use Paste from Excel or Upload CSV / Excel. For a one-sample test, type the hypothesised median m₀.
- Keep the automatic p-value method. Choose how to handle zero differences: drop them (the classic Wilcoxon method, as SPSS does) or keep them in the ranking (Pratt).
- Click Run Wilcoxon test, copy the APA sentence and download the paired plot.
When should I use the Wilcoxon signed-rank test?
The Wilcoxon signed-rank test is the non-parametric alternative to the paired t-test and the one-sample t-test. It ranks the absolute differences and compares the ranks of positive and negative differences, so it does not need normally distributed differences. Use it when:
- you measured the same subjects twice (before and after, two time points, two conditions) and the differences are skewed or have outliers;
- the outcome is ordinal, such as a Likert score or a symptom rating;
- you want to test whether the median of one sample differs from a fixed value.
For two independent groups use the Mann–Whitney U test; for three or more groups use the Kruskal–Wallis test. Check the shape of your differences first with the normality test calculator.
How the test works
For fewer than 50 pairs the tool computes the exact p-value. With ties or zeros, the exact distribution is computed given the observed ranks, as R 4.4 and later do. Results match R’s wilcox.test(x, y, paired = TRUE, conf.int = TRUE); the Pratt option with the normal approximation matches coin::wilcoxsign_test(zero.method = "Pratt").
Assumptions
- The pairs are independent of each other.
- The differences can be ranked (at least ordinal data).
- For a test about the median, the differences should be roughly symmetric around their median. If they are very skewed, consider the sign test.
How to report a Wilcoxon signed-rank test (APA)
Report the medians, T (or V, saying which), z when you used the normal approximation, the p-value and the effect size r. New to statistics? Start with the free ABC of statistics series, or run the test in R with the R with Aammar course.
Frequently asked questions
What is the difference between the Wilcoxon signed-rank test and the Mann–Whitney test?
The Wilcoxon signed-rank test is for paired or related data (the same subjects measured twice) or a single sample. The Mann–Whitney U test (Wilcoxon rank-sum test) is for two independent groups. Using the wrong one gives wrong p-values.
What happens to zero differences?
With the classic Wilcoxon method (the default, also used by SPSS), pairs with no difference are dropped before ranking. With the Pratt method they are ranked together with the other differences and then given no sign, which keeps more information. Choose the method before looking at the result. Note: R 4.4 and later rank zeros in its exact test (the Pratt approach), so choose Pratt to reproduce R’s exact p-value when your data contain zeros.
What are V and T?
V (reported by R) is the sum of the ranks of the positive differences, T⁺. T is the smaller of T⁺ and T⁻, which SPSS and many textbooks report. Both are shown, so you can report either; just say which one.
When is the exact p-value used?
With fewer than 50 pairs, as in R. If there are ties or zero differences, the exact distribution is computed conditionally on the observed ranks (R 4.4 and later do the same). Older software uses the normal approximation in those cases; pick Normal approximation to reproduce it.
How do I calculate the effect size for a Wilcoxon signed-rank test?
Use r = |z| / √N, where N is the number of pairs. About .10 is small, .30 medium and .50 large. The matched-pairs rank-biserial correlation, also shown, is an alternative that ranges from −1 to 1.
Can I use it for Likert-scale data?
Yes. It is a standard choice for comparing two related ratings, such as a Likert item before and after training. Expect ties and zeros; the tool handles both.
Is my data uploaded?
No. The test runs entirely in your browser. Your data never leaves your device.
Do I need to log in or create an account to use the Wilcoxon Signed-Rank Test Calculator?
No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.
How do I cite this tool in my thesis or paper?
Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). Wilcoxon signed-rank test calculator [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/wilcoxon-signed-rank-test-calculator/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.
Free guides and courses from Codanics
More free tools
See all free Codanics tools → · Codanics on YouTube · WhatsApp channel