Punnett Square Calculator
NEWType two parent genotypes such as AaBb × AaBb and get the Punnett square with genotype and phenotype ratios, counts and percentages for one, two or three genes.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
Write each gene as two letters of the same kind: uppercase = dominant allele, lowercase = recessive (Aa, BB, cc). 1 to 3 genes, any letters, for example AaBb or RrYy.
Trait names (optional)
Name what each allele shows, for example Yellow and green. The names appear next to the phenotypes and in the copied result.
Punnett square (4 × 4)
| ♀ \ ♂ | AB | Ab | aB | ab |
|---|---|---|---|---|
| AB | AABB | AABb | AaBB | AaBb |
| Ab | AABb | AAbb | AaBb | Aabb |
| aB | AaBB | AaBb | aaBB | aaBb |
| ab | AaBb | Aabb | aaBb | aabb |
Rows: gametes of parent 1. Columns: gametes of parent 2. Each cell is one equally likely offspring genotype; the colour shows its phenotype.
Genotypes
Ratio: 1 : 2 : 1 : 2 : 4 : 2 : 1 : 2 : 1
| Genotype | Count | % |
|---|---|---|
| AABB | 1/16 | 6.25% |
| AABb | 2/16 | 12.5% |
| AAbb | 1/16 | 6.25% |
| AaBB | 2/16 | 12.5% |
| AaBb | 4/16 | 25% |
| Aabb | 2/16 | 12.5% |
| aaBB | 1/16 | 6.25% |
| aaBb | 2/16 | 12.5% |
| aabb | 1/16 | 6.25% |
Phenotypes
Ratio: 9 : 3 : 3 : 1
| Phenotype | Count | % |
|---|---|---|
| A_B_ | 9/16 | 56.25% |
| A_bb | 3/16 | 18.75% |
| aaB_ | 3/16 | 18.75% |
| aabb | 1/16 | 6.25% |
A_ means at least one dominant A allele (AA or Aa); aa means two recessive alleles.
Quick Examples
Typical inputs and the results this tool produces.
Overview
A Punnett square lists every gamete one parent can produce along one side and every gamete of the other parent along the top, so each box is one equally likely combination of alleles in the offspring. This calculator builds the square for one, two or three genes with complete dominance, using whatever letters you choose, and counts the results.
Under the grid you get the genotype ratio (for example 1:2:1) and the phenotype ratio (3:1, 9:3:3:1 or 27:9:9:9:3:3:3:1) with counts and percentages, assuming the genes assort independently. Name the traits, such as yellow and green seeds, to see readable phenotypes. It is meant for genetics homework and teaching; real inheritance can involve linkage, incomplete dominance and other effects the model leaves out.
Why use this tool?
- Monohybrid, dihybrid and trihybrid crosses
- Genotype and phenotype ratios with percentages
- Your own gene letters and trait names
- Colour-coded grid by phenotype
- Runs in the browser, nothing to install
Features
Any letters
Use A, B, C or the letters from your textbook, such as R/r for round or wrinkled and Y/y for yellow or green.
Full grid
Shows 2 × 2, 4 × 4 or 8 × 8 squares; the trihybrid square scrolls sideways on phones.
Two ratios
Genotype and phenotype tables with counts, percentages and the ratio reduced to its smallest whole numbers.
Trait names
Add names for the dominant and recessive trait of each gene to read phenotypes in plain words.
Quick presets
Load a monohybrid, dihybrid, trihybrid or test cross with one click.
Copy the result
Copy the cross with both ratios and every genotype and phenotype as plain text.
How to Use
Enter the parents
Type each parent’s genotype as letter pairs, for example AaBb and aabb.
Name the traits
Optionally open Trait names and describe what each allele shows.
Read the square
Each box is one offspring genotype, coloured by its phenotype.
Check the ratios
Read the genotype and phenotype ratios and percentages, then copy them.