PublicSoftTools

Punnett Square Generator

Generate Punnett squares for monohybrid and dihybrid genetic crosses. Enter parent genotypes, optionally name the dominant and recessive phenotypes, and instantly see the full grid with genotype and phenotype ratios. No signup, runs entirely in your browser.

Trait 1 (optional)
Aa
AAAAa
aAaaa

Genotype ratio

AA1/425%
Aa2/450%
aa1/425%

Phenotype ratio

Dominant3/475%
Recessive1/425%

Genetics Tips

Monohybrid cross (2×2)

Enter Aa × Aa for the classic 1:2:1 genotype ratio and 3:1 phenotype ratio. Try AA × aa to see why F1 offspring are all heterozygous (Aa).

Dihybrid cross (4×4)

Enter AaBb × AaBb for the 9:3:3:1 phenotype ratio. This demonstrates Mendel's law of independent assortment when two genes are on separate chromosomes.

Name your phenotypes

Use the optional trait name fields to label the dominant and recessive phenotypes (e.g. "Purple" / "White" for flower colour). The phenotype ratio table will use your labels.

Test crosses

Enter an unknown genotype × aa to perform a test cross. If all offspring show the dominant phenotype, the parent is homozygous dominant (AA). If half show recessive, the parent is heterozygous (Aa).

Frequently Asked Questions

What genotype format should I use?

For a monohybrid cross, enter a two-letter genotype like Aa, AA, or aa — uppercase for dominant, lowercase for recessive. For a dihybrid cross, enter four letters like AaBb or AAbb. Both parents must have the same number of genes.

What is a Punnett square?

A Punnett square is a grid used to predict the probability of offspring genotypes from a genetic cross. Each cell represents one possible offspring, and the frequency of each genotype gives the probability of that offspring type.

What is the 3:1 ratio?

In a monohybrid cross between two heterozygous parents (Aa × Aa), 3 out of 4 offspring have the dominant phenotype (AA or Aa) and 1 out of 4 has the recessive phenotype (aa). This 3:1 phenotype ratio is Mendel's first law in action.

How does a dihybrid cross work?

A dihybrid cross (e.g. AaBb × AaBb) considers two genes simultaneously. Each parent produces 4 types of gametes (AB, Ab, aB, ab), giving a 4×4 grid with 16 possible offspring combinations. The expected phenotype ratio is 9:3:3:1.

What do the colours mean?

Green cells show homozygous dominant offspring (e.g. AA), yellow cells show heterozygous offspring (e.g. Aa), and red cells show homozygous recessive offspring (e.g. aa).

Is my data stored?

No. All calculations run entirely in your browser. No data is sent to any server.