kruskal-wallis calculator. Get instant, accurate results. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
Kruskal Wallis Calculator
Calculator
Adjust values & calculate
Enter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: H = (12/(N(N+1))) ร ฮฃ(Rแตขยฒ/nแตข) - 3(N+1)
Your Result
Worked example โ H value
Formula
H = (12/(N(N+1))) ร ฮฃ(Rแตขยฒ/nแตข) - 3(N+1)
Non-parametric alternative to one-way ANOVA for comparing 3+ groups.
Worked Examples
Example 1: 3 groups
Problem:G1:[3,4,6] G2:[8,10,12] G3:[15,18,20]
Solution:H statistic with ranks
Result:H value
Frequently Asked Questions
What does the Kruskal-Wallis test measure?
The Kruskal-Wallis H test determines whether three or more independent groups come from the same distribution. It works by replacing raw values with their overall ranks and comparing the average ranks across groups. A large H statistic indicates that at least one group's distribution differs from the others.
When should I use Kruskal-Wallis instead of one-way ANOVA?
Choose Kruskal-Wallis when your data is ordinal, when group distributions are clearly non-normal (especially with small samples), or when variances are very unequal across groups. If ANOVA assumptions are met, ANOVA has more statistical power. If the result is significant, use post-hoc Dunn's test to identify which specific pairs differ.
What are the assumptions of the Kruskal-Wallis test?
The groups must be independent; observations within each group must be independent; each group should have at least 5 observations for the chi-square approximation of H to be reliable; and observations should be from continuous or at least ordinal distributions. Unlike one-way ANOVA, normality and equal variance are not required.
Essential site storage stays on. Analytics, performance, and marketing cookies remain off until you choose. Calculator inputs stay on your device, and we do not sell your personal data.
We use essential cookies only. Analytics cookies require your consent.