Skip to main content

Punnett Squares

Calculate genetic crosses from simple monohybrid to complex multi-gene scenarios.

What is a Punnett Square?

A Punnett square is a visual tool for predicting the genotypes and phenotypes of offspring from a genetic cross.

Basic Crosses

Monohybrid Cross (One Gene)

Cross two heterozygous parents: Aa × Aa

Aa
AAAAa
aAaaa

Results:

  • 25% AA (homozygous dominant)
  • 50% Aa (heterozygous)
  • 25% aa (homozygous recessive)

Phenotype ratio: 3:1 (dominant:recessive)

Using the API

curl -X POST http://localhost:8000/api/genetics/cross \
-H "Content-Type: application/json" \
-d '{
"parent1_genotype": "Aa",
"parent2_genotype": "Aa"
}'

Using Zygotrix AI

Simply ask:

"What are the offspring of Aa × Aa?"

Complex Crosses

Dihybrid Cross (Two Genes)

Cross AaBb × AaBb:

Results:

  • 9/16 dominant for both traits
  • 3/16 dominant A, recessive B
  • 3/16 recessive A, dominant B
  • 1/16 recessive for both

Phenotype ratio: 9:3:3:1

Trihybrid and Beyond

Zygotrix supports multi-gene crosses:

curl -X POST http://localhost:8000/api/genetics/cross \
-d '{
"parent1_genotype": "AaBbCc",
"parent2_genotype": "AaBbCc"
}'

Inheritance Patterns

Complete Dominance

One allele completely masks the other:

  • AA, Aa → Dominant phenotype
  • aa → Recessive phenotype

Incomplete Dominance

Heterozygotes show intermediate phenotype:

  • RR → Red flowers
  • Rr → Pink flowers
  • rr → White flowers

Codominance

Both alleles fully expressed:

  • AB → Both A and B traits visible
  • Example: Blood type AB

Examples by Trait

Eye Color (Simplified)

Parent 1Parent 2Offspring
BB × BBAll BBAll Brown
BB × bbAll BbAll Brown
Bb × BbBB:Bb:bb = 1:2:13 Brown : 1 Blue
Bb × bbBb:bb = 1:11 Brown : 1 Blue

Coat Color in Animals

GenotypePhenotype
BB, BbBlack coat
bbBrown coat

Calculation Performance

Cross ComplexityCalculation Time
Monohybrid (1 gene)Under 10ms
Dihybrid (2 genes)Under 20ms
Trihybrid (3 genes)Under 50ms
5+ genesUnder 200ms

Powered by the C++ engine for maximum performance.

API Reference

See API: Genetics for full API documentation.