Mendelian Genetics Calculator — Predict Inheritance Ratios
Gregor Mendel's laws of inheritance describe how traits pass from parents to offspring through discrete units we now call genes. This guide explains monohybrid and dihybrid crosses, dominant and recessive alleles, and how to use the calculator to predict genotype and phenotype ratios for any cross.
Mendel's Three Laws
| Law | Statement | What it means |
|---|---|---|
| Law of Dominance | One allele masks the other | Dominant allele expressed when present; recessive only expressed when homozygous |
| Law of Segregation | Allele pairs separate at meiosis | Each gamete carries exactly one allele for each gene |
| Law of Independent Assortment | Genes on different chromosomes sort independently | Alleles for one gene do not influence distribution of alleles for another (non-linked genes) |
How to Use the Mendelian Genetics Calculator
- Open the Mendelian Genetics Calculator
- Select Monohybrid (one trait) or Dihybrid (two traits)
- Enter the parent genotypes (e.g. Aa × Aa or AaBb × AaBb)
- Click Calculate to see the Punnett square and offspring ratios
- Read genotype frequencies (AA : Aa : aa) and phenotype ratios (dominant : recessive)
Monohybrid Cross Reference
| Cross | Genotype ratio | Phenotype ratio |
|---|---|---|
| AA × AA | All AA | All dominant |
| AA × Aa | 1 AA : 1 Aa | All dominant |
| AA × aa | All Aa | All dominant |
| Aa × Aa | 1 AA : 2 Aa : 1 aa | 3 dominant : 1 recessive |
| Aa × aa | 1 Aa : 1 aa | 1 dominant : 1 recessive |
| aa × aa | All aa | All recessive |
Beyond Simple Dominance
Incomplete dominance
In incomplete dominance, neither allele is fully dominant. A cross between red (RR) and white (WW) snapdragons produces pink (RW) offspring. The Aa × Aa cross gives a 1:2:1 phenotype ratio (red : pink : white) rather than the usual 3:1 — because the heterozygote has its own distinct appearance.
Codominance
In codominance, both alleles are fully expressed simultaneously. Human blood type AB is an example — both A and B antigens appear on red blood cells. The notation uses superscripts: I^A I^B for AB. The phenotype ratio from an I^A I^B × I^A I^B cross would be 1 I^A I^A : 2 I^A I^B : 1 I^B I^B.
Dihybrid cross — the 9:3:3:1 ratio
A dihybrid cross between two AaBb parents produces offspring in a 9:3:3:1 phenotype ratio (9 A_B_ : 3 A_bb : 3 aaB_ : 1 aabb), provided the two genes are on different chromosomes. This ratio is the cornerstone of Mendel's Law of Independent Assortment and only holds when genes are unlinked.
Genetic linkage and recombination
Genes on the same chromosome are linked — they do not assort independently. Crossing over during meiosis can recombine linked alleles, and the recombination frequency is used to construct genetic maps. Dihybrid ratios deviate from 9:3:3:1 when genes are linked; the closer two genes are on a chromosome, the less recombination occurs.
Common Questions
What is a test cross and when is it used?
A test cross breeds an organism of unknown genotype with a homozygous recessive (aa). If any offspring show the recessive phenotype, the unknown parent must be heterozygous (Aa). If all offspring show the dominant phenotype, the parent is most likely homozygous dominant (AA). Test crosses are the standard method for determining dominant genotypes.
What is the difference between genotype and phenotype?
Genotype is the actual allele combination (AA, Aa, aa). Phenotype is the observable trait (tall, short). Two organisms with different genotypes (AA and Aa) can share the same phenotype (both tall) if one allele is dominant. Environment can also modify phenotype independent of genotype.
Do Mendel's laws apply to all traits?
No. Mendel's laws apply to simple, single-gene traits with clear dominance. Many traits are polygenic (controlled by multiple genes), sex-linked, affected by epistasis (gene-gene interactions), or influenced by environment. Skin colour, height, and intelligence are all polygenic and do not follow simple Mendelian ratios.
Calculate Your Genetics Cross
Enter parent genotypes and instantly see offspring ratios in the Mendelian Genetics Calculator — monohybrid and dihybrid crosses with full Punnett squares.
Open Genetics Calculator