To Many Calculator logoTo Many Calculator

Dihybrid Cross Calculator - Punnett Square

Kaushik RabadiyaCreated by Kaushik RabadiyaLast updated: September 24, 2026

Dihybrid cross Punnett square instantly calculates results using father a, father b, mother a. Use the calculator above for instant answers in your browser.

Welcome to the Dihybrid Cross Calculator, an advanced educational tool designed to help biology students, researchers, and genetics enthusiasts predict the inheritance patterns of two distinct traits simultaneously. By inputting the maternal and paternal genotypes, this calculator instantly generates all possible allele combinations and calculates the exact genotypic and phenotypic ratios. It removes the tedious work of manually drawing expansive 16-box Punnett squares, allowing you to focus on understanding genetic principles and probability.

How the Dihybrid Cross Calculation Works

A dihybrid cross tracks two separate genes, each with two different alleles, located on non-homologous chromosomes. According to Gregor Mendel's Law of Independent Assortment, allele pairs separate independently during the formation of gametes. For two heterozygous parents (e.g., AaBb), each parent can produce four unique gamete types: AB, Ab, aB, and ab. Crossing these gametes requires a 16-box Punnett square. The calculator determines the frequency of every resulting offspring genotype—ranging from homozygous dominant (AABB) to homozygous recessive (aabb)—by multiplying individual independent probabilities or charting the full grid distribution.

Worked Example: Crossing Two Heterozygous Pea Plants

Let us trace a classic dihybrid cross where both parents are heterozygous for seed shape and seed color. Parent 1 is AaBb (Round and Yellow seeds) and Parent 2 is AaBb (Round and Yellow seeds). First, we determine the four gamete combinations for each parent: AB, Ab, aB, and ab. When mapped across a 16-square grid, we tally the offspring genotypes. For instance, the probability of obtaining offspring that are homozygous recessive for both traits (aabb, wrinkled and green seeds) is calculated by multiplying the independent recessive probabilities: 1/4 chance for 'aa' multiplied by 1/4 chance for 'bb', yielding a 1/16 (or 6.25%) chance. The classic phenotypic ratio for such a cross will always result in a predictable 9:3:3:1 distribution.

Best Practices for Solving Dihybrid Crosses

Always assign clear, consistent letters for alleles, using uppercase for dominant traits and lowercase for recessive traits. When setting up your crosses manually on paper, remember to use the FOIL method (First, Outer, Inner, Last) to derive all four possible gametes from each parent genotype. Double-check that your final phenotypic and genotypic fractions add up to a total of 1 (or 100%) to ensure your probability calculations are mathematically sound.

FAQs

How to do Punnett squares with 2 traits?

To complete a Punnett square for two traits, first determine the gametes for each parent using the FOIL method to combine one allele from each gene pair. Create a 4x4 grid containing 16 total boxes. Place one parent's four gamete combinations across the top and the other parent's down the left side. Fill in each box by combining the intersecting maternal and paternal alleles to reveal all possible offspring genotypes.

What's the probability of inheritance of both homozygous-recessive traits?

In a standard dihybrid cross between two heterozygous parents (such as AaBb x AaBb), the probability of an offspring inheriting both homozygous-recessive traits (aabb) is 1 out of 16, or 6.25 percent. This occurs because there is a 1/4 chance of inheriting the 'aa' genotype and an independent 1/4 chance of inheriting the 'bb' genotype, which you multiply together according to the product rule of probability.

What is the homozygous genotype?

A homozygous genotype consists of two identical alleles for a specific gene locus. These can be either homozygous dominant, meaning they possess two uppercase letters like AA or BB, or homozygous recessive, meaning they possess two lowercase letters like aa or bb. Organisms that are homozygous true-breed for a trait will always pass the exact same allele to their offspring.

What are the heterozygous genotype?

A heterozygous genotype features two different alleles for a particular trait, typically represented by one uppercase dominant letter and one lowercase recessive letter, such as Aa or Bb. In standard complete dominance inheritance, an organism with a heterozygous genotype will physically display the dominant trait phenotype, while still carrying the recessive allele to pass on to future generations.

Formula verified against NIH/NCBI references — all calculations use deterministic, standards-based formulas.

Related calculators