Dihybrid Cross Calculator – Punnett Square
A dihybrid cross tracks how two separate genes, each with two alleles, are inherited together — extending the simple monohybrid Punnett square into a larger 16-square grid. The classic AaBb × AaBb cross (both parents heterozygous for two independently assorting genes) always produces the famous 9:3:3:1 phenotype ratio, one of the most recognizable results in all of genetics education.
Below the calculator you’ll find how the dihybrid cross extends the monohybrid Punnett square, Mendel’s law of independent assortment, why 9:3:3:1 became such a famous ratio, how gene linkage changes the outcome, common mistakes, a reference table, and an expanded FAQ.
Dihybrid Cross Calculator
🧬 Blogyz CalcEstimates only — formulas follow the official standard for this stat, but always confirm against your league’s exact scoring rules.
Extending the Monohybrid Square to Two Genes
A monohybrid cross tracks a single gene with two alleles, producing a compact 2×2 Punnett square with four possible offspring combinations. A dihybrid cross tracks two genes simultaneously, and each parent can now produce four distinct gamete types instead of two — for AaBb, the possible gametes are AB, Ab, aB, and ab, each with equal 1/4 probability under independent assortment.
Laying four possible gamete types from each parent across a grid produces 4×4 = 16 interior cells instead of the monohybrid cross’s 4 cells. Each of those 16 cells represents one equally likely genotype combination for the offspring, and counting how many cells fall into each phenotype category directly produces the dihybrid cross’s characteristic ratio.
A Worked Example of the AaBb × AaBb Grid
Consider two genes: seed shape (A = round, dominant; a = wrinkled, recessive) and seed color (B = yellow, dominant; b = green, recessive) — the exact traits Mendel himself used in his original dihybrid cross experiments. Crossing two AaBb plants means each parent can contribute an AB, Ab, aB, or ab gamete with equal probability, giving the 4×4 grid its 16 total combinations.
Sorting all 16 resulting genotype combinations by phenotype produces the familiar breakdown: 9 combinations show both round and yellow seeds (both dominant traits), 3 combinations show round but green seeds, 3 more show wrinkled but yellow seeds, and exactly 1 combination shows wrinkled, green seeds (both recessive traits). Converting each count to a fraction of the 16 total cells gives 9/16, 3/16, 3/16, and 1/16 — the four numbers this calculator displays as percentages.
The Law of Independent Assortment
The 9:3:3:1 ratio only holds true because of Mendel’s second law, the law of independent assortment, which states that alleles for different genes get distributed to gametes independently of one another — as long as those genes sit on different chromosomes, or far enough apart on the same chromosome. This means whether a gamete receives the A or a allele has no bearing on whether it receives the B or b allele.
Independent assortment is what allows the two genes’ individual 3:1 monohybrid ratios to combine multiplicatively rather than simply add together. Multiplying the trait-A ratio (3 dominant : 1 recessive) by the trait-B ratio (3 dominant : 1 recessive) produces exactly the 9:3:3:1 combined ratio — 3×3=9, 3×1=3, 1×3=3, and 1×1=1.
Why 9:3:3:1 Is Such a Famous Ratio
The 9:3:3:1 ratio is one of the most widely recognized results in genetics education because it’s the clearest possible demonstration that two genes can be inherited together in a mathematically predictable pattern — and because it directly confirmed Mendel’s law of independent assortment when he first observed it in his pea plant experiments crossing for both seed shape and seed color simultaneously.
Breaking the ratio down: 9/16 of offspring show both dominant traits, 3/16 show the first trait dominant paired with the second trait recessive, another 3/16 show the reverse combination, and just 1/16 show both traits recessive. As percentages, that’s 56.25%, 18.75%, 18.75%, and 6.25% respectively — figures worth memorizing for anyone studying introductory genetics.
How Gene Linkage Changes the Ratio
The 9:3:3:1 ratio assumes the two genes assort completely independently, which requires them to be located on different chromosomes, or far enough apart on the same chromosome that crossing over during meiosis effectively randomizes their inheritance. When two genes are physically close together on the same chromosome — a situation called genetic linkage — they tend to be inherited together more often than independent assortment would predict.
Linked genes produce offspring ratios that deviate from 9:3:3:1, skewing toward the parental allele combinations (the exact combinations the parents themselves carried) and away from the “recombinant” combinations that would only arise through crossing over. Measuring exactly how far a ratio deviates from 9:3:3:1 is actually one of the classic techniques geneticists use to estimate the physical distance between two linked genes on a chromosome.
Real-World Uses of Dihybrid Cross Analysis
Beyond its role in introductory genetics education, dihybrid cross logic underlies real plant and animal breeding programs that need to predict outcomes for two traits simultaneously — for instance, a crop breeder selecting for both disease resistance and yield, or a dog breeder considering both coat color and coat texture across a planned litter. Understanding the expected phenotype ratio helps breeders estimate how many offspring they’d need to reliably obtain a desired combination of traits.
Dihybrid cross analysis, and the deviations from 9:3:3:1 it can reveal, is also foundational to genetic mapping — the broader process of figuring out the physical order and distance between genes along a chromosome, which historically was one of the earliest ways geneticists built detailed chromosome maps long before modern DNA sequencing existed.
Common Mistakes With Dihybrid Crosses
A common mistake is assuming independent assortment always applies to any two genes — but as covered above, linked genes don’t follow the standard 9:3:3:1 ratio, so this assumption should never be applied blindly without knowing whether the genes in question are actually on different chromosomes.
Another mistake is trying to build the full 16-square grid by hand without first working out all four possible gametes for each parent — skipping that step and guessing at combinations directly is a common source of counting errors that produce an incorrect final ratio.
| Phenotype Category | Fraction | Percentage |
|---|---|---|
| Dominant-Dominant (both traits) | 9/16 | 56.25% |
| Dominant-Recessive | 3/16 | 18.75% |
| Recessive-Dominant | 3/16 | 18.75% |
| Recessive-Recessive (both traits) | 1/16 | 6.25% |
FAQ
What is a dihybrid cross?
A dihybrid cross tracks the inheritance of two separate genes at once, typically shown as a 4×4 Punnett square covering all 16 possible offspring gamete combinations.
Does the 9:3:3:1 ratio require both parents to be double heterozygotes?
Yes — the classic 9:3:3:1 ratio specifically results from an AaBb × AaBb cross; other dihybrid cross combinations (like AaBb × aabb) produce different ratios.
How many possible gametes can an AaBb individual produce?
Four distinct gamete types: AB, Ab, aB, and ab, each with an equal 25% probability under independent assortment.
What did Mendel’s pea plant experiments show?
Mendel crossed pea plants that differed in two traits (seed shape and seed color) and observed offspring ratios matching 9:3:3:1, which led him to formulate the law of independent assortment.
Can a dihybrid cross be extended to three or more genes?
Yes — a trihybrid cross tracks three genes at once using an 8×8 grid with 64 cells, though in practice most geneticists use probability shortcuts rather than drawing out the full grid for three or more genes.
What is genetic linkage?
Genetic linkage occurs when two genes are located close together on the same chromosome, causing them to be inherited together more often than independent assortment alone would predict.
Why does the ratio use 16 total parts instead of a simpler number?
Sixteen is the total number of equally likely gamete combinations (4 gamete types from each parent × 4 gamete types from the other), so every dihybrid ratio is naturally expressed as some combination of sixteenths.
Is 9:3:3:1 always the exact ratio observed in real offspring?
No — it’s the expected theoretical ratio; real litters or clutches, especially small ones, often show some random deviation from the exact predicted proportions purely by chance.
How is a dihybrid cross different from two separate monohybrid crosses?
A dihybrid cross tracks both genes together in the same offspring, revealing how the two traits combine in individuals, while running two separate monohybrid crosses would only tell you about each trait in isolation.
Does this calculator account for gene linkage?
No — this calculator specifically models the classic independent-assortment case; genes known to be linked will not actually follow the 9:3:3:1 ratio shown here.
Why do introductory genetics courses almost always start with pea plants?
Pea plants have several sharply distinct, easily observed traits (like round versus wrinkled seeds) and a short generation time, which made them an ideal experimental subject for Mendel to establish the basic laws of inheritance still taught today.
