Kruskal-Wallis Test Calculator
Enter up to 6 independent groups to compute the Kruskal-Wallis H statistic and p-value without assuming normality.
Group Data
Enter data for at least 2 groups, then click "Run Test"
H Statistic
—
p-value
—
df
—
N (total)
—
Group Rank Summary
| Group | n | Rank Sum | Mean Rank | Median |
|---|
Summary
Enter up to 6 independent groups to compute the Kruskal-Wallis H statistic and p-value without assuming normality.
How it works
- Enter values for each group (one value per line or comma-separated).
- Add or remove groups as needed — between 2 and 6 groups are supported.
- Click "Run Test" to pool and rank all observations jointly.
- The tool sums the ranks for each group and applies the Kruskal-Wallis H formula.
- A tie-correction factor is applied when tied ranks are present.
- The H statistic is compared to the chi-squared distribution to produce a p-value.
Use cases
- Compare customer satisfaction scores across multiple product categories.
- Test whether three or more teaching methods produce different exam results.
- Analyze pain-scale ratings from multiple treatment groups in a clinical study.
- Assess whether website session durations differ across device types.
- Non-parametric replacement for one-way ANOVA when normality cannot be assumed.
- Evaluate Likert-scale survey responses across demographic segments.
- Compare response times for multiple algorithm variants without assuming normality.
- Test whether plant growth differs under several fertilizer conditions.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu