Bell Statistics

What is the Bonferroni correction?

The Bonferroni correction divides the significance threshold by the number of tests, so twelve comparisons are each judged at 0.0042 rather than 0.05. It guarantees the family-wise error rate however the tests are related, and it is conservative when they are correlated.

Also called
bonferroni adjustment, bonferroni method, alpha division
Allon Korem

Written by Allon Korem

Chief Executive Officer

Last updated

In plain English

The Bonferroni correction is the simplest answer to multiple comparisons: if you are running twelve tests and want an overall 5% error rate, judge each one at 0.05 divided by 12, or 0.0042. That is the whole method. Its guarantee is that the family-wise error rate will not exceed the level you chose, and that guarantee holds regardless of how the tests relate to each other.

That last property is what keeps it in use. Most alternatives assume something about dependence between tests, or are more complicated to reason about. Bonferroni assumes nothing, works on a napkin, and cannot be got wrong. When a correction has to be explained to a room that includes people who do not want a lecture on step-down procedures, that simplicity has real value.

The cost is that it is conservative, and increasingly so as the tests become correlated. Experiment metrics usually are correlated — conversion, revenue and add-to-cart move together — so tests that are significant tend to be significant jointly, and the true family-wise rate under Bonferroni comes in well below the nominal level. You are paying for protection you already had, in the currency of statistical power.

For strict error control there is a better option that is no harder to apply. Holm's step-down procedure sorts the p-values ascending and compares the smallest against α/m, the next against α/(m−1), and so on, stopping at the first failure. It controls exactly the same quantity under exactly the same assumptions and is uniformly more powerful — never worse, sometimes considerably better. If software is doing the arithmetic there is very little reason to use plain Bonferroni instead.

And for larger, exploratory sets, the more useful question is whether family-wise control is what you want at all. Guaranteeing a 5% chance of any error across twenty diagnostic metrics leaves nothing detectable. The false discovery rate bounds the expected share of your significant results that are wrong instead, which is a weaker claim, considerably more power, and a better match for screening.

The formula

One division, and the two alternatives that improve on it in different directions.

The correction
α_per test = α / m

m tests, target overall rate α. Twelve tests at 5% gives 0.0042 per test.

Equivalently, adjust the p-values
p_adjusted = min( 1, m · p )

Same decisions, and often easier to report — an adjusted p-value can be compared against 0.05 directly.

The guarantee
FWER ≤ α, for any dependence between tests

Follows from Boole's inequality. This assumption-free property is Bonferroni's entire advantage.

Holm's improvement
compare p₍ᵢ₎ against α / ( m − i + 1 ), ascending

Same guarantee, uniformly more power, no extra assumptions — see the ANOVA calculator.

Worked example

A five-arm test compares four challengers against control on the primary metric. The four p-values come back at 0.008, 0.021, 0.043 and 0.190. Three corrections are applied to the same numbers.

Comparisons
4 challengers against control
Raw p-values
0.008, 0.021, 0.043, 0.190
Bonferroni threshold
0.05 / 4 = 0.0125 — one survives
Holm thresholds
0.0125, 0.0167, 0.025, 0.05 — one survives
Dunnett's (accounts for shared control)
two survive
Uncorrected
three would have been called significant

Uncorrected, three challengers look like winners. Bonferroni and Holm find one. Dunnett's, designed for this structure, finds two.

Holm and Bonferroni agree here because the smallest p-value fails at the same first threshold, which stops Holm's step-down immediately — Holm's advantage only materialises when the leading comparisons pass. Dunnett's is the interesting column: it finds two because it exploits something the other two ignore, namely that all four comparisons share the same control arm and are therefore correlated. Bonferroni treats them as though they could be arbitrarily related, which is safe and wastes power that the design's structure had already provided. The practical lesson is to use the correction that matches the structure of what you ran. For challengers against a common control, Dunnett's. For a general set of unrelated tests, Holm. Bonferroni's place is where the arithmetic has to be done quickly and defended simply, and it should be understood as buying that simplicity with power.

Common misconceptions

Bonferroni is the standard multiple comparisons correction.
It is the best known and it is dominated by Holm's step-down procedure, which controls the same quantity under the same assumptions with uniformly more power. Bonferroni's genuine advantage is that it can be computed and explained in seconds; where software is available, Holm is strictly better.
Bonferroni is too conservative to be useful.
It is conservative when tests are correlated, and its guarantee holds under any dependence structure, which few alternatives can claim. That makes it the right tool when a single false positive is genuinely costly and you cannot characterise the relationships between tests. The mistake is applying it to a twenty-metric exploratory panel, where the question calls for false discovery rate control instead.
Applying Bonferroni means your analysis is now rigorous.
It addresses one source of inflated error — several tests reported together — and leaves flexible exclusions, post-hoc segmentation, opportunistic stopping and metric changes untouched. Correcting for the comparisons you remember making is not a correction. Pre-specifying the analysis is what closes the wider problem.

Frequently asked questions

When is Bonferroni the right choice?
When a single false positive is costly, the number of tests is small, and you need a correction that is easy to explain and cannot be got wrong. Its assumption-free guarantee is genuinely valuable when the relationships between tests are unknown. For a handful of comparisons where the arithmetic must be transparent to non-specialists, it remains a defensible choice.
Why is Holm's procedure better?
It controls the same family-wise error rate under the same assumptions and rejects at least everything Bonferroni rejects, often more. The mechanism is that after the smallest p-value passes its threshold, the remaining tests are judged against progressively less strict ones, since fewer hypotheses remain in play. It is a few lines of code and there is no scenario where plain Bonferroni outperforms it.
Should I count every metric in the denominator?
Count the tests in the family the correction is meant to cover, which is normally the set bearing on one decision. Guardrail metrics are usually treated as a separate family with their own thresholds, since they answer a different question. Decide the boundary before looking at results — choosing what counts afterwards is another degree of freedom, and it will drift towards whatever makes the interesting result survive.

Related terms

  • False discovery rate

    Bound the share of your wins that are wrong rather than the chance of any error — the right trade on twenty metrics.

  • Family-wise error rate

    The chance of at least one false alarm across the whole set — 5% per test becomes 46% across twelve.

  • Multiple comparisons

    Test enough things and something will look significant — the arithmetic, and the four fixes.

  • Secondary metric

    Explains the result rather than deciding it — and the moment one gets promoted, the experiment stops meaning what it claims.

Calculate it

  • One-way ANOVA

    Three or more independent groups on one continuous outcome — size it, then run the F test.

  • Chi-square test

    Test a contingency table of counts for association — any number of rows and columns.

Knowing the term is the easy part

Applying it to a live measurement problem is the part that goes wrong. If you are designing an experiment, reading a result you do not trust, or trying to work out what your marketing actually caused, that is the work we do.

References