Written by Dackohn; last reviewed November 2026.

The Friedman test compares three or more related conditions without assuming normal data, such as the same people rating three products. It ranks each subject’s values and checks whether some conditions consistently rank higher. It is the nonparametric alternative to repeated-measures ANOVA.

When to use it

Worked example

Eight tasters rate three recipes:

Taster12345678
Recipe A75869768
Recipe B978810979
Recipe C129111013111012
  1. Rank within each taster. Taster 1 rated 7, 9, 12, which become ranks 1, 2, 3. Taster 3 gave A and B the same score, so they share rank 1.5.
  2. Sum the ranks for each recipe: A = 8.5, B = 15.5, C = 24. The mean ranks are 1.06, 1.94 and 3.00.
  3. Compute the statistic: χ² = 12 / (nk(k + 1)) × ΣR² − 3n(k + 1). Here that is 15.06, and the correction for the tie raises it to 15.55.
  4. Find the p-value: with df = k − 1 = 2, p < .001.

Effect size

Kendall’s W = χ² / (n(k − 1)) = 15.55 / 16 = .97. It runs from 0 to 1, and here the tasters agree almost perfectly on the order.

Which recipes differ?

A significant result only says that not all conditions are the same. Follow up with pairwise Wilcoxon tests and a multiple-comparison correction. Here, all three Holm-adjusted p-values are .023. With only 8 subjects, adjusted p-values cannot get much smaller, so report effects as well.

Friedman or Kruskal–Wallis?

FriedmanKruskal–Wallis
DesignSame subjects in every conditionDifferent subjects in each group
RanksWithin each subjectAcross all data
Parametric equivalentRepeated-measures ANOVAOne-way ANOVA

Writing it up

“A Friedman test showed a significant difference between the recipes, χ²(2, N = 8) = 15.55, p < .001, Kendall’s W = .97.”

Limits

Try it yourself

Friedman Test Calculator →With Kendall’s W and post-hoc tests. Wilcoxon Signed-Rank Test →For two related conditions.

Frequently asked questions

What is the Friedman test used for?

Comparing three or more related conditions when the data are ordinal or non-normal.

What is the post-hoc test after Friedman?

Pairwise Wilcoxon signed-rank tests with a correction such as Holm are a common choice.

Is the Friedman test the same as repeated-measures ANOVA?

It answers a similar question using ranks, so it does not require normality.

Related reading: Parametric vs nonparametric tests · Paired vs independent samples · Sign test vs Wilcoxon


Sources & further reading: NIST/SEMATECH e-Handbook of Statistical Methods · OpenStax Introductory Statistics. How we compute & validate: methodology. Written & reviewed by Dackohn; last reviewed August 2026.