Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Kruskal–Wallis test calculator

Enter at least two independent groups. Empty optional fields are ignored.

P-value: —

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

H statistic
—
Degrees of freedom
—
Groups
—
Total observations
—
Tie correction
—

Group summary

Group n Rank sum Mean rank
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • A significant result concerns the group set as a whole.
  • Run pairwise comparisons only as a post-hoc analysis.

Groups must be independent. With small samples or many ties, the chi-square approximation can be inaccurate.

How do I use this page?
  1. Paste two to four groups.
  2. Check mean ranks.
  3. Read H, df and the p-value.

What this page does not do: Groups must be independent. With small samples or many ties, the chi-square approximation can be inaccurate.

Further reading

Theory — what is the Kruskal–Wallis test?

The Kruskal–Wallis test extends rank-based comparison to more than two independent groups. The H statistic measures differences between the groups' rank sums and is compared against a chi-square distribution, with the p-value showing whether at least one group differs from the others. The result alone does not say which group differs — a post hoc test is needed for that. At least two groups must be entered, and empty optional fields are ignored.

Frequently asked questions

Does the result identify the differing group?
No. A post-hoc test is needed.
Must group sizes be equal?
No, but each group must contain data.

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.