Dihybrid Cross Calculator - Punnett Square — Free Online Tool
🔲

Dihybrid Cross Calculator

Generate a 4×4 Punnett square for two-gene crosses

Note: Enter 4-letter parent genotypes (e.g., AaBb, AABB, aabb). Gametes are generated via independent assortment.
Parent Genotypes

Calculation Results

⚠️ This calculator demonstrates basic Mendelian genetics and independent assortment. Real-world genetic inheritance may be more complex due to linked genes, epistasis, or incomplete dominance.

The Dihybrid Cross Calculator is a free online genetics tool that generates a 4×4 Punnett square to predict the possible offspring genotypes and inheritance probabilities when two genetic traits are studied together. Understanding dihybrid inheritance is essential for studying Mendelian genetics, dominant and recessive alleles, and how genetic characteristics are passed from parents to offspring. This calculator helps biology students, genetics educators, researchers, and breeders visualize two-gene crosses, calculate genotype ratios, and understand the classic 9:3:3:1 phenotypic ratio under the appropriate inheritance conditions.

How to Use the Dihybrid Cross Calculator

Our Dihybrid Punnett Square Calculator makes it easy to explore two-trait genetic inheritance using the genotypes of two parents. Follow these steps to generate a Punnett square and calculate possible offspring genotype probabilities.

Step 1: Enter Parent 1 Genotype

Enter the first parent’s genotype in the Parent 1 Genotype field.

For example, enter AaBb.

A four-letter genotype represents two genes, each with two alleles.

In this example:

  • A: Dominant allele for the first gene.

  • a: Recessive allele for the first gene.

  • B: Dominant allele for the second gene.

  • b: Recessive allele for the second gene.

The genotype AaBb indicates that the parent is heterozygous for both genes.

Step 2: Enter Parent 2 Genotype

Enter the second parent’s genotype in the Parent 2 Genotype field.

For example, enter AaBb.

The calculator also supports other valid two-gene genotype combinations, such as AABB and aabb.

Both parent genotypes should use the same gene symbols and standard allele notation.

Step 3: Click Generate Punnett Square

After entering both parent genotypes, click the Generate Punnett Square button.

The calculator identifies the possible gametes produced by each parent according to Mendel’s Law of Independent Assortment.

For an AaBb parent, the four possible gametes are:

AB, Ab, aB, and ab

Step 4: Review the 4×4 Punnett Square

The calculator generates a Punnett square showing how alleles from the two parents combine.

For an AaBb × AaBb cross, the square contains 16 possible gamete combinations.

Each box represents a possible offspring genotype.

Step 5: Check the Genotype Ratios

Below the Punnett square, the calculator displays the probability of each unique offspring genotype.

For example:

  • AaBb: 4 out of 16 combinations (25%).

  • AABB: 1 out of 16 combinations (6.25%).

  • aabb: 1 out of 16 combinations (6.25%).

These probabilities represent expected genetic outcomes, not guaranteed proportions in an actual litter or population.

Important: The calculator assumes independent assortment and standard Mendelian allele segregation. Linked genes, incomplete dominance, epistasis, and other inheritance patterns may produce different genetic outcomes.

Dihybrid Cross Principles & How It Works

A dihybrid cross examines how two different genes are inherited together from two parents.

The calculator uses Mendelian genetics principles to determine possible gamete combinations, generate offspring genotypes, and calculate their expected probabilities.

1. What Is a Dihybrid Cross in Genetics?

A dihybrid cross studies the inheritance of two genetic characteristics simultaneously.

For example, imagine two hypothetical traits controlled by separate genes:

  • Gene A: Controls Trait A.

  • Gene B: Controls Trait B.

Each parent carries two alleles for each gene.

A parent with the genotype AaBb has:

  • One dominant A allele.

  • One recessive a allele.

  • One dominant B allele.

  • One recessive b allele.

This parent is described as a double heterozygote because both gene pairs contain different alleles.

When two AaBb parents are crossed, the offspring can inherit different combinations of dominant and recessive alleles.

2. Mendel’s Law of Independent Assortment

Mendel’s Law of Independent Assortment states that alleles of different genes can segregate independently during gamete formation.

This principle applies to genes that are unlinked or sufficiently far apart on the same chromosome for recombination to produce approximately independent inheritance.

For example, an AaBb parent can produce four possible gametes:

AB, Ab, aB, ab

Under independent assortment, these gametes occur with equal expected probabilities.

GameteAlleles CarriedExpected Probability
ABA and B25%
AbA and b25%
aBa and B25%
aba and b25%

Each gamete contains one allele from each gene.

During fertilization, one gamete from each parent combines to produce the offspring genotype.

3. How Are Gametes Generated?

A gamete carries only one allele from each gene because gametes are produced through meiosis.

For the genotype AaBb, there are two possible alleles from Gene A and two from Gene B.

The number of possible gamete combinations is:

Number of Gamete Types = 2ⁿ

Where:

  • n: Number of independently assorting heterozygous gene pairs.

For AaBb:

n = 2

Gamete Types = 2²

Gamete Types = 4

The four possible gametes are AB, Ab, aB, and ab.

However, not every four-letter genotype produces four distinct gametes.

For example:

  • AABB produces only AB.

  • Aabb produces Ab and ab.

  • AaBb produces AB, Ab, aB, and ab.

The number of unique gametes depends on the number of heterozygous gene pairs.

4. How Does a 4×4 Punnett Square Work?

A Punnett square is a diagram used to predict the possible genetic combinations resulting from reproduction.

For an AaBb × AaBb cross, each parent produces four equally probable gametes.

The Punnett square therefore contains:

4 Gametes × 4 Gametes = 16 Combinations

Each row represents a gamete from one parent, while each column represents a gamete from the other parent.

The offspring genotype is formed by combining the alleles from both gametes.

For example:

AB + ab = AaBb

The A allele combines with a to form Aa, and B combines with b to form Bb.

The resulting offspring genotype is AaBb.

5. Understanding the 4×4 Dihybrid Punnett Square

For the cross AaBb × AaBb, the complete Punnett square is:

Parent 1 / Parent 2ABAbaBab
ABAABBAABbAaBBAaBb
AbAABbAAbbAaBbAabb
aBAaBBAaBbaaBBaaBb
abAaBbAabbaaBbaabb

The table contains 16 equally probable gamete combinations.

Some genotypes occur more frequently because multiple gamete pairings can produce the same allele combination.

For example, the genotype AaBb appears in four boxes, giving it a probability of 4/16 or 25%.

6. Dihybrid Cross Genotype Ratio Formula

The probability of an offspring genotype can be calculated using:

Genotype Probability = Number of Matching Combinations ÷ Total Combinations

To convert the result into a percentage:

Genotype Percentage = (Matching Combinations ÷ 16) × 100

For example, the genotype AaBb appears four times in the Punnett square.

Probability = 4 ÷ 16

Probability = 0.25

Genotype Probability = 25%

The complete genotype distribution for AaBb × AaBb is:

Offspring GenotypeCombinationsProbability
AaBb4/1625.00%
aaBb2/1612.50%
Aabb2/1612.50%
AaBB2/1612.50%
AABb2/1612.50%
aabb1/166.25%
aaBB1/166.25%
AAbb1/166.25%
AABB1/166.25%

Total = 16/16 = 100%

The calculator may display 6.3% instead of 6.25% because of rounding to one decimal place.

7. What Is the 9:3:3:1 Phenotypic Ratio?

One of the most recognizable results of a classical dihybrid cross is the 9:3:3:1 phenotypic ratio.

This ratio occurs when two AaBb parents are crossed under specific conditions:

  • Both genes assort independently.

  • Complete dominance occurs at each gene.

  • The observed traits are not modified by epistasis or other interactions.

  • All relevant genotype classes have equal viability for the comparison.

Under these assumptions, offspring fall into four phenotype categories.

Phenotype CategoryGenotype PatternExpected RatioProbability
Both dominant traitsA_B_9/1656.25%
Dominant A, recessive bA_bb3/1618.75%
Recessive a, dominant BaaB_3/1618.75%
Both recessive traitsaabb1/166.25%

The underscore means either allele may occupy that position.

For example, A_B_ includes AABB, AABb, AaBB, and AaBb.

Therefore:

Phenotypic Ratio = 9 : 3 : 3 : 1

This differs from the genotype ratio because different genotypes may produce the same phenotype under complete dominance.

8. Genotypic Ratio vs. Phenotypic Ratio

Genotype and phenotype describe different aspects of genetic inheritance.

Genotype refers to the combination of alleles inherited by an organism.

For example:

AaBb, AABB, and aabb are different genotypes.

Phenotype refers to the observable characteristics resulting from genotype and its interaction with biological and environmental factors.

In a simple Mendelian dihybrid cross with complete dominance:

  • Nine distinct genotypes are possible.

  • Four phenotypic categories are expected.

  • The classic phenotypic ratio is 9:3:3:1.

Understanding this difference is essential for interpreting Punnett squares correctly.

9. Limitations of Dihybrid Cross Predictions

Dihybrid Punnett squares are useful educational tools, but not every inherited characteristic follows simple Mendelian patterns.

Genetic Linkage: Genes located close together on the same chromosome may be inherited together more frequently than expected under independent assortment.

Incomplete Dominance: Heterozygous individuals may show an intermediate phenotype instead of the phenotype associated with complete dominance.

Codominance: Both alleles may be expressed in a heterozygous individual.

Epistasis: One gene can influence or mask the phenotypic expression of another gene.

Polygenic Inheritance: Many complex traits are influenced by multiple genes rather than a single pair of alleles.

Environmental Effects: Nutrition, temperature, and other environmental conditions can influence observable traits.

Therefore, the calculator’s results represent theoretical Mendelian inheritance probabilities rather than guaranteed real-world outcomes.

Example Calculation: AaBb × AaBb Dihybrid Cross

Let’s calculate the possible offspring genotypes and expected probabilities using the sample parent genotypes shown in the calculator.

Given Parent Genotypes

  • Parent 1 Genotype: AaBb

  • Parent 2 Genotype: AaBb

Both parents are heterozygous for Gene A and Gene B.

Step 1: Identify the Possible Gametes from Parent 1

Parent 1 has the genotype:

AaBb

Under independent assortment, it can produce:

AB, Ab, aB, ab

Each gamete has an expected probability of 25%.

Step 2: Identify the Possible Gametes from Parent 2

Parent 2 also has the genotype:

AaBb

Therefore, it produces the same four gametes:

AB, Ab, aB, ab

Each gamete also has an expected probability of 25%.

Step 3: Generate the Punnett Square

Combine every gamete from Parent 1 with every gamete from Parent 2.

GametesABAbaBab
ABAABBAABbAaBBAaBb
AbAABbAAbbAaBbAabb
aBAaBBAaBbaaBBaaBb
abAaBbAabbaaBbaabb

The Punnett square contains 16 possible combinations.

Step 4: Count the Offspring Genotypes

Now count how many times each unique genotype appears.

AaBb:

Appears 4 times.

Probability = 4 ÷ 16 × 100

AaBb = 25%

AABb:

Appears 2 times.

Probability = 2 ÷ 16 × 100

AABb = 12.5%

AABB:

Appears 1 time.

Probability = 1 ÷ 16 × 100

AABB = 6.25%

Apply the same method to the remaining genotypes.

Step 5: Calculate the Phenotypic Ratio

Assume A is completely dominant over a, and B is completely dominant over b.

Group the offspring by their expressed dominant and recessive traits.

Both Dominant Traits (A_B_):

9 out of 16 combinations.

Dominant A, Recessive b (A_bb):

3 out of 16 combinations.

Recessive a, Dominant B (aaB_):

3 out of 16 combinations.

Both Recessive Traits (aabb):

1 out of 16 combinations.

Therefore:

Expected Phenotypic Ratio = 9:3:3:1

Step 6: Final Calculation Results

Calculation ParameterResult
Parent 1 GenotypeAaBb
Parent 2 GenotypeAaBb
Gametes from Parent 1AB, Ab, aB, ab
Gametes from Parent 2AB, Ab, aB, ab
Punnett Square Size4 × 4
Total Offspring Combinations16
Number of Unique Genotypes9
Most Frequent GenotypeAaBb (25%)
AABB Probability6.25%
aabb Probability6.25%
Expected Phenotypic Ratio9:3:3:1

What Do These Results Mean?

The calculation shows that crossing AaBb × AaBb produces 16 equally probable gamete combinations representing nine possible offspring genotypes.

The most common genotype is AaBb, occurring in 25% of the combinations.

The homozygous dominant genotype AABB and homozygous recessive genotype aabb each occur with a probability of 6.25%.

Under independent assortment and complete dominance, the expected offspring phenotypes follow the classic 9:3:3:1 ratio.

These probabilities describe expected outcomes over many independent offspring. They do not mean that a family with 16 offspring will necessarily display each genotype in exactly the predicted proportions.

Genetics Learning Reminder: A Punnett square predicts probabilities based on specified inheritance assumptions. Real genetic outcomes may differ because of linked genes, interactions between genes, environmental influences, and random variation.

Frequently Asked Questions (FAQs)

1. What Is the Difference Between a Monohybrid Cross and a Dihybrid Cross?

A monohybrid cross examines the inheritance of one gene or characteristic, while a dihybrid cross examines two genes simultaneously. For example, Aa × Aa is a monohybrid cross, while AaBb × AaBb is a dihybrid cross. A typical heterozygous monohybrid cross uses a 2×2 Punnett square, whereas a cross involving two double-heterozygous parents uses a 4×4 Punnett square containing 16 possible gamete combinations.

2. Why Does a Dihybrid Cross Produce a 9:3:3:1 Phenotypic Ratio?

The 9:3:3:1 phenotypic ratio results from crossing two double-heterozygous parents, AaBb × AaBb, when both genes assort independently and exhibit complete dominance. Out of 16 equally probable combinations, nine show both dominant traits, three show the dominant A and recessive b traits, three show the recessive a and dominant B traits, and one shows both recessive traits. Other inheritance patterns can produce different ratios.

3. What Is Mendel’s Law of Independent Assortment?

Mendel’s Law of Independent Assortment explains that alleles of different genes may segregate independently during gamete formation. For an AaBb parent with independently assorting genes, four gametes are expected: AB, Ab, aB, and ab, each with a probability of 25%. This principle applies to unlinked genes and genes sufficiently far apart on a chromosome. Closely linked genes may not follow the same inheritance probabilities.

4. Can Linked Genes or Incomplete Dominance Change Dihybrid Cross Results?

Yes. Linked genes may be inherited together more frequently because they are physically close on the same chromosome, which can change expected offspring genotype frequencies. Incomplete dominance can produce intermediate heterozygous phenotypes rather than the simple dominant-recessive pattern. Epistasis and codominance can also change phenotype distributions. Consequently, the classic 9:3:3:1 ratio does not apply to every two-gene inheritance pattern.

1. How many acres can a tractor cover in one hour?

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Why Choose Our Calculator Platform?

Our professional calculator tools are designed to provide accurate, fast, and reliable results for financial, health, and everyday calculations.

Instant Results

All calculations are processed instantly in your browser with real-time output.

100% Secure

Your data is never stored. Everything runs locally for complete privacy.

Accurate Formulas

Built using verified mathematical formulas to ensure precise and reliable results.

Mobile Friendly

Fully responsive design works smoothly on desktop, tablet, and mobile devices.

4000+ Calculators

From EMI to BMI and GST, access multiple calculators in one place.

Modern Interface

Professional UI with clean layout, smooth animations, and easy navigation.

Scroll to Top