1. Home
  2. Calculators
  3. Punnett Square Calculator

Punnett Square Calculator

For genetics homework: enter two parent genotypes and get the grid, the ratios and the probability of each offspring type.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Punnett Square Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • One, two or three genes, such as AaBb × Aabb
  • Gametes, the full Punnett grid and counts
  • Genotype and phenotype ratios with probabilities
  • Complete dominance or incomplete dominance and codominance
  • Clear messages for mistyped genotypes

Supported formats

Input

  • Genotypes such as AaBb

You get

  • On-screen grid
  • CSV tables

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Punnett Square Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Genes are assumed to assort independently (no linkage), and sex-linked inheritance is not modelled.
  • Up to three genes.

Guide

Punnett squares for one, two or three genes: gametes, genotype and phenotype ratios

Gregor Mendel found that traits are inherited as separate units, now called genes, which come in pairs of alleles, one from each parent. A Punnett square, introduced by Reginald Punnett, shows all the ways two parents’ alleles can combine, and from the grid you can read the probability of each offspring type. This calculator draws the square for one, two or three genes, and works out the genotype and phenotype ratios and probabilities.

Writing genotypes

Write each gene as two letters of the same name: Aa is heterozygous, AA and aa homozygous. Upper case is the dominant allele. For several genes write the pairs together, as in AaBb for two genes or AaBbCc for three. Each gene needs its own letter, and both parents must use the same genes in the same order, so AaBb × Aabb is valid but Aa × Bb is not. The tool names the problem if a pair has different letters, such as Ab.

How the square is built

Each parent makes gametes by taking one allele from each gene, in every possible combination. AaBb makes four: AB, Ab, aB and ab. Each gamete of parent 1 is combined with each gamete of parent 2, giving 4 × 4 = 16 cells for a dihybrid cross, and 8 × 8 = 64 for a trihybrid. A homozygous gene contributes only one allele, so AABb makes just AB and Ab. The square lists parent 1’s gametes down the side and parent 2’s across the top.

Complete and incomplete dominance

Under complete dominance a single upper-case allele is enough to show the dominant trait, so AA and Aa look alike, written A_. The cross Aa × Aa has 4 cells, genotypes 1 AA : 2 Aa : 1 aa, and two phenotypes in the ratio 3 A_ : 1 aa, the classic 3:1. With incomplete dominance or codominance, as in red and white snapdragons giving pink, each genotype is its own phenotype, so Rr × Rr gives 1 RR : 2 Rr : 1 rr in both rows.

The dihybrid cross

AaBb × AaBb has gametes AB, Ab, aB and ab on both sides, 16 combinations and nine genotypes in the ratio 1 AABB : 2 AABb : 1 AAbb : 2 AaBB : 4 AaBb : 2 Aabb : 1 aaBB : 2 aaBb : 1 aabb. The phenotypes fall into four classes: 9 A_B_ : 3 A_bb : 3 aaB_ : 1 aabb, the 9:3:3:1 ratio that Mendel observed for two traits assorting independently. Probabilities are shown as fractions and percentages: the AaBb class is 4/16 = 25%, the double recessive 1/16 = 6.25%.

A test cross and three genes

Tt × tt has two cells: 1 Tt : 1 tt, so half the offspring show the dominant trait and half the recessive, written 1 T_ : 1 tt. This 1:1 result is how a heterozygote reveals itself. The trihybrid test cross AaBbCc × aabbcc has eight gametes from the first parent and one from the second, so eight cells, eight different genotypes and eight phenotypes, each at 1/8 = 12.5%, which shows that a test cross reads the gametes of the unknown parent directly.

Reading probabilities

The ratios are probabilities for each single offspring, not guarantees for a family. With a 3:1 cross, each child has a 75% chance of showing the dominant trait, and a family of four does not have to include exactly one recessive child. Probabilities also multiply for independent events: the chance of an aabb child from AaBb × AaBb is 1/4 × 1/4 = 1/16, the same as the cell count. A chi-square test is the way to compare observed counts with a predicted ratio.

Limits

The tool assumes independent assortment, that is, genes on different chromosomes or far apart. It does not model linked genes, which are inherited together more often than expected, nor sex-linked traits, lethal alleles, epistasis, multiple alleles or environmental effects, and it covers at most three genes. The grid is for diploid parents with two alleles per gene. Real inheritance can be more complex than any single-gene example.

Checked against the current version of the Punnett Square Calculator on .

Frequently asked questions

What does the underscore in A_B_ mean?

It stands for either allele. A_ covers both AA and Aa, which look the same when A is dominant, so A_B_ means at least one A and at least one B, the offspring showing both dominant traits. The class aabb is the only one showing both recessive traits. The tool uses this notation for phenotypes so you can read the 9:3:3:1 ratio directly.

How do I use a test cross to find out whether an organism is AA or Aa?

Cross it with a homozygous recessive aa individual. If the unknown is AA, every offspring is Aa and shows the dominant trait, while if it is Aa about half the offspring are aa and show the recessive trait. Enter Tt × tt to see the 1 : 1 result for a heterozygous unknown; AA × aa gives a single class.

Why is a dihybrid cross 9:3:3:1?

Two heterozygous genes assort independently; of 16 offspring, 9 show both dominant traits, 3 and 3 show one, and 1 shows both recessive.

What is a test cross?

A cross of an unknown dominant-phenotype individual with a homozygous recessive. The offspring reveal whether the unknown is AA or Aa.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.