What this answers
This test answers "which specific pairs of groups actually differ?" after a one-way ANOVA has already told you some difference exists somewhere among three or more groups. The omnibus ANOVA test never identifies which pairs on its own; that is exactly Tukey HSD's job.
How it is calculated
Every pairwise mean difference is compared against a critical value from the studentized range distribution, computed here from the exact double-integral definition rather than looked up from a printed table, using the pooled within-group mean squared error (MSE) from all groups combined as the shared measure of noise. When groups have unequal sample sizes, this calculator applies the standard Tukey-Kramer adjustment to each pair's standard error, a documented, standard extension rather than a silent assumption of equal group sizes.
Worked example
For three groups of 1 to 3, 4 to 6, and 7 to 9, each cleanly separated from the others, every pairwise comparison is significant at the .05 level, with confidence intervals that exclude zero in every case, correctly detecting the clear separation visible in the raw numbers.
Assumption audit
What this result does not mean
A significant pairwise comparison means that specific pair's difference survives family-wise correction, not that the difference is large in practical terms; check the confidence interval's width and the raw mean difference for a sense of magnitude, since a p-value alone does not convey size.
Limitations
Tukey HSD assumes roughly equal variances across groups; when that assumption looks doubtful, prefer the Games-Howell Test instead. This calculator computes the studentized range distribution via numerical integration, accurate to about 3 to 4 decimal places, sufficient for standard reporting purposes.