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"

Summary

Enter up to 6 independent groups to compute the Kruskal-Wallis H statistic and p-value without assuming normality.

How it works

  1. Enter values for each group (one value per line or comma-separated).
  2. Add or remove groups as needed — between 2 and 6 groups are supported.
  3. Click "Run Test" to pool and rank all observations jointly.
  4. The tool sums the ranks for each group and applies the Kruskal-Wallis H formula.
  5. A tie-correction factor is applied when tied ranks are present.
  6. 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