Skip to content

Punnett Square Calculator

Monohybrid, dihybrid, trihybrid and X-linked crosses: Punnett grid, genotype and phenotype ratios.

Your details

Inheritance

One letter per gene, uppercase = dominant allele: Aa, AaBb, AaBbCc (up to 3 genes).

Dominance

Results update as you type

Phenotype ratio

9 A_B_ : 3 A_bb : 3 aaB_ : 1 aabb

Phenotype ratio (numbers)
9:3:3:1
Genotype ratio
1 AABB : 2 AABb : 1 AAbb : 2 AaBB : 4 AaBb : 2 Aabb : 1 aaBB : 2 aaBb : 1 aabb
Different genotypes
9
Different phenotypes
4
Shows every dominant trait
56.25%
Homozygous recessive for every gene
6.25%
Parent 1 gametes
AB, Ab, aB, ab
Parent 2 gametes
AB, Ab, aB, ab

A_B_: 9/16 (56.25%)

A_bb: 3/16 (18.75%)

aaB_: 3/16 (18.75%)

aabb: 1/16 (6.25%)

Step-by-step solution
  1. Aa × Aa → 1 AA : 2 Aa : 1 aa (3:1)
  2. Bb × Bb → 1 BB : 2 Bb : 1 bb (3:1)
  3. 4 × 4 grid = 16 equally likely boxes

A Punnett square is the grid geneticists use to predict the offspring of a cross: the gametes of one parent run down the side, those of the other across the top, and each box is a possible child. This calculator builds the grid for you from the parents’ genotypes and counts every box, so you get the genotype ratio, the phenotype ratio and the probability of each outcome.

It handles monohybrid crosses (one gene, e.g. Aa × Aa), dihybrid crosses (AaBb × AaBb — Mendel’s famous 9:3:3:1), and trihybrid crosses with three genes and an 8 × 8 grid of 64 boxes. Choose incomplete dominance when heterozygotes have an intermediate or mixed appearance (pink snapdragons, roan cattle, AB blood group), and switch to X-linked for traits carried on the X chromosome, such as colour blindness or haemophilia, where sons and daughters inherit differently.

Ideal for biology homework, breeding plans and checking textbook answers.

How to use this calculator

  1. Keep Autosomal genes for ordinary genes.
  2. Type each parent’s genotype: two letters per gene, uppercase for the dominant allele. Examples: Aa, AaBb, AABbcc. Both parents must use the same letters; their order does not matter.
  3. Choose Complete dominance (A hides a) or Incomplete / co-dominance (AA, Aa and aa all look different).
  4. Read the phenotype and genotype ratios, the probabilities under the result, and the full Punnett grid in the table.
  5. For a sex-linked trait, select X-linked and pick the mother’s and the father’s genotype: the calculator gives the share of affected sons, affected daughters and carrier daughters.

The formula

Each parent passes on one allele of each gene, chosen at random (Mendel’s law of segregation). A parent heterozygous for nn genes therefore makes 2n2^n equally likely gametes, and the grid has 2n×2n2^n \times 2^n boxes.

Genes on different chromosomes are inherited independently (law of independent assortment), so probabilities multiply — the product rule:

P(A_B_)=P(A_)×P(B_)=34×34=916P(\text{A\_B\_}) = P(\text{A\_}) \times P(\text{B\_}) = \frac{3}{4} \times \frac{3}{4} = \frac{9}{16}

For a dihybrid cross the four phenotype classes are 916,316,316,116\tfrac{9}{16}, \tfrac{3}{16}, \tfrac{3}{16}, \tfrac{1}{16}, hence 9:3:3:1. In the notation used here, “A_” means “at least one dominant A” (AA or Aa).

For X-linked recessive traits, a father gives his X to every daughter and his Y to every son, so a son’s phenotype depends only on the X he gets from his mother.

Worked example

Monohybrid cross Aa × Aa. Each parent makes A and a gametes. The four boxes give 1 AA : 2 Aa : 1 aa — and, since A is dominant, 3 A_ : 1 aa.

Dihybrid cross AaBb × AaBb. Each parent makes four gametes (AB, Ab, aB, ab), so the grid has 16 boxes holding 9 different genotypes. The phenotypes come out as 9 A_B_ : 3 A_bb : 3 aaB_ : 1 aabb, i.e. 9:3:3:1: a child shows both dominant traits with probability 9/16 = 56.25%.

Incomplete dominance Rr × Rr (red × white snapdragons giving pink): 1 RR : 2 Rr : 1 rr — one red, two pink, one white.

Common crosses at a glance

Cross Genotype ratio Phenotype ratio
AA × aa all Aa all dominant
Aa × aa (test cross) 1 Aa : 1 aa 1 : 1
Aa × Aa 1 AA : 2 Aa : 1 aa 3 : 1
AaBb × aabb 1 : 1 : 1 : 1 1 : 1 : 1 : 1
AaBb × AaBb 9 genotypes (1:2:1:2:4:2:1:2:1) 9 : 3 : 3 : 1
AaBbCc × AaBbCc 27 genotypes 27 : 9 : 9 : 9 : 3 : 3 : 3 : 1

A test cross with a homozygous recessive partner reveals whether a dominant-looking individual is AA (all offspring dominant) or Aa (half recessive).

Limits of the Punnett square

The grid assumes genes assort independently. Genes that are close together on the same chromosome are linked and tend to be inherited together, which distorts the ratios unless crossing-over separates them. Ratios are probabilities, not guarantees: a family of four children from Aa × Aa parents can easily have no recessive child. Many traits (height, skin colour) depend on many genes plus environment and do not follow simple Mendelian ratios.

Frequently asked questions

What does a 9:3:3:1 ratio mean?

In a dihybrid cross between two double heterozygotes, 9 of 16 offspring show both dominant traits, 3 show only the first, 3 only the second and 1 shows both recessive traits.

How do I find the gametes of a parent?

Take one allele from each gene in every possible combination. AaBb gives AB, Ab, aB and ab. A parent with n heterozygous genes makes 2ⁿ kinds of gamete.

What is the difference between genotype and phenotype ratios?

The genotype ratio counts allele combinations (AA, Aa, aa); the phenotype ratio counts what you can observe. With complete dominance, AA and Aa look the same, so 1:2:1 becomes 3:1.

Can a carrier mother have an affected son?

Yes. For an X-linked recessive trait, a carrier mother (XᴬXᵃ) and an unaffected father give each son a 50 % chance of being affected and each daughter a 50 % chance of being a carrier.

Does the calculator handle incomplete dominance and codominance?

Yes. Choose Incomplete / co-dominance: each genotype then has its own phenotype, so Aa × Aa gives 1:2:1 for both ratios.

Sources

Last updated:

More Biology calculators

People also use