Toolvito

Works on this device

Dihybrid Cross Calculator

Work out a cross of two genes. Type the genotypes of the two parents, such as AaBb × AaBb, and the tool draws the 4 × 4 Punnett square and counts the genotype and phenotype ratios of the offspring. It can also follow true-breeding parents to the F1 and F2 generations.

Enter your values

Type the genotypes of two parents for two genes, such as AaBb × AaBb.

Your values

Four letters for two genes, such as AaBb: a capital for the dominant allele and a small letter for the recessive one. Each gene uses its own letter.

Optional. Type it to see how many offspring of each kind to expect, such as 160.

More options

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 cross.

How to use this calculator

  1. Choose Cross two parents for two genes, or From true-breeding parents to F1 and F2.
  2. Type each parent as four letters, two for each gene: a capital for the dominant allele and a small letter for the recessive one, such as AaBb. Each gene has its own letter. You can also pick a common cross from the list.
  3. Choose the dominance of each gene: complete, incomplete or codominant. To see expected numbers, type the number of offspring, such as 160.
  4. Under More options, name the traits, such as "round" and "wrinkled" for the first gene and "yellow" and "green" for the second.
  5. Choose Make the cross. The result shows the square, the genotypes and phenotypes with their boxes, fractions and percentages, the ratios and the working.

How a dihybrid cross works

  • Each parent gives one allele of each gene to every gamete. A parent AaBb makes four kinds of gametes, AB, Ab, aB and ab, each with the chance 1/4.
  • The gametes of one parent go down the side of the square and those of the other across the top. AaBb × AaBb gives 4 × 4 = 16 boxes, and every box has the chance 1/16.
  • Assumption: independent assortment. The two genes are taken as independent (Mendel's second law): they lie on different chromosomes, or far apart on one. Then the chance of a two-gene phenotype is the product of the chances for each gene. Genes that lie close together (linked genes) give other ratios.
  • The 9 : 3 : 3 : 1 ratio comes from two heterozygotes, AaBb × AaBb, with complete dominance in both genes: (3/4 A_ + 1/4 aa) × (3/4 B_ + 1/4 bb) = 9/16 A_ B_ + 3/16 A_ bb + 3/16 aa B_ + 1/16 aa bb. Other parents give other ratios, which the tool works out from the parents you type.
  • Dominance: with complete dominance AA and Aa look the same (written A_). With incomplete dominance Aa is in between, and with codominance Aa shows both, so each genotype of that gene has its own phenotype.

Worked examples

Two heterozygotes. AaBb × AaBb gives 9 genotypes in the ratio 1 AABB : 2 AABb : 1 AAbb : 2 AaBB : 4 AaBb : 2 Aabb : 1 aaBB : 2 aaBb : 1 aabb. With complete dominance the phenotype ratio is 9 A_ B_ : 3 A_ bb : 3 aa B_ : 1 aa bb, which is 56.25%, 18.75%, 18.75% and 6.25%. Among 160 offspring you expect 90, 30, 30 and 10.

Test cross. AaBb × aabb gives the four phenotypes A_ B_, A_ bb, aa B_ and aa bb in the ratio 1 : 1 : 1 : 1.

F1 and F2. True-breeding AABB × aabb gives F1 offspring that are all AaBb. Crossing the F1 with each other gives the 9 : 3 : 3 : 1 F2 ratio. True-breeding AAbb × aaBB gives the same F1 and the same F2.

Limits you should know

  • Two genes with two alleles each, written with one letter per gene. Genes with three or more alleles are not handled.
  • The genes are taken as independent. Linked genes, which lie close together on one chromosome, and genes on the X chromosome give other ratios.
  • The ratios are chances for each offspring. A real brood can differ from them by chance, more so when it is small.
  • This is a study tool, not genetic counselling.
  • For a cross of one gene, use the Monohybrid Cross Calculator. The Punnett Square Calculator draws squares for one gene, two genes or a gene on the X chromosome.

Related tools