Free Bonferroni Correction Calculator

Enter the number of tests and significance level to calculate the Bonferroni correction.

When multiple statistical tests are performed on the same dataset, the chance of at least one false‑positive result (Type I error) grows quickly. The Bonferroni correction (often called the Bonferroni adjustment) is a widely used multiple comparisons correction technique that keeps the overall error rate in check by lowering the significance threshold for each individual test. This article explains the rationale behind the method, shows how to derive the adjusted significance level using both the classic formula and the Šidák correction, and discusses the practical trade‑offs of using this approach.

What Is the Bonferroni Correction?

The Bonferroni correction addresses the problem of multiplicity by dividing the desired family‑wise significance level α\alpha by the number of comparisons mm. If α=0.05\alpha = 0.05 and ten hypotheses are tested, each test is evaluated against the adjusted threshold αadj=0.05/10=0.005\alpha_{\text{adj}} = 0.05 / 10 = 0.005. A result is declared statistically significant only if its p‑value is less than this corrected value. This simple Bonferroni adjustment keeps the probability of any single false positive at or below the original α\alpha level.

αadj=αm\alpha_{\text{adj}} = \dfrac{\alpha}{m}

The same principle applies whether you are performing post‑hoc comparisons in ANOVA, testing multiple endpoints in clinical trials, or running many correlations on one sample.

How to Calculate the Corrected Threshold

You can choose between the classic Bonferroni formula and the Šidák correction, which is slightly less conservative when the tests are independent.

Classic Bonferroni

Divide the original significance level α\alpha by the number of tests mm.

αadj=αm\alpha_{\text{adj}} = \dfrac{\alpha}{m}

Šidák Correction

Assuming independence, the Šidák method computes the adjusted level as:

αadj=1−(1−α)1m\alpha_{\text{adj}} = 1 - (1 - \alpha)^{\frac{1}{m}}

Worked Example

  • Number of tests (mm): 4
  • Nominal significance level (α\alpha): 0.05 (5%)

Classic Bonferroni:

αadj=0.054=0.0125\alpha_{\text{adj}} = \dfrac{0.05}{4} = 0.0125

Each test must achieve a p‑value below 0.0125 to be considered significant.

Šidák correction:

αadj=1−(1−0.05)14=1−0.950.25≈0.0127\alpha_{\text{adj}} = 1 - (1 - 0.05)^{\frac{1}{4}} = 1 - 0.95^{0.25} \approx 0.0127

In this case the threshold is very close to the classic result (0.0127 vs. 0.0125), but the difference becomes larger as mm increases or α\alpha is lowered.

Why the Correction Is Important

Without any adjustment, the family‑wise error rate (FWER) grows as 1−(1−α)m1 - (1 - \alpha)^m. For 20 tests at α=0.05\alpha = 0.05, there is a 1−0.9520≈64%1 - 0.95^{20} \approx 64\% chance of encountering at least one false positive. The Bonferroni correction forces the FWER to remain at or below α\alpha, making the significant findings more trustworthy when multiple comparisons are carried out.

Limitations and Alternatives

Despite its simplicity, the Bonferroni correction can be overly conservative, especially when many tests are run or the tests are highly correlated. This conservatism increases the probability of false negatives (Type II errors), meaning that genuinely important effects may be missed.

For this reason, researchers often turn to less strict procedures:

  • Holm‑Bonferroni method – sequentially adjusts p‑values while maintaining strong control of the FWER.
  • Benjamini‑Hochberg procedure – controls the false discovery rate (FDR) rather than the FWER, offering higher power when many true effects are expected.

The choice between these approaches depends on the research context and how the investigator balances false positives against false negatives. The Bonferroni correction remains the most straightforward and universally understood option, making it a solid starting point for any multiple comparisons correction routine.

This tool automates the computation of both the classic Bonferroni adjustment and the Šidák correction, letting you quickly obtain the adjusted significance level for any number of comparisons and any nominal α\alpha.

FAQ

1. When should I use the Bonferroni correction?

Apply the Bonferroni correction whenever you perform multiple hypothesis tests on the same dataset to control the family‑wise error rate. Common scenarios include post‑hoc comparisons after ANOVA, testing several endpoints in a clinical trial, or evaluating many correlations simultaneously.

2. What is the difference between the classic Bonferroni and the Šidák correction?

The classic Bonferroni formula divides α by the number of tests (α/m). The Šidák correction uses α' = 1 − (1 − α)^(1/m), which assumes independence among tests. Šidák is slightly less conservative, but the difference is negligible when α is small and m is moderate.

3. Can the Bonferroni correction be too strict?

Yes, the Bonferroni correction is often considered overly conservative, especially with many comparisons or correlated tests. This conservatism can inflate the false‑negative rate (Type II error). In such cases, alternative procedures like Holm‑Bonferroni or Benjamini‑Hochberg may offer a better balance.

4. How do I compute the Bonferroni‑corrected threshold in practice?

Divide your chosen significance level (e.g., 0.05) by the total number of tests. For example, with 5 tests the corrected threshold is 0.05 / 5 = 0.01. Each individual p‑value must be below this adjusted level to be declared statistically significant.

5. What is the main limitation of the Bonferroni method?

Its conservatism: the method reduces false positives but can make it harder to detect true effects, increasing the risk of Type II errors. This is especially problematic when many hypotheses are tested or when tests are not independent.

How to Use

  1. Select the correction method: Classic Bonferroni or Sidak correction.
  2. Enter the number of tests performed and the significance level or p-value.
  3. View the corrected significance level to use as the threshold for each individual test.