Understanding Dihybrid Crosses

A dihybrid cross tracks two distinct genes across a single generation. Each parent contributes alleles for both traits, producing 16 possible zygotic combinations in the Punnett square. The complexity arises because alleles segregate independently during gamete formation—each parental genotype generates four distinct gamete types.

For example, a parent with genotype AaBb produces four gamete classes: AB, Ab, aB, and ab. When two such heterozygous parents mate, the 4 × 4 grid yields 16 cells, some containing identical genotypes. The resulting offspring frequencies reveal both the underlying genetic architecture and the observable trait ratios.

This approach applies wherever two independent loci segregate: flower colour and plant height in plants, coat colour and ear shape in animals, or any two Mendelian traits in organisms with sexual reproduction.

Calculating Dihybrid Genotype Frequencies

Each offspring genotype frequency depends on the parental alleles at both loci. The probability of a specific genotype is the product of the individual probabilities at each locus, since the traits segregate independently.

P(AABB) = P(AA) × P(BB)

P(AaBb) = P(Aa) × P(Bb)

P(aabb) = P(aa) × P(bb)

  • P(AA) — Probability of homozygous-dominant genotype at locus A
  • P(Aa) — Probability of heterozygous genotype at locus A
  • P(aa) — Probability of homozygous-recessive genotype at locus A
  • P(BB) — Probability of homozygous-dominant genotype at locus B
  • P(Bb) — Probability of heterozygous genotype at locus B
  • P(bb) — Probability of homozygous-recessive genotype at locus B

From Genotypes to Phenotypes

Genotypic ratios describe the relative frequencies of each genetic combination. Phenotypic ratios, by contrast, group genotypes according to observable characteristics. A dominant allele masks the recessive allele in heterozygous individuals, so AA and Aa typically produce the same phenotype.

In a cross between two heterozygotes (AaBb × AaBb), the expected phenotypic ratio is 9:3:3:1—a classic result in Mendelian genetics. This means nine offspring display both dominant traits, three display the dominant-recessive combination, three show the recessive-dominant pairing, and one displays both recessive phenotypes. However, when one parent is homozygous-recessive (aabb), phenotypic and genotypic ratios become identical because the test cross produces no masking.

Homozygous and Heterozygous Genotypes Explained

Homozygous genotypes carry two identical alleles at a locus. Homozygous-dominant individuals (AA) always express the dominant phenotype. Homozygous-recessive individuals (aa) express the recessive phenotype because no dominant allele is present to mask it. Homozygosity is perpetuated across generations if both parents carry identical alleles.

Heterozygous genotypes carry two different alleles at a locus—typically one dominant (uppercase letter, e.g., A) and one recessive (lowercase, a). In a heterozygote, the dominant allele usually determines the observed phenotype, though the recessive allele remains present in the genotype. Heterozygotes are crucial drivers of genetic variation and are the source of all gamete diversity in dihybrid crosses.

Common Pitfalls in Dihybrid Analysis

Avoid these frequent mistakes when working through two-trait inheritance problems.

  1. Assuming linkage without evidence — Independent assortment holds only when the two genes occupy different chromosomes or are far apart on the same chromosome. Linked genes violate the 9:3:3:1 ratio and produce skewed phenotypic frequencies. Always check whether genes are known to be linked before applying standard dihybrid ratios.
  2. Miscounting gamete types — A heterozygote at a single locus (e.g., <code>Aa</code>) produces two gamete types; a double heterozygote (<code>AaBb</code>) produces four. It is easy to forget one or create duplicates. Write them out systematically: <code>AB</code>, <code>Ab</code>, <code>aB</code>, <code>ab</code>.
  3. Confusing incomplete dominance or codominance with standard dominance — If heterozygotes show a blended or intermediate phenotype, the simple dominant-recessive framework breaks down. In such cases, all three genotypes (<code>AA</code>, <code>Aa</code>, <code>aa</code>) may produce distinct phenotypes, changing expected ratios from 9:3:3:1 to something else entirely.
  4. Entering parental genotypes incorrectly — Mistyping an allele combination is an easy source of error that cascades through the entire square. Double-check that capital letters represent the dominant alleles for each trait and that you have four alleles total (two per parent, one from each locus).

Frequently Asked Questions

What is the 9:3:3:1 phenotypic ratio in a dihybrid cross?

When two heterozygotes mate (e.g., <code>AaBb</code> × <code>AaBb</code>), offspring display four phenotypic classes in a 9:3:3:1 ratio. Nine show both dominant traits, three show the first dominant and second recessive trait, three show the reverse, and one displays both recessive traits. This ratio emerges because the two loci assort independently, and dominant alleles mask recessives in heterozygotes. This 9:3:3:1 pattern is one of the strongest signatures of Mendelian inheritance with complete dominance at two unlinked loci.

How do I construct the 4 × 4 Punnett square for a dihybrid cross?

First, determine the four gamete types for each parent by treating the two genes separately, then listing all combinations. For <code>AaBb</code>, the gametes are <code>AB</code>, <code>Ab</code>, <code>aB</code>, <code>ab</code>. Arrange one parent's gametes along the top row and the other along the left column. Fill each cell by concatenating the gamete alleles from the corresponding row and column. Each cell shows one of 16 possible offspring genotypes. Identical genotypes appear multiple times; count them to obtain the frequency of each unique combination.

Why does the genotypic ratio change when one parent is homozygous-recessive?

When one parent is homozygous-recessive (<code>aabb</code>), they produce only one gamete type (<code>ab</code>). The other parent's four distinct gamete types combine with this single type, yielding just four unique offspring genotypes instead of nine. For instance, <code>aabb</code> × <code>AaBb</code> produces <code>AaBb</code>, <code>Aabb</code>, <code>aaBb</code>, and <code>aabb</code> in equal frequencies. This 1:1:1:1 ratio is called a testcross ratio and is valuable for determining an individual's hidden recessive alleles.

What is the difference between a dominant and a recessive allele?

Dominant alleles typically code for the wild-type or most common trait and mask the effects of recessive alleles in heterozygotes. A single dominant allele is sufficient to express the dominant phenotype. Recessive alleles code for alternative forms—often less frequent in nature—and only produce a visible phenotype when present in two copies (<code>aa</code>). In notation, dominant alleles are shown with uppercase letters (<code>A</code>), while recessive alleles use lowercase (<code>a</code>). The dominance relationship between alleles determines whether heterozygotes resemble one parent's phenotype or show an intermediate or codominant pattern.

Can I use this calculator for genes on the same chromosome?

Standard dihybrid analysis assumes genes assort independently because they occupy different chromosomes or are far apart. If genes are linked (close together on the same chromosome), recombination is less frequent, and parental gamete types are more common than recombinant types. This skews offspring frequencies away from the expected Mendelian ratios. For linked genes, you would need to know the recombination frequency and adjust the gamete proportions accordingly. If you suspect linkage, consult experimental or reference data for the genes in question before relying on the calculator's output.

How do I interpret the results when both parents are fully homozygous?

If both parents are homozygous for both traits—for example, <code>AABB</code> × <code>aabb</code>—all offspring will be identical, heterozygous at both loci: <code>AaBb</code>. The Punnett square shows 16 cells, but every single one contains <code>AaBb</code>. All offspring express the dominant phenotype for both traits. This cross produces zero genetic variation in the F1 generation. To recover phenotypic diversity, you would need to cross two F1 individuals together, which recreates the typical dihybrid cross scenario and reintroduces segregation.

More biology calculators (see all)