Toolvito

Works on this device

Punnett Square Calculator

Make a Punnett square from the genotypes of two parents. The tool draws the square and counts the genotype and phenotype ratios of the offspring, for one gene, two genes, or a gene on the X chromosome.

Enter your values

Cross two parents for one gene, such as Aa × Aa.

Your values

Two letters for one gene: a capital for the dominant allele and a small letter for the recessive one, such as AA, Aa or aa.

More options

For example "purple flowers". Leave it blank to use the genotype letters.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Make the square.

How to use this calculator

  1. Choose One gene, Two genes or Gene on the X chromosome.
  2. Type each parent as letters: a capital for the dominant allele and a small letter for the recessive one. One gene is two letters, such as Aa. Two genes are four letters, such as AaBb, with a different letter for each gene.
  3. For an X-linked gene, type the mother as XHXh (two X chromosomes with their alleles) and the father as XhY.
  4. Choose the dominance: complete, incomplete or codominant. Under More options you can name the traits, such as "purple flowers".
  5. Choose Make the square. The result shows the square as a table, the genotypes and phenotypes with their boxes, fractions and percentages, and the ratios.

How a Punnett square works

  • Each parent has two alleles of a gene and passes one of them, at random, to each egg or sperm cell (a gamete). This is Mendel's first law.
  • The gametes of one parent go down the side and the gametes of the other across the top. Each box joins one gamete from each parent, and every box has the same chance.
  • The genotype ratio counts the boxes of each genotype. The phenotype ratio counts what the offspring show.
  • Complete dominance: one capital allele is enough, so AA and Aa look the same (written A_). Incomplete dominance: Aa is in between, such as pink flowers from red and white. Codominance: Aa shows both, such as the AB blood group.
  • Two genes are taken as independent (Mendel's second law), so the square has 4 × 4 = 16 boxes.
  • X-linked genes: a son gets his X from his mother and his Y from his father. A recessive allele on his only X shows in a son, while a daughter needs it on both X chromosomes.

Worked examples

One gene. Aa × Aa gives the gametes A and a from each parent. The four boxes are AA, Aa, Aa and aa, so the genotype ratio is 1 AA : 2 Aa : 1 aa. With complete dominance the phenotype ratio is 3 A_ : 1 aa, which is 75% and 25%.

Two genes. AaBb × AaBb gives the gametes AB, Ab, aB and ab from each parent and 16 boxes. With complete dominance the phenotype ratio is 9 A_ B_ : 3 A_ bb : 3 aa B_ : 1 aa bb.

X-linked recessive. A carrier mother XHXh and a father XHY: half of the sons are XhY and have the trait, and half of the daughters are XHXh carriers. One child in four (25%) is a son with the trait.

Limits you should know

  • Each gene is written with one letter, and the capital is the dominant allele. Genes with more than two alleles, such as the ABO blood groups with three, are not handled here.
  • Two genes are taken as independent. Linked genes, which lie close together on one chromosome, give other ratios.
  • The ratios are chances for each child. A small number of real offspring can differ from them by chance.
  • This is a study tool. It is not genetic counselling. For a real family, talk to a genetic counsellor or a doctor.
  • For population frequencies, use the Hardy Weinberg Calculator. The Monohybrid Cross Calculator and the Dihybrid Cross Calculator cover one-gene and two-gene crosses step by step.

Related tools