Type 1 and Type 2 Errors: Differences, Examples and How to Reduce Them

Dr. Rajni Garg

Dr. Rajni Garg

Executive Lead, Research & Content Strategy

7 min read

Cover graphic titled Type 1 and Type 2 Errors, with the subtitle Differences, Examples and How to Reduce Them, in a classroom with a projector screen showing a bell curve and a bar chart, beside a numbered card listing four points: false positive, false negative, alpha, beta and power, and reduce each error.
Cover graphic titled Type 1 and Type 2 Errors, with the subtitle Differences, Examples and How to Reduce Them, in a classroom with a projector screen showing a bell curve and a bar chart, beside a numbered card listing four points: false positive, false negative, alpha, beta and power, and reduce each error.

A type 1 error happens when you reject a null hypothesis that is actually true, which is a false positive. A type 2 error happens when you fail to reject a null hypothesis that is actually false, which is a false negative.

Every hypothesis test risks both errors, and lowering one usually raises the other. This guide compares the two side by side, gives examples from medicine, education and A/B testing, and explains how alpha, beta and power fit together. It ends with practical steps to reduce each error in your own study.

Type 1 vs type 2 errors at a glance

A hypothesis test starts from a null hypothesis, the claim that there is no effect or no difference. Your data then lead you to reject it or fail to reject it. Either decision can be wrong.


Type 1 error

Type 2 error

What happens

You reject a null hypothesis that is true

You fail to reject a null hypothesis that is false

Everyday name

False positive

False negative

What you wrongly conclude

An effect exists when it does not

No effect exists when one does

Probability

Alpha (α), the significance level you set

Beta (β), which depends on the power of the test

Main way to reduce it

Use a smaller alpha

Use a larger sample, which raises power

The probability of a type 1 error is alpha, and the probability of a type 2 error is beta, which depends on the power of the test.

The grid below shows all four possible outcomes of a test. Two are correct decisions, and two are errors.

A two-by-two grid of test decisions. Columns show the truth: the null hypothesis is true or the null hypothesis is false. Rows show the decision: reject the null hypothesis or fail to reject it. Rejecting a true null hypothesis is a type 1 error, a false positive, with probability alpha. Failing to reject a false null hypothesis is a type 2 error, a false negative, with probability beta. The other two cells are correct decisions: failing to reject a true null hypothesis, with probability 1 minus alpha, and rejecting a false null hypothesis, which is power, 1 minus beta.

The four outcomes of a hypothesis test: two correct decisions and two kinds of error.

Type 1 error examples

In each example below, the null hypothesis says there is no effect. A type 1 error claims an effect that is not real.

  • Medicine: a trial concludes that a new drug lowers blood pressure more than a placebo, but in truth the two work the same. The apparent difference came from chance.

  • Education: a school concludes that a new reading program raised test scores, but the gain was random variation between classes.

  • A/B testing: a website team decides that a new sign-up button increases sign-ups and changes the whole site, but the button makes no real difference.

Type 2 error examples

Here the effect is real, but the test misses it.

  • Medicine: a small trial finds no significant difference between a new drug and a placebo, even though the drug truly works. With too few patients, the real effect was hidden by noise.

  • Education: a study with only two small classes finds no significant gain from a reading program that actually helps.

  • A/B testing: a test that runs for only two days finds no difference between two buttons, even though one truly performs better.

A screening test offers a familiar picture of both errors. A false positive flags a healthy person as ill. A false negative misses an illness that is there. Which error matters more depends on the cost of each mistake.

Alpha, beta and power: how they trade off

Three numbers describe the error risks of a test.

  • Alpha (α) is the probability of a type 1 error when the null hypothesis is true. You choose it before the test, often 0.05.

  • Beta (β) is the probability of a type 2 error when a specific effect is real.

  • Power is 1 − β, the probability that the test detects that effect. Many studies aim for a power of 0.80.

For a fixed sample size, alpha and beta pull against each other. A stricter alpha makes it harder to reject the null hypothesis, which protects against false positives but lets more real effects slip past.

The chart below shows why. The left curve shows the results you would expect if the null hypothesis were true. The right curve shows the results you would expect if a real effect existed. The cutoff for significance splits both curves.

Two overlapping bell curves on one horizontal axis. The left curve shows the test results expected if the null hypothesis is true, and the right curve shows the results expected if a real effect exists. A vertical cutoff line marks the point beyond which results are called significant. The small area of the left curve beyond the cutoff is shaded orange and labeled alpha, 0.05, the type 1 error risk. The area of the right curve below the cutoff is shaded purple and labeled beta, about 0.20, the type 2 error risk. The area of the right curve beyond the cutoff is shaded green and labeled power, about 0.80. A note says moving the cutoff to the right lowers alpha but raises beta.

Alpha, beta and power on one chart: moving the cutoff changes both error risks at once.

If you move the cutoff to the right, alpha shrinks but beta grows. The way to lower both at once is to make the two curves overlap less, mainly by using a larger sample.

How to reduce each error in your study

Follow these five steps when you plan your study.

1. Choose alpha before you collect data

Set your significance level in advance and state it in your methods. Use a smaller alpha, such as 0.01, when a false positive would be costly, for example, when a result could change medical practice.

2. Plan a large enough sample

Sample size is the main lever against type 2 errors. A power analysis tells you how many participants you need to detect the effect you care about.

The AnswerThis power analysis calculator gives free, unlimited power calculations for means and proportions, using a labelled normal approximation. Its page also reminds you that power is not the probability that your hypothesis is true. To work out the size of each group directly, the AnswerThis sample size calculator gives per-group sizes for means and proportions, free and unlimited, though it does not cover cluster designs.

Our guide on how to calculate sample size walks through the inputs step by step.

3. Make real effects easier to see

You cannot change the true size of an effect, but you can reduce the noise around it. Use reliable instruments, measure carefully and keep conditions the same for all participants. Less noise means narrower curves and fewer type 2 errors.

4. Choose a one-tailed or two-tailed test in advance

A one-tailed test has more power to detect an effect in the direction you predicted, but it cannot detect an effect in the other direction. Choose it only if you set the direction before seeing the data. If you are not sure, use a two-tailed test.

5. Correct for multiple tests

Each test you run carries its own type 1 error risk. If you run 10 independent tests at an alpha of 0.05 and every null hypothesis is true, the chance of at least one false positive is 1 − 0.95¹⁰, or about 40%. A simple fix is the Bonferroni correction, which divides alpha by the number of tests.

When you report results, give the exact p-value. The p-value tab of the AnswerThis research calculators turns a z, t, chi-square or F statistic into a p-value. It also notes that a p-value is not a posterior probability or a measure of how important an effect is. To run the tests themselves on your data, follow our tutorial on how to analyse data in AnswerThis.

A memory trick that works

Think of the fable of the boy who cried wolf.

  • First, the villagers believe him when there is no wolf. They act on a false alarm. That is a type 1 error, a false positive.

  • Later, they ignore him when the wolf is real. They miss a true threat. That is a type 2 error, a false negative.

The order of the story matches the numbering: the false alarm comes first, and the missed wolf comes second.

Common mistakes

  • Reading p < 0.05 as a 5% chance that you made a type 1 error. Alpha is the error rate when the null hypothesis is true. It is not the probability that a significant result is wrong. Note that a p-value does not measure the probability that the studied hypothesis is true.

  • Ignoring power. A study with low power often misses real effects, and a non-significant result from it says very little.

  • Saying you “accept” the null hypothesis. A non-significant result means you failed to reject it, not that it is true.

  • Running many tests and reporting only the significant ones. This hides how many chances you had to find a false positive.

  • Treating a significant result as an important one. A p-value says nothing about the size of an effect. In a clinical trial, the number needed to treat shows how many patients must be treated for one more to benefit.

Conclusion

Type 1 and type 2 errors are the two ways a hypothesis test can mislead you. You control type 1 errors with alpha and type 2 errors mainly with sample size. Decide both before you collect data, report them openly and remember that a single test, significant or not, is evidence, not proof.

FAQs

What is the difference between a type 1 and a type 2 error?

A type 1 error rejects a null hypothesis that is true, a false positive. A type 2 error fails to reject a null hypothesis that is false, a false negative.

Which is worse, a type 1 or a type 2 error?

It depends on the cost of each mistake. In a drug trial, approving a drug that does not work and missing a drug that does can both cause harm, so researchers weigh the two risks before choosing alpha and sample size.

What is the probability of a type 1 error?

It is alpha, the significance level you set before the test. With an alpha of 0.05, you accept a 5% risk of a false positive when the null hypothesis is true.

How do you reduce a type 2 error?

Increase your sample size, reduce measurement noise and, where it fits your question, use a one-tailed test chosen in advance. A power analysis helps you plan the sample.

What is the relationship between power and type 2 error?

Power is 1 minus beta, where beta is the probability of a type 2 error. A test with a power of 0.80 has a 20% chance of missing a real effect of the size you planned for.