Tukey HSD Post-Hoc Test Calculator

Enter your group data (up to 5 groups) and significance level (α) to run a Tukey HSD Post-Hoc Test after one-way ANOVA. Paste comma-separated values into each Group field, and get back the F-statistic, p-value, HSD critical value, and a full pairwise comparison table showing which group means differ significantly.

Typical choice is 0.05 (5% significance level).

Select how many treatment groups you have (2–5).

Enter comma-separated numeric values for Group 1.

Enter comma-separated numeric values for Group 2.

Enter comma-separated numeric values for Group 3.

Leave blank if not using Group 4.

Leave blank if not using Group 5.

Results

F-Statistic

--

p-Value

--

Tukey HSD Critical Value

--

Mean Square Error (MSE)

--

df (Between Groups)

--

df (Within Groups)

--

ANOVA Result

--

Group Means Comparison

Results Table

Frequently Asked Questions

What is the Tukey HSD test?

Tukey's Honestly Significant Difference (HSD) test is a post-hoc statistical procedure used after a one-way ANOVA finds a significant overall effect. It performs all pairwise comparisons between group means while controlling the family-wise error rate, telling you exactly which pairs of groups differ significantly.

When should I use Tukey HSD instead of just ANOVA?

ANOVA only tells you that at least one group mean differs — it does not say which groups. Tukey HSD is used after a significant ANOVA result to identify the specific pairs of groups that are significantly different. If ANOVA is not significant, post-hoc testing is generally not warranted.

What is the HSD formula?

The HSD critical value is calculated as HSD = q(α, k, N−k) × √(MSE / n), where q is the studentized range statistic, k is the number of groups, N is the total number of observations, MSE is the mean square error from ANOVA, and n is the group sample size. When groups have unequal sizes, the Tukey-Kramer modification is used.

What does a significant Tukey HSD result mean?

If the absolute mean difference between two groups exceeds the HSD critical value, those two groups are considered significantly different at your chosen α level. This means you can reject the null hypothesis of equal means for that specific pair.

What are the assumptions of one-way ANOVA and Tukey HSD?

The key assumptions are: (1) independence of observations across groups, (2) approximately normal distribution of residuals within each group, and (3) homogeneity of variances (equal variance across groups, also called homoscedasticity). Tukey HSD is relatively robust to mild violations of normality with larger sample sizes.

What significance level (α) should I choose?

The most common choice is α = 0.05, meaning you accept a 5% chance of a Type I error (false positive). For more conservative testing — such as in medical research — α = 0.01 is preferred. A value of α = 0.10 is sometimes used in exploratory research where a higher false-positive rate is acceptable.

What is the difference between Tukey HSD and Bonferroni correction?

Both control the family-wise error rate for multiple comparisons, but Tukey HSD is specifically designed for all pairwise comparisons and is generally more powerful than Bonferroni in that context. Bonferroni is more conservative and can be applied to any set of comparisons, not just pairwise ones.

How many groups can Tukey HSD compare?

Tukey HSD can be applied to any number of groups (k ≥ 2), though it is most meaningful with 3 or more groups. With k groups, the number of pairwise comparisons is k(k−1)/2. For example, 4 groups yield 6 pairwise comparisons, and 5 groups yield 10.

More Statistics Tools