01
Why adjust p values
Each test at the 5% level has a 5% chance of a false positive when there is no effect. Run several and the chance that at least one comes up significant by luck grows quickly:
| Tests | Chance of at least one false positive |
|---|---|
| 1 | 5.0% |
| 5 | 22.6% |
| 10 | 40.1% |
| 20 | 64.2% |
1 − 0.95ⁿ for n independent tests when every null hypothesis is true.
02
The three methods
| Method | Adjusted p | Controls |
|---|---|---|
| Bonferroni | p × m | Chance of any false positive (family-wise error) |
| Holm | Smallest p × m, next × (m − 1), and so on, never decreasing | Family-wise error, with more power than Bonferroni |
| Hochberg | Same multipliers as Holm, taken from the largest p downward, never increasing | Family-wise error when the tests are independent or positively related; at least as many significant results as Holm |
| Benjamini-Hochberg | p × m ÷ rank, taken from the largest p downward, never increasing | Expected share of false positives among the significant results (FDR) |
m is the number of tests and rank is the position of the p value when sorted from smallest to largest. All adjusted values are capped at 1. The false discovery rate method is from Benjamini and Hochberg (1995).
03
Worked example
The calculator opens with four p values.
| p | Bonferroni | Holm | Hochberg | Benjamini-Hochberg |
|---|---|---|---|---|
| 0.010 | 0.040 | 0.030 | 0.030 | 0.020 |
| 0.040 | 0.160 | 0.060 | 0.040 | 0.040 |
| 0.030 | 0.120 | 0.060 | 0.040 | 0.040 |
| 0.005 | 0.020 | 0.020 | 0.020 | 0.020 |
All four are below 0.05 before adjustment. Two remain significant with Bonferroni or Holm, and all four with Hochberg or Benjamini-Hochberg.
04
Which method to use
- Holm instead of Bonferroni whenever you want to control the chance of any false positive: it is never less powerful and needs no extra assumptions.
- Benjamini-Hochberg for screening many hypotheses (genes, metabolites, survey items), where a small share of false positives among the hits is acceptable.
- Decide before looking which tests form the family, and include all of them, significant or not.
- For pairwise comparisons after an ANOVA, the ANOVA calculator already applies a Bonferroni correction.
05
Reporting adjusted p values
State the method and the number of tests: “p values were adjusted for 12 comparisons with the Holm method”. Report the adjusted values and compare them with your usual threshold (0.05); do not also shrink the threshold, which would correct twice.
06
Common mistakes when adjusting p values
- Adjusting only the significant results. With 20 tests, p = 0.01 becomes 0.20 after Bonferroni; multiplying by the 2 tests you kept gives 0.02 and a false claim of significance.
- Correcting twice. Comparing a Bonferroni-adjusted p of 0.040 with 0.05 ÷ 4 = 0.0125 applies the correction a second time; compare adjusted values with the original α.
- Reading Benjamini-Hochberg as family-wise control. At a false discovery rate of 0.05, 20 significant results are expected to include about 1 false positive.
Trust
How this page is checked
- The calculation runs on code with automated tests against worked reference values. Every number in the examples on this page was produced by that same code, not typed by hand.
- The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
- Sources: Benjamini and Hochberg (1995), Controlling the false discovery rate.
- Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.
Cite this page
Sciloom. (2026). P value adjustment calculator. Zebra Nine Studio Inc. https://sciloom.si/p-value-adjustment-calculator
Frequently asked questions
How do I do a Bonferroni correction?
Multiply each p value by the number of tests (capping at 1) and compare with 0.05. Equivalently, compare the raw p values with 0.05 divided by the number of tests.
What is the difference between Bonferroni and Holm?
Both control the chance of any false positive. Holm applies the full penalty only to the smallest p value and a smaller one to each next, so it finds at least as many significant results.
What is the difference between Holm and Hochberg?
Both use the same multipliers. Holm steps down from the smallest p value and holds for any set of tests. Hochberg steps up from the largest and assumes the tests are independent or positively related; in return it never finds fewer significant results than Holm.
What is the false discovery rate?
The expected proportion of false positives among the results you call significant. Controlling it at 5% accepts that about 1 in 20 of your hits may be false.
Do I need to adjust if I only ran two tests?
If both tests address the same question and either one would count as a finding, yes. Two pre-specified, separate questions are often reported unadjusted.