AP Courses AP Biology AP Biology Units AP Human Geography AP HUG Units AP Computer Science Principles AP CSP Units
Practice Daily Practice Practice by Course Practice by Topic Practice Tests
AP Exam Resources AP Exam Dates Registration Fees Scores & Credit What to Bring
Start Practicing → Login Register →

AP Biology · Unit 5 Learning Journey

Chi-Square Test for Genetics: AP Biology Unit 5 Guide

A chi-square test is a statistical tool that compares observed genetic data with expected inheritance predictions. In AP Biology Unit 5, chi-square is often used to test whether offspring counts fit a predicted Mendelian or non-Mendelian ratio. The key skill is not just calculating a number; it is using evidence to decide whether differences are likely due to chance.

Updated June 1, 2026 · Reviewed by APScore5 Editorial Team

Chi-square genetics test
Figure - Chi-Square Test Genetics AP Biology
Learning journey

Where Chi-Square Fits in Unit 5

The previous guide, Non-Mendelian Genetics, explained how inheritance patterns can change expected ratios. This page explains how to compare those expected ratios with actual observed data. After this page, use Unit 5 Practice Questions to combine meiosis, inheritance, Punnett squares, and data analysis.

Current

Chi-Square Test for Genetics

  1. 1 Unit 5 Hub
  2. 2 Meiosis
  3. 3 Mitosis vs Meiosis
  4. 4 Crossing Over
  5. 5 Independent Assortment
  6. 6 Mendelian Genetics
  7. 7 Punnett Squares
  8. 8 Non-Mendelian Genetics
  9. 9 Chi-Square Test for Genetics You are here
  10. 10 Unit 5 Practice Questions
Quick answer

What is a chi-square test in AP Biology genetics?

A chi-square test compares observed results from an experiment with expected results predicted by a genetic model. In heredity problems, expected counts often come from Punnett square ratios such as 3:1, 1:1, or 9:3:3:1. AP Biology uses chi-square to decide whether differences between observed and expected counts are likely due to chance.

Say it fast

Chi-square tests whether genetic data fit an expected ratio.

Explorer

Chi-Square Test Explorer

Chi-square explorer — tap each step

Expected data come from a genetic prediction, usually a Punnett square ratio. For example, a 3:1 ratio predicts three dominant phenotype offspring for every one recessive phenotype offspring.

Observed vs expected

Observed vs Expected Counts

Observed vs expected data
Figure - Observed Vs Expected Genetics Data

Observed counts are the actual results from a cross or experiment. Expected counts are calculated from the predicted inheritance ratio. For example, if a 3:1 phenotype ratio is expected from 80 offspring, the expected counts are 60 dominant and 20 recessive.

Direct answer: Observed means actual data. Expected means predicted data from the inheritance model.

Null hypothesis

Null Hypothesis in Genetics Chi-Square

Null hypothesis chi-square
Figure - Null Hypothesis Chi-Square Genetics

In AP Biology genetics, the null hypothesis usually states that the observed data fit the expected inheritance ratio. In other words, any difference between observed and expected counts is likely due to chance. A chi-square test helps decide whether the difference is large enough to reject that hypothesis.

AP callout: Do not say you “prove” the hypothesis. Say you reject or fail to reject the null hypothesis.
Formula

How to Calculate Chi-Square

Chi-square formula AP Bio
Figure - Chi-Square Formula AP Biology

χ² = Σ ((observed − expected)² / expected)

For each phenotype category, subtract expected from observed, square the difference, divide by expected, and then add all category values. Squaring prevents positive and negative differences from canceling out. AP Biology often gives the formula, but students still need to organize observed and expected counts correctly.

CategoryObservedExpected(O − E)² / E
Dominant phenotype62600.067
Recessive phenotype18200.200
Total χ²0.267
Degrees of freedom

Degrees of Freedom

Degrees of freedom chi-square
Figure - Degrees Of Freedom Chi-Square

Degrees of freedom tell you which row to use on a chi-square critical value table. For most AP Biology genetics problems, degrees of freedom equal the number of phenotype categories minus one. If there are two phenotype categories, degrees of freedom equals one.

Direct answer: Degrees of freedom = number of categories − 1.

Critical value

Critical Value and p-Value Interpretation

After calculating chi-square, compare it to the critical value for the correct degrees of freedom and significance level. AP Biology commonly uses p = 0.05. If the chi-square value is greater than the critical value, reject the null hypothesis; if it is less than or equal to the critical value, fail to reject the null hypothesis.

ResultInterpretationAP wording
χ² ≤ critical valueDifference is not statistically significantFail to reject the null
χ² > critical valueDifference is statistically significantReject the null
p > 0.05Difference likely due to chanceData fit expected ratio
p < 0.05Difference unlikely due to chanceData may not fit expected ratio
Conclusion

Writing the Chi-Square Conclusion

A strong AP Biology conclusion names the statistical decision and connects it to the genetic model. Do not simply write the chi-square number. Explain whether the observed data support the expected inheritance ratio.

Good conclusion frame

Because the calculated χ² value is ___ than the critical value of ___, the null hypothesis is ___. The observed data ___ the expected ___ ratio because ___.

Exam clues

How AP Biology Tests Chi-Square

Observed vs expected

A chi-square test may be needed.

Expected 3:1 ratio

Use the ratio to calculate expected counts.

Null hypothesis

Assume observed differences are due to chance.

Degrees of freedom

Use categories minus one.

Critical value

Compare the calculated chi-square value.

Reject the null

Observed data differ significantly from expected data.

AP method

How to Answer Chi-Square FRQs

Chi-square FRQ reasoning
Figure - Chi-Square FRQ AP Biology
1

State the null hypothesis

Assume observed differences from expected counts are due to chance.

2

Calculate expected counts

Use the genetic ratio from the cross or Punnett square prediction.

3

Calculate χ² and compare

Find the chi-square value and compare it to the critical value for the correct df.

4

Write a conclusion with evidence

State reject or fail to reject and connect to the inheritance model.

AP FRQ writing frame

The null hypothesis is that ___. The calculated χ² value is ___. Because this value is ___ than the critical value, the null hypothesis is ___. Therefore, the data ___ the expected ratio.

Mistakes

Common AP Bio Chi-Square Mistakes

Using percentages instead of counts

Fix: Chi-square uses observed and expected counts, not percentages.

Forgetting to calculate expected values

Fix: Expected values come from the predicted genetic ratio.

Using the wrong degrees of freedom

Fix: Degrees of freedom equal categories minus one.

Saying the null hypothesis is proven

Fix: You reject or fail to reject the null hypothesis.

Comparing p-values backward

Fix: If p is below 0.05, the difference is statistically significant.

Giving a number without a conclusion

Fix: Always explain what the chi-square result means for the genetic model.

Clue lab

Chi-Square Clue Lab

Revealed: 0 of 4 scenarios

Clue · Case 1

A cross is expected to produce a 3:1 phenotype ratio, but observed counts are 62 and 18.

Answer: Use chi-square to compare observed counts with expected counts from the 3:1 ratio.

Clue · Case 2

There are four phenotype categories in a genetics problem.

Answer: Degrees of freedom are 3 because df = categories - 1.

Clue · Case 3

The calculated chi-square value is greater than the critical value.

Answer: Reject the null hypothesis because the difference is statistically significant.

Clue · Case 4

A student says the data prove the expected ratio is correct.

Answer: Fix the wording: chi-square can support failing to reject the null, but it does not prove the model is true.

MCQ practice

Chi-Square Genetics MCQ Practice

Answer all eight questions. Choices shuffle on reload—focus on mechanism, not letter memorization.

Question 1 of 8 Start
Correct: 0 Answered: 0 Accuracy: 0%

More drills: Unit 5 practice questions, practice by topic, or daily AP Biology practice.

FRQ practice

Chi-Square Genetics FRQ Practice

Open each card, draft your response, then reveal the rubric and sample. For more free-response practice, open the Unit 5 FRQ guide.

0 of 2 FRQs opened
Prompt

A plant cross is expected to produce a 3:1 phenotype ratio. The observed results are 62 dominant phenotype offspring and 18 recessive phenotype offspring.

  • A. Calculate the expected counts.
  • B. Calculate the chi-square value.
  • C. Explain how the chi-square value would be used to evaluate the null hypothesis.

Self-check

Status: Draft your answer first—then open the rubric or sample.

Prompt

A dihybrid cross is expected to produce four phenotype categories in a 9:3:3:1 ratio. A student collects observed counts and uses a chi-square test.

  • A. Identify the degrees of freedom.
  • B. Explain why expected counts are needed.
  • C. Describe what it means if the calculated chi-square value is greater than the critical value.

Self-check

Status: Draft your answer first—then open the rubric or sample.

Continue

Keep Going in the Unit 5 Journey

FAQ

Chi-Square Test for Genetics FAQs

What is a chi-square test in AP Biology?

A chi-square test compares observed data with expected data. In AP Biology genetics, expected data usually come from an inheritance ratio predicted by a Punnett square. The test helps decide whether differences are likely due to chance.

Why is chi-square used in genetics?

Chi-square is used because real offspring counts often do not match expected ratios exactly. The test helps determine whether the difference is small enough to be explained by chance. AP Biology often uses it to evaluate inheritance models.

What are observed values?

Observed values are the actual counts collected from an experiment or cross. For example, the number of offspring with each phenotype is observed data. These counts are compared with expected values in the chi-square calculation.

What are expected values?

Expected values are predicted counts based on a genetic ratio. For example, a 3:1 ratio out of 80 offspring predicts 60 dominant phenotype and 20 recessive phenotype. Expected values must be counts, not just percentages.

What is the null hypothesis in a chi-square test?

The null hypothesis usually states that observed results are not significantly different from expected results. In genetics, that means the data fit the expected inheritance ratio. Differences are assumed to be due to chance unless the test shows otherwise.

How do you calculate degrees of freedom?

For most AP Biology chi-square genetics problems, degrees of freedom equal the number of phenotype categories minus one. If there are two categories, df = 1. If there are four categories, df = 3.

How do you interpret a chi-square value?

Compare the calculated chi-square value with the critical value for the correct degrees of freedom. If the calculated value is greater than the critical value, reject the null hypothesis. If it is less than or equal to the critical value, fail to reject the null hypothesis.

What does reject the null hypothesis mean?

Rejecting the null means the observed data are significantly different from the expected data. The difference is unlikely to be due to chance at the chosen significance level. In genetics, this may mean the expected inheritance model does not fit well.

What does fail to reject the null hypothesis mean?

Failing to reject the null means the observed data are not significantly different from the expected data. The difference can reasonably be explained by chance. It does not prove the model is true; it only means the data do not strongly contradict it.

How should I answer chi-square FRQs?

Show the expected counts, calculate or explain the chi-square value, and compare it with a critical value. Then state whether the null hypothesis is rejected or not rejected. Finish by connecting the decision to the genetic ratio or inheritance model.

Start Free Practice & Track Progress →