Bonferroni correction calculator

Running many tests inflates the chance of a false positive. Paste your p-values to get the adjusted p-values of five common corrections side by side, the Bonferroni and Šidák per-test thresholds, and the tests that remain significant under the method you choose.

One p-value per test, separated by commas, spaces or semicolons.
The family-wise error rate (or the false discovery rate for BH), usually 0.05.
Significant tests2 / 5
Significant tests by position
#1, #4
Bonferroni threshold α/m
0.01
Šidák threshold 1 − (1 − α)^(1/m)
0.01021
Adjusted p, Bonferroni
0.04, 0.2, 0.15, 0.025, 1
Adjusted p, Holm
0.032, 0.09, 0.09, 0.025, 0.2
Adjusted p, Hochberg
0.032, 0.08, 0.08, 0.025, 0.2
Adjusted p, Benjamini–Hochberg
0.02, 0.05, 0.05, 0.02, 0.2
Adjusted p, Šidák
0.03937, 0.1846, 0.1413, 0.02475, 0.6723
Original p-values
0.008, 0.04, 0.03, 0.005, 0.2

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Paste the p-values of all the tests in the family, for example 0.008, 0.04, 0.03, 0.005, 0.2.
  2. Set α and choose the method for the decision.
  3. Read how many tests stay significant and which ones (#1 is the first p-value you entered). Every method’s adjusted p-values are listed in the input order.

How the corrections work

Let m be the number of tests and p₍₁₎ ≤ p₍₂₎ ≤ … the sorted p-values.

  • Bonferroni: min(1, m·p).
  • Šidák: 1 − (1 − p)^m, slightly less strict than Bonferroni for independent tests.
  • Holm: min(1, (m − i + 1)·p₍ᵢ₎), then made non-decreasing from the smallest p upward.
  • Hochberg: the same products, made non-increasing from the largest p downward; valid for independent or positively dependent tests.
  • Benjamini–Hochberg: min(1, m·p₍ᵢ₎/i), made non-increasing from the largest p downward.

A test is significant when its adjusted p ≤ α.

Worked example

Five p-values 0.008, 0.04, 0.03, 0.005, 0.2 at α = 0.05.

  • Bonferroni: 0.04, 0.2, 0.15, 0.025, 1 — tests #1 and #4 are significant (threshold 0.01).
  • Holm: sorted 0.005, 0.008, 0.03, 0.04, 0.2 times 5, 4, 3, 2, 1 gives 0.025, 0.032, 0.09, 0.08, 0.2; the running maximum makes the fourth 0.09. In input order: 0.032, 0.09, 0.09, 0.025, 0.2 — again #1 and #4, so 2 / 5.
  • Benjamini–Hochberg: 5p/rank = 0.025, 0.02, 0.05, 0.05, 0.2, and the running minimum from the top gives 0.02, 0.05, 0.05, 0.02, 0.2 — tests #1, #2, #3 and #4 pass.

Tips and common mistakes

  • Decide on the family of tests before looking at the results, and include every test in it, not just the promising ones.
  • Bonferroni is very conservative with many tests; Holm is a free improvement with the same guarantee.
  • Do not mix methods: report the one you chose and its adjusted p-values.

Frequently asked questions

What is the Bonferroni correction?

With m tests, test each at α/m instead of α, or equivalently multiply each p-value by m (capped at 1) and compare it with α. This keeps the chance of at least one false positive at most α.

Why use Holm instead of Bonferroni?

Holm controls the same family-wise error rate but is never less powerful. It sorts the p-values and compares the smallest with α/m, the next with α/(m − 1) and so on, stopping at the first that fails.

What does Benjamini–Hochberg control?

The false discovery rate: the expected share of false positives among the tests you call significant. It rejects many more hypotheses than Bonferroni when many effects are real, which is why it is common in genomics and large screening studies.

How are adjusted p-values used?

Compare each adjusted p-value with α directly: a test is significant when its adjusted p ≤ α. They are in the same order as you entered the p-values.

More in Math

All tools in this category: Math ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.