Pro 🔒~14 min

Genetics & Heredity

DNA, genes, Punnett squares, and trait inheritance

How it works

Heredity is the passing of traits from parents to offspring through genes. Genes are segments of DNA that code for proteins determining traits. Each organism has two copies of each gene (alleles) — one from each parent. Dominant alleles (uppercase, A) mask recessive alleles (lowercase, a) when both are present. Genotype is the actual gene combination (AA, Aa, aa); phenotype is the visible trait. Punnett squares predict offspring genotype probabilities. An Aa × Aa cross gives 25% AA, 50% Aa, 25% aa — 3:1 ratio showing dominant trait. Some traits are sex-linked (on the X chromosome), giving different patterns in males vs females. Mutations are changes in DNA sequence that can alter traits and are the source of genetic variation for evolution.

Upgrade to Pro to access this experiment

Step-by-step

  1. Set parent genotypes and build the Punnett square.
  2. The 4-box grid shows all possible offspring combinations.
  3. Count the proportion of dominant (A_) vs. recessive (aa) phenotypes.
  4. Run the simulation with many offspring (Pro) to see how actual ratios approach theoretical predictions.
  5. Try X-linked traits to see why color blindness is more common in males.

Key formulas

  • Aa×Aa1AA:2Aa:1aa(3:1 phenotype ratio)\text{Aa} \times \text{Aa} \to 1\text{AA}:2\text{Aa}:1\text{aa} \quad (3:1\text{ phenotype ratio})Monohybrid cross of two heterozygotes yields 3:1 dominant:recessive phenotype ratio
  • P(trait)=favorable outcomestotal outcomesP(\text{trait}) = \frac{\text{favorable outcomes}}{\text{total outcomes}}Probability of inheriting a specific trait from the Punnett square

Frequently asked questions

Two brown-eyed parents (both Bb) have children. What fraction will have blue eyes (bb)?
Punnett square: Bb × Bb → BB, Bb, Bb, bb. 1/4 (25%) of offspring are bb (blue eyes). 3/4 have brown eyes (BB or Bb).
A tall plant (TT) is crossed with a short plant (tt). What will ALL offspring look like?
All offspring get one T allele from the tall parent and one t allele from the short parent → all are Tt. Since T is dominant, all offspring are tall. This is called the F1 generation.
Why can two parents who both have normal color vision have a color-blind son?
Color blindness is X-linked recessive. Mother with normal vision can carry the recessive allele (X^B X^b). Father is normal (X^B Y). Sons get their X from mom — X^b Y sons are color blind (50% chance). Daughters can be carriers but rarely show it.
If brown eyes (B) are dominant over blue (b), can two blue-eyed parents have a brown-eyed child?
No. Blue-eyed parents are both bb. They can only pass 'b' alleles to children. All children get bb → blue eyes. In contrast, two brown-eyed parents (each Bb) can have blue-eyed children.