Skip to main content

Dihybrid Cross Calculator

Ready to calculate
Mendelian Genetics.
Instant Results.
9:3:3:1 Ratio.
100% Free.
Privacy Secure.

How it Works

01Pick Genotypes

Select parent 1 and parent 2 genotypes (e.g. AaBb × AaBb).

02Generate Gametes

Each parent produces possible allele combinations.

03Build 4×4 Square

Combine gametes into 16-cell Punnett grid.

04Read Ratios

Get genotype and phenotype ratios (classic 9:3:3:1).

What Is a Dihybrid Cross?

The dihybrid cross Punnett square is a fundamental tool in classical genetics, used to predict the probability of offspring inheriting specific combinations of two independent traits simultaneously. Introduced by Reginald Crundall Punnett in the early 20th century and popularized through Gregor Mendel's laws of inheritance, the dihybrid Punnett square extends the simpler monohybrid cross to two gene loci, producing a 4×4 grid of 16 possible genotypic outcomes. Mendel's Law of Independent Assortment states that the alleles of two different genes are distributed to gametes independently of one another, provided the genes are on different chromosomes or are sufficiently far apart on the same chromosome. This is the foundational assumption of a dihybrid cross: the two traits being crossed must segregate independently. In a standard dihybrid cross between two heterozygotes (AaBb × AaBb), the expected phenotypic ratio among offspring is 9:3:3:1. This means 9/16 express both dominant traits, 3/16 express only the first dominant trait, 3/16 express only the second dominant trait, and 1/16 expresses both recessive traits. This classic 9:3:3:1 ratio was one of Mendel's key observations and provided strong evidence for the particulate theory of inheritance. The dihybrid Punnett square is used in plant and animal breeding programs to predict outcross ratios, in human genetic counseling to assess risk of inherited conditions, and in basic research to confirm or deny independent assortment of newly identified gene pairs. It is also an important pedagogical tool in genetics education, helping students understand probability, combinatorics, and the molecular basis of heredity. This calculator allows you to input any two genotypes (not limited to double heterozygotes), generates the complete 4×4 Punnett square, and calculates the frequencies of all resulting genotypes and phenotypes. It assumes complete dominance at each locus and independent assortment between the two loci. The dihybrid Punnett square also serves as an introduction to probability theory in genetics. Each cell in the 4×4 grid represents a probability of 1/16 for any specific genotypic combination. Understanding that the probability of any genotype is the product of the independent probabilities at each locus is the foundation of the multiplication rule in genetics—and indeed, of Bayesian probability reasoning more broadly. For students learning genetics, the transition from monohybrid to dihybrid crosses is where many conceptual difficulties arise. The 16-cell grid can seem complex, but understanding it as two independent 2×2 grids multiplied together makes the structure transparent. The AaBb × AaBb cross is simply two simultaneous Aa × Aa crosses: P(A_) × P(A_) × P(B_) × P(B_) = (3/4) × (3/4) = 9/16 for both dominant traits. This probabilistic decomposition is more powerful than the grid for complex problems. Beyond simple two-locus crosses, the dihybrid Punnett square concept extends to trihybrid crosses (8×8 grid, 64 possible genotypes), tetrahybrid crosses (16×16, 256 possible genotypes), and ultimately to the multinomial distribution underlying quantitative genetics. Modern genomics deals with millions of loci simultaneously, but the foundational logic remains the same: independent assortment, probability multiplication, and phenotypic classification by dominance relationships.

How It Works

Pick Genotypes

Select parent 1 and parent 2.

Generate Gametes

Each parent contributes 1 allele per gene.

Build 4×4 Grid

All 16 offspring combinations.

Read Ratios

Genotype counts and 9:3:3:1 phenotype distribution.

The Formula

For a cross of genotype AaBb × AaBb: Gametes from each parent: AB, Ab, aB, ab (each at 1/4 probability) The 4×4 grid produces 16 equally probable combinations. Phenotypic ratio:
  • A_B_ (both dominant): 9/16
  • A_bb (dominant A, recessive B): 3/16
  • aaB_ (recessive A, dominant B): 3/16
  • aabb (both recessive): 1/16
  • General formula for probability of any genotype: P(genotype) = P(alleles at locus 1) × P(alleles at locus 2) This multiplication rule applies because the two loci assort independently. Probability of any specific genotype in AaBb × AaBb cross:
  • AABB: 1/16 = 6.25%
  • AABb: 2/16 = 12.5%
  • AaBB: 2/16 = 12.5%
  • AaBb: 4/16 = 25% (most common)
  • AAbb: 1/16 = 6.25%
  • Aabb: 2/16 = 12.5%
  • aaBB: 1/16 = 6.25%
  • aaBb: 2/16 = 12.5%
  • aabb: 1/16 = 6.25%
  • For trihybrid (AaBbCc × AaBbCc): use 8×8 grid = 64 combinations; 3:1 ratio applies independently at each locus.
    Real-World Example

    Worked Example

    Cross: Tall Yellow (TTYY) × Short Green (ttyy) F1 generation: All TtYy (tall yellow) F2 cross: TtYy × TtYy Gametes: TY, Ty, tY, ty Results from 4×4 grid:
  • Tall Yellow (T_Y_): 9/16
  • Tall Green (T_yy): 3/16
  • Short Yellow (ttY_): 3/16
  • Short Green (ttyy): 1/16
  • In a sample of 160 offspring: expect 90 tall yellow, 30 tall green, 30 short yellow, 10 short green. Additional example — test cross: Unknown genotype × aabb (homozygous recessive) If offspring are 1 A_B_ : 1 A_bb : 1 aaB_ : 1 aabb (all in equal proportions) Conclusion: unknown parent must be AaBb (all four phenotype classes appear equally) If offspring are only A_B_ and A_bb (no aa offspring observed): Conclusion: unknown parent must be AABb (homozygous dominant at locus A) Test crosses are the most powerful tool for determining unknown genotype composition.

    Common Use Cases

    1

    Genetics Education

    Visualize and calculate expected offspring ratios for two-trait crosses in biology courses.
    2

    Plant Breeding

    Predict frequency of desired phenotypes in breeding programs combining two independent traits.
    3

    Animal Genetics

    Calculate carrier probabilities and disease risk for two independently segregating conditions.
    4

    Research

    Confirm independent assortment of newly mapped gene pairs by comparing observed vs. expected ratios.

    Technical Reference

    Mendel, G. (1866). Versuche über Pflanzenhybriden. Verhandlungen des naturforschenden Vereines in Brünn. (Translated as Experiments on Plant Hybridization.) Punnett, R.C. (1905). Mendelism. Macmillan. Independent assortment applies to unlinked genes; for linked genes, recombination frequency modifies ratios (Morgan, 1915). Modern treatment in Griffiths et al., Introduction to Genetic Analysis (12th ed., W.H. Freeman). Chi-square goodness-of-fit test for Mendelian ratios: applied to observed vs. expected dihybrid offspring counts. Statistical significance threshold typically p > 0.05 for accepting Mendelian hypothesis. Fisher, R.A. (1936) famously argued Mendel's data fit expected ratios too perfectly, suggesting possible data adjustment—a controversy still discussed in genetics history. Linkage mapping: Morgan, T.H. (1919) developed chromosome theory of heredity and demonstrated that linked genes deviate from 9:3:3:1 ratio in proportion to their map distance. Bateson, W. & Punnett, R.C. (1906) discovered the first case of gene interaction (epistasis) in sweet peas, showing a 9:7 phenotypic ratio rather than 9:3:3:1.

    Key Takeaways

    The dihybrid Punnett square is more than a classroom exercise—it is the mathematical foundation of quantitative genetics and plant and animal breeding. Understanding the 9:3:3:1 ratio and its derivation from independent assortment and dominance provides the conceptual basis for understanding more complex genetic phenomena, including epistasis, linkage, and quantitative trait loci. This calculator automates the grid so you can focus on interpreting the results. As you work with dihybrid crosses, practice decomposing the 4×4 grid into two independent monohybrid crosses. This mental model is more powerful and scales to any number of loci, while the full Punnett grid becomes unwieldy beyond three loci. The probabilistic framework underlying the Punnett square is the same framework used in modern genomics to interpret SNP array data and calculate polygenic risk scores—just applied to millions of loci simultaneously rather than two.

    Frequently Asked Questions

    What is the difference between a monohybrid and a dihybrid cross?
    A monohybrid cross involves one gene locus and produces a 2×2 Punnett square with 4 possible genotype combinations. A dihybrid cross involves two gene loci and produces a 4×4 Punnett square with 16 possible combinations. The dihybrid cross incorporates Mendel's Law of Independent Assortment.
    What is the classic 9:3:3:1 ratio?
    When two heterozygotes (AaBb × AaBb) are crossed, 9/16 of offspring express both dominant traits, 3/16 express only dominant A, 3/16 express only dominant B, and 1/16 express both recessive traits. This 9:3:3:1 phenotypic ratio is a key prediction of Mendel's laws for independently assorting genes.
    When does the 9:3:3:1 ratio not apply?
    The 9:3:3:1 ratio breaks down when genes are linked (on the same chromosome), when there is epistasis (one gene masks another), when dominance is incomplete, or when penetrance is less than 100%. All these exceptions are well documented in genetics and represent the complexity beyond simple Mendelian inheritance.
    What does it mean for two genes to assort independently?
    Independent assortment means that the inheritance of one gene does not influence the inheritance of another. This occurs when genes are on different chromosomes or are far apart on the same chromosome. It is described by Mendel's Second Law and is the key assumption of the dihybrid Punnett square.
    How do I write gametes for a dihybrid cross?
    For a genotype AaBb, the four possible gametes are AB, Ab, aB, and ab, each occurring at a frequency of 1/4. This is because A and a segregate independently of B and b. Write one allele from each locus in each gamete combination, covering all four possibilities.
    Can I use this calculator for test crosses?
    Yes. A test cross involves crossing an unknown genotype with a homozygous recessive (aabb). Enter the unknown genotype and aabb as the two parents. The offspring phenotype ratios directly reveal the allelic composition of the unknown parent.
    What is epistasis and how does it affect dihybrid ratios?
    Epistasis occurs when one gene masks or modifies the expression of another. This alters the expected 9:3:3:1 ratio. For example, recessive epistasis produces a 9:3:4 ratio; duplicate dominant epistasis produces 15:1. Epistasis is identified when observed offspring ratios deviate from 9:3:3:1.
    How are phenotypes predicted from genotypes?
    Under complete dominance, any genotype with at least one dominant allele (A_) expresses the dominant phenotype. A genotype is homozygous recessive (aa) only when both alleles are recessive. The Punnett square shows all possible genotypes; phenotypes are inferred by applying the dominance rule to each.
    Is the Punnett square used in modern genetics?
    The Punnett square remains a standard tool in genetic counseling and basic genetics education. For complex traits involving many loci, molecular methods and statistical genetics are used instead. But for one or two clearly Mendelian loci with known dominance relationships, the Punnett square provides accurate probability estimates.
    How do probabilities work in a Punnett square?
    Each cell in a Punnett square represents an equally probable genotypic outcome (1/16 for a 4×4 grid). To find the probability of a specific genotype, count the cells with that genotype and divide by 16. To find phenotype probabilities, group genotypes with the same phenotype and sum their cell counts.

    Author Spotlight

    The ToolsACE Team - ToolsACE.io Team

    The ToolsACE Team

    Our specialized research and development team at ToolsACE brings together decades of collective experience in financial engineering, data analytics, and high-performance software development.

    Mendelian InheritancePunnett Square MethodSoftware Engineering Team

    Disclaimer

    Assumes complete dominance and independent assortment of alleles.