The studentized range (q) table gives the critical values used in Tukey’s HSD (Honestly Significant Difference) post-hoc test, which compares every pair of group means after a significant ANOVA while controlling the family-wise error rate. Find the row for your error degrees of freedom and the column for k, the number of groups being compared. This table is for α = 0.05.

How to use it in Tukey’s HSD

After a one-way ANOVA with k groups and error degrees of freedom dferror, the honestly-significant-difference threshold is HSD = q × √(MSerror / n), where q is read from this table and n is the per-group sample size. Any pair of means differing by more than HSD is significantly different at α = 0.05.

Example: k = 4 groups with dferror = 20 gives q = 3.96. With MSerror = 25 and n = 10 per group, HSD = 3.96 × √(25/10) ≈ 6.26. Group means more than 6.26 apart differ significantly.

dferrork=2k=3k=4k=5k=6k=7k=8k=9k=10
53.644.605.225.676.036.336.586.806.99
63.464.344.905.305.635.906.126.326.49
73.344.164.685.065.365.615.826.006.16
83.264.044.534.895.175.405.605.775.92
93.203.954.414.765.025.245.435.595.74
103.153.884.334.654.915.125.305.465.60
113.113.824.264.574.825.035.205.355.49
123.083.774.204.514.754.955.125.275.39
133.063.734.154.454.694.885.055.195.32
143.033.704.114.414.644.834.995.135.25
153.013.674.084.374.594.784.945.085.20
163.003.654.054.334.564.744.905.035.15
172.983.634.024.304.524.704.864.995.11
182.973.614.004.284.494.674.824.965.07
192.963.593.984.254.474.654.794.925.04
202.953.583.964.234.454.624.774.905.01
242.923.533.904.174.374.544.684.814.92
302.893.493.854.104.304.464.604.724.82
402.863.443.794.044.234.394.524.634.73
602.833.403.743.984.164.314.444.554.65
1202.803.363.683.924.104.244.364.474.56
∞2.773.313.633.864.034.174.294.394.47

Computed with SciPy studentized_range.ppf(0.95, k, df). The ∞ row applies when error df is very large. See the methodology page.

Why Tukey instead of multiple t-tests

Running a t-test on every pair inflates the Type I error rate: with several groups the chance of at least one false positive climbs well above 5%. Tukey’s HSD uses the studentized range distribution to hold the overall error rate at α. Always run the omnibus ANOVA first; only use the q table if ANOVA is significant.

Related

All tablesANOVA CalculatorF-TableANOVA vs t-test