Skip to main content
Science & Math

Punnett Square Calculator

Punnett square calculator for monohybrid and dihybrid crosses: grid, genotype and phenotype ratios, probabilities and a test cross option, with steps.

Created by Muhammad Asif Zaheer
Reviewed by CalculatorPlanet Editorial Team

Published

Last updated

The cross
Parent 1: AaBb x Parent 2: AaBb Dihybrid cross with complete dominance: an uppercase allele hides its lowercase partner.
Gametes
Parent 1 gametes: AB, Ab, aB, ab (4 different) Parent 2 gametes: AB, Ab, aB, ab (4 different) Each parent passes on one allele of each gene, so there are 4 × 4 = 16 equally likely boxes.
The Punnett square
AB Ab aB ab +------------------------ AB | AABB AABb AaBB AaBb Ab | AABb AAbb AaBb Aabb aB | AaBB AaBb aaBB aaBb ab | AaBb Aabb aaBb aabb
Genotypes
AABB: 1 of 16 = 6.25% AABb: 2 of 16 = 12.5% AAbb: 1 of 16 = 6.25% AaBB: 2 of 16 = 12.5% AaBb: 4 of 16 = 25% Aabb: 2 of 16 = 12.5% aaBB: 1 of 16 = 6.25% aaBb: 2 of 16 = 12.5% aabb: 1 of 16 = 6.25% Genotype ratio: 1:2:1:2:4:2:1:2:1
Phenotypes
A_B_ (dominant A, dominant B): 9 of 16 = 56.25% A_bb (dominant A, recessive B): 3 of 16 = 18.75% aaB_ (recessive A, dominant B): 3 of 16 = 18.75% aabb (recessive A, recessive B): 1 of 16 = 6.25% Phenotype ratio: 9:3:3:1 A "_" means either allele: A_ covers AA and Aa, which look the same under complete dominance.
Result
Genotype ratio 1:2:1:2:4:2:1:2:1 | Phenotype ratio 9:3:3:1
Chance of the most likely phenotype
56.2500%
Chance of the dominant trait for every gene
56.2500%
Chance of the recessive trait for every gene
6.2500%
Different genotypes
9
Different phenotypes
4
Boxes in the Punnett square
16
Genes in the cross
2

How the Punnett Square Calculator Formula Works

A Punnett square lists every combination of one gamete from each parent. Each parent passes on one allele of each gene, and genes sort independently, so every box in the square is equally likely. With one gene the square is 2 × 2, with two genes it is 4 × 4, and with three genes it is 8 × 8.

Under complete dominance an uppercase allele hides its lowercase partner. So AA and Aa have the same phenotype. To find a probability you count the boxes in the class you care about and divide by the total number of boxes.

Ratios come from the same counts, divided by their greatest common divisor. Aa x Aa has a 1:2:1 genotype ratio and a 3:1 phenotype ratio. AaBb x AaBb has the 9:3:3:1 phenotype ratio.

chance of a class = boxes in that class / total boxes; total boxes = (2g gametes) × (2g gametes) for g genes
What goes in, what comes out
  • A, aDominant (uppercase) and recessive (lowercase) alleles of one gene.
  • gNumber of genes in the cross, 1 to 3 here.
  • boxesSquares in the grid, 4, 16 or 64.
Chance of the most likely phenotype
56.25
Values shown are from the worked example below
A, a
n/a
Dominant (uppercase) and recessive (lowercase) alleles of one gene.
g
n/a
Number of genes in the cross, 1 to 3 here.
boxes
n/a
Squares in the grid, 4, 16 or 64.

Using the Punnett Square Calculator

  1. Enter parent 1 genotype (like aa or aabb)

    Type the figure you already have, then press Calculate.

  2. Enter test cross?

    Choose from No, I will enter parent 2, Yes, parent 2 is homozygous recessive.

  3. Enter parent 2 genotype (same letters)

    Type the figure you already have, then press Calculate.

  4. Read the result

    Press Calculate to update the result. Until you do, the last result is dimmed and marked as out of date, so you always know which numbers belong to the values in the boxes.

A Real Worked Example

Cross two plants that are both AaBb, the classic dihybrid. Each parent makes four gametes, AB, Ab, aB and ab, so the square has 4 × 4 = 16 boxes. Counting the boxes gives 9 genotypes and four phenotype classes.

The phenotype ratio is 9:3:3:1. A child showing the dominant trait for both genes has 9 of 16 boxes, which is 56.25%. The fully recessive aabb has 1 of 16, or 6.25%.

1
parent1
AaBb
2
testCross
no
3
parent2
AaBb
This calculator returns56.25mostLikelyPct56.25allDominantPct6.25allRecessivePct9genotypeClasses4phenotypeClasses16squares2geneCount

A monohybrid cross

Two heterozygous parents, Aa x Aa, make gametes A and a. The four boxes are AA, Aa, Aa and aa, giving a genotype ratio of 1:2:1. AA and Aa look the same, so the phenotype ratio is 3:1.

The chance of the dominant trait is 3 of 4, or 75%, and the chance of the recessive trait is 25%.

parent1: AatestCross: noparent2: Aa75mostLikelyPct75allDominantPct25allRecessivePct3genotypeClasses2phenotypeClasses4squares1geneCount

A monohybrid test cross by hand

Cross Aa with aa. Parent 1 makes A and a, and parent 2 makes a and a. The boxes are Aa, Aa, aa and aa, so the genotype and phenotype ratios are both 1:1.

This is the pattern a test cross shows when the unknown parent is heterozygous: half the offspring show the dominant trait and half the recessive trait.

parent1: AatestCross: noparent2: aa50mostLikelyPct50allDominantPct50allRecessivePct2genotypeClasses2phenotypeClasses4squares1geneCount

A dihybrid test cross

Turn on the test cross option with parent 1 as AaBb. Parent 2 becomes aabb, which makes only ab gametes. Each of the four AaBb gametes pairs with ab, so the 16 boxes collapse into four equally likely genotypes, four boxes each.

The genotype ratio is 1:1:1:1 and the phenotype ratio is 1:1:1:1. Each class has 25%. Because every combination is visible in the offspring, a test cross is a clean way to read out the unknown parent's gametes.

parent1: AaBbtestCross: yesparent2: aabb25mostLikelyPct25allDominantPct25allRecessivePct4genotypeClasses4phenotypeClasses16squares2geneCount

A parent that is homozygous for one gene

AABb x AaBb has a first parent that is AA, so the first gene never shows the recessive trait. The square still has 16 boxes because AA is listed as A and A, and the genotype counts come out as 2, 4, 2, 2, 4, 2, a ratio of 1:2:1:1:2:1.

The phenotype ratio is 3:1: 75% dominant for both genes, 25% recessive for the second gene only, and none fully recessive.

parent1: AABbtestCross: noparent2: AaBb75mostLikelyPct75allDominantPct0allRecessivePct6genotypeClasses2phenotypeClasses16squares2geneCount

Three genes at once

AaBbCc x AaBbCc has eight gametes per parent, so 8 × 8 = 64 boxes, 27 genotypes and eight phenotypes. The grid is too wide to draw, but the counts are exact.

The phenotype ratio is 27:9:9:3:9:3:3:1. The chance of the dominant trait for all three genes is 27 of 64, or 42.1875%, and the fully recessive class is 1 of 64, or 1.5625%.

parent1: AaBbCctestCross: noparent2: AaBbCc42.1875mostLikelyPct42.1875allDominantPct1.5625allRecessivePct27genotypeClasses8phenotypeClasses64squares3geneCount

What Else to Know

How a Punnett square works

A Punnett square is a grid that shows every way two parents' gametes can combine. Each parent has two alleles for every gene, and a gamete (an egg or sperm cell) gets one of them. OpenStax Biology explains that equal segregation of alleles is the reason the square can predict offspring of parents with known genotypes.

Four step diagram: gametes, grid, count boxes per class, divide by the total to get a probability

Put one parent's gametes across the top and the other's down the side. Each box is one possible offspring genotype, and every box is equally likely. To get a probability, count the boxes of the type you want and divide by the total.

This Punnett square calculator does the bookkeeping. Enter two genotypes and it builds the gametes, fills the grid, and reports the genotype and phenotype ratios and probabilities. The solution view shows each stage in plain text.

Bar charts of Punnett square boxes 4, 16 and 64 and genotype classes 3, 9 and 27 for one to three genes

Monohybrid crosses: one gene, a 2 x 2 square

A monohybrid cross follows one gene. The most famous case is Aa x Aa, where each parent makes A and a gametes. The four boxes are AA, Aa, Aa and aa, a 1:2:1 genotype ratio. Because the dominant allele hides the recessive one, AA and Aa look alike, and the phenotype ratio is 3:1.

The table of all six monohybrid crosses shows how the ratios change with the parents. AA x aa gives only Aa offspring. Aa x aa gives half Aa and half aa. Aa x Aa gives the 3:1 pattern that Mendel saw in his pea plants.

2 by 2 Punnett square for Aa x Aa with genotype ratio 1:2:1 and phenotype ratio 3:1

If a parent is homozygous, such as AA, both gametes carry the same allele. The square still has four boxes, which keeps the counts correct. The calculator also does the test cross version of this for you.

Dihybrid crosses: two genes, a 4 x 4 square

A dihybrid cross follows two genes at once, such as seed shape and seed color. Mendel's law of independent assortment says the alleles of different genes sort into gametes separately. So an AaBb parent makes four gametes in equal numbers: AB, Ab, aB and ab.

Worked example flow for AaBb x AaBb: four gametes, 16 boxes, 9:3:3:1 phenotype ratio, 56.25 percent dominant

Four gametes per parent give a 4 × 4 square with 16 boxes. For AaBb x AaBb the phenotype ratio is 9:3:3:1, and the genotype counts are 1, 2, 1, 2, 4, 2, 1, 2, 1. OpenStax Biology shows the same 9:3:3:1 result for round yellow peas and notes that it collapses into two separate 3:1 ratios, one per gene.

4 by 4 Punnett square for AaBb x AaBb with boxes colored by the four phenotype classes

A useful check: the chance of the dominant trait for both genes is 9/16, the product of 3/4 for each gene. Tables below show the 16-box grid, the gametes and the nine genotype classes.

Bar chart of the nine genotype classes from AaBb x AaBb with counts 1, 2, 1, 2, 4, 2, 1, 2, 1

Test crosses: finding an unknown genotype

An organism that shows the dominant trait could be AA or Aa. A test cross finds out which. Breed it with a homozygous recessive partner, aa. The partner can only pass on a, so each offspring's phenotype shows which allele the unknown parent passed on.

If the unknown parent is AA, every offspring is Aa and shows the dominant trait. If it is Aa, about half the offspring are aa and show the recessive trait (1:1). OpenStax Biology includes the test cross among the standard methods for working out genotypes.

Two Punnett squares comparing a test cross of AA with aa and Aa with aa

In this calculator, set the test cross option to yes. Parent 2 is filled in as the homozygous recessive for the same genes as parent 1. For two genes, an AaBb parent in a test cross gives 1:1:1:1, since each gamete combination shows up equally.

Genotype and phenotype ratios and probabilities

The genotype ratio counts boxes by exact allele pair. The phenotype ratio counts boxes by how the trait looks. Both are reduced to the smallest whole numbers. For Aa x Aa that is 1:2:1 and 3:1.

Probabilities are the same counts divided by the total. In AaBb x AaBb the all-dominant class is 9 of 16 (56.25%) and the all-recessive class is 1 of 16 (6.25%). The calculator shows these, along with the chance of the most likely phenotype.

Bar chart of phenotype chances 56.25, 18.75, 18.75 and 6.25 percent for AaBb x AaBb

A ratio gives the odds for one offspring, not a prediction for a small family. If both parents are Aa, each child has a 25% chance of showing the recessive trait, and that is true for every child separately. Over a large number of offspring, the counts come close to the ratio.

How to use this Punnett square calculator

Type parent 1's genotype. Use uppercase for the dominant allele and lowercase for the recessive allele, and write one pair per gene: Aa for one gene, AaBb for two, AaBbCc for three. Spaces and separators like x are ignored. Parent 2 must use the same letters as parent 1, in any order.

Choose the test cross option if you want parent 2 to be homozygous recessive for the same genes. Then press calculate. The results show the chance of the most likely phenotype, the all-dominant and all-recessive chances, the number of classes and the number of boxes.

The full ratios and the grid appear in the solution view. The grid is drawn for one and two genes, and for three genes the calculator gives counts only because a 64-box grid is too wide to read. The calculator checks your input and explains what is wrong, such as a letter that appears only once.

What a Punnett square cannot do

A Punnett square models the simplest case: two alleles per gene, complete dominance, genes on different chromosomes. OpenStax Biology lists patterns that go beyond it, including incomplete dominance, codominance, recessive lethals, multiple alleles and sex linkage. This calculator does not handle them.

Human traits are mostly more complex than a single gene. Eye color, height and skin color involve several genes and other influences, so a simple square is a teaching model, not a forecast. Blood groups use three alleles. This page is a learning tool. It does not give medical, family or paternity answers, and anyone with a genetic health question should talk to a doctor or a genetic counselor.

The table of patterns beyond this calculator explains what changes in each case. Use it to see when a basic square stops applying.

Limits of the Punnett square calculator: complete dominance, up to three genes, classroom model only

Common mistakes and where to go next

The most common mistake is putting both alleles of a gene in one gamete. Each gamete carries one allele per gene, so Aa splits into A and a. Another is leaving out repeated gametes for a homozygous parent, which breaks the box counts. A third is counting AA, Aa and aa as three phenotypes when only two look different.

Check your answer by adding up: the boxes in all classes must equal the total, and the probabilities must sum to 100%. The mistakes table lists more.

Probabilities from a Punnett square are simple fractions of equally likely outcomes. For help with percentages, see the percentage calculator. If you are studying for a science exam, the AP Biology score calculator estimates your score from your section results. For animals, the dog gestation calculator and the horse gestation calculator estimate due dates.

Reference Tables

All six monohybrid crosses with complete dominance (A is dominant over a)
CrossGenotype ratioPhenotype ratioDominant traitRecessive trait
AA x AA11100%0%
AA x Aa1:11100%0%
AA x aa11100%0%
Aa x Aa1:2:13:175%25%
Aa x aa1:11:150%50%
aa x aa1:1:110%100%
Gametes made by the dihybrid parent AaBb, each equally likely
GameteAlleles passed onChance
ABA for the first gene, B for the second25%
AbA for the first gene, b for the second25%
aBa for the first gene, B for the second25%
aba for the first gene, b for the second25%
The 4 x 4 Punnett square for AaBb x AaBb (rows: parent 1 gametes, columns: parent 2 gametes)
ABAbaBab
ABAABBAABbAaBBAaBb
AbAABbAAbbAaBbAabb
aBAaBBAaBbaaBBaaBb
abAaBbAabbaaBbaabb
Phenotype classes from AaBb x AaBb, the 9:3:3:1 pattern
ClassDescriptionBoxes of 16Probability
A_B_Dominant for both traits90.5625 (56.25%)
A_bbDominant first trait, recessive second30.1875 (18.75%)
aaB_Recessive first trait, dominant second30.1875 (18.75%)
aabbRecessive for both traits10.0625 (6.25%)
The nine genotype classes from AaBb x AaBb
GenotypeBoxes of 16ProbabilityPhenotype class
AABB10.0625A_B_
AABb20.1250A_B_
AAbb10.0625A_bb
AaBB20.1250A_B_
AaBb40.2500A_B_
Aabb20.1250A_bb
aaBB10.0625aaB_
aaBb20.1250aaB_
aabb10.0625aabb
Common dihybrid crosses and their ratios
CrossBoxesGenotype ratioPhenotype ratioNote
AABB x aabb1611Every offspring is AaBb, the F1 generation
AaBb x AaBb161:2:1:2:4:2:1:2:19:3:3:1Two F1 plants crossed, the classic 9:3:3:1
AaBb x aabb161:1:1:11:1:1:1Dihybrid test cross, all four classes equal
AABb x AaBb161:2:1:1:2:13:1No recessive for the first gene
AaBb x AaBB161:1:2:2:1:13:1Second gene always shows the dominant trait
Aabb x aaBb161:1:1:1:1:11:1:1:1Each gene is a test cross
Reading a test cross: unknown parent x homozygous recessive (aa)
Unknown parentOffspring from the test crossPhenotype ratio
AAAll Aa, all show the dominant trait1
AaHalf Aa, half aa1:1
How the size of the cross grows with the number of heterozygous genes (all genes heterozygous in both parents)
Genes (n)Gametes per parentBoxesGenotype classesPhenotype classesDominant for all
124320.7500
2416940.5625
38642780.4219
Terms used with Punnett squares
TermMeaning
AlleleOne version of a gene, written as a letter such as A or a
GenotypeThe pair of alleles an individual has, such as Aa
PhenotypeThe visible or measurable trait that results
HomozygousTwo identical alleles, AA or aa
HeterozygousTwo different alleles, Aa
Dominant alleleShows in the phenotype even with one copy; written in uppercase
Recessive alleleShows only with two copies; written in lowercase
GameteAn egg or sperm cell, carrying one allele of each gene
Test crossA cross with a homozygous recessive individual to reveal an unknown genotype
Inheritance patterns this calculator does not model, and what changes
PatternWhat changesExample
Incomplete dominanceHeterozygote looks like a blend, ratio becomes 1:2:1Red x white flowers giving pink
CodominanceBoth alleles show at once in the heterozygoteBoth versions of a trait visible
Multiple allelesMore than two alleles exist in a populationHuman ABO blood groups
Sex linkageThe gene sits on a sex chromosome, so the cross differs by sexSome traits in fruit flies and people
Linked genesGenes close on one chromosome do not sort independentlyDihybrid ratios depart from 9:3:3:1
Polygenic traitsMany genes plus environment shape the traitHeight, skin color, eye color shades
Common Punnett square mistakes
MistakeWhat goes wrongFix
Putting both alleles of a gene in one gameteA gamete carries one allele per geneSplit Aa into A and a
Skipping repeated gametes for homozygous parentsProbabilities come out wrongList AA as A and A, keep every box
Counting AA, Aa and aa as three phenotypesAA and Aa look the same under complete dominanceGroup them as A_
Writing the genotype as aAHarder to compare and countWrite the uppercase letter first
Using one square for two genesDihybrid crosses need 16 boxesList the four gametes AB, Ab, aB, ab
Treating the ratio as a guaranteeSmall families vary a lotRatios describe the odds for each offspring
Results for the six worked examples
ExampleBoxesGenotype ratioPhenotype ratioAll dominantAll recessive
AaBb x AaBb161:2:1:2:4:2:1:2:19:3:3:156.25%6.25%
Aa x Aa41:2:13:175%25%
Aa x aa41:11:150%50%
AaBb x aabb (test cross)161:1:1:11:1:1:125%25%
AABb x AaBb161:2:1:1:2:13:175%0%
AaBbCc x AaBbCc6427 classes27:9:9:3:9:3:3:142.1875%1.5625%

Frequently Asked Questions About the Punnett Square Calculator

How do you use a Punnett square calculator?

Type the genotype of parent 1, such as AaBb, and the genotype of parent 2, or switch on the test cross option. Use uppercase for dominant alleles and lowercase for recessive ones. The calculator lists the gametes, draws the square, and gives the genotype and phenotype ratios. For AaBb x AaBb it shows 16 boxes and the 9:3:3:1 phenotype ratio.

What does a Punnett square calculator show?

It shows the possible gametes from each parent, the grid of offspring genotypes, how many boxes there are of each genotype and phenotype, and the matching probabilities. For Aa x Aa the genotype ratio is 1:2:1 and the phenotype ratio is 3:1, so each offspring has a 75% chance of showing the dominant trait.

How do I do a Punnett square for a monohybrid cross?

Write each parent's two alleles, put one parent's alleles across the top and the other's down the side, and fill each box with the matching pair. For Aa x Aa the boxes are AA, Aa, Aa and aa. That is 1:2:1 by genotype and 3:1 by phenotype. The calculator does this for any monohybrid pair and handles the case where a parent is homozygous.

How do I do a dihybrid Punnett square?

Work out the four gametes of each parent, such as AB, Ab, aB and ab for AaBb, and place them along both sides of a 4 × 4 grid. Fill all 16 boxes. AaBb x AaBb gives 9:3:3:1 for the four phenotype classes, as OpenStax Biology shows for the round yellow pea cross. This page's 2x2 and 4x4 squares come from the same method.

Can this calculator do a Punnett square 2x2?

Yes. Any cross with one gene uses a 2 × 2 square, four boxes in total. Enter a pair such as Aa x Aa or Aa x aa. If a parent is homozygous, its gamete is listed twice, so the square still has four boxes. For Aa x aa the four boxes give 1:1 by genotype, which is 50% Aa and 50% aa.

Is there a Punnett square 3x3?

A 3 × 3 square does not come from a standard cross, because each parent makes 2, 4 or 8 equally likely gametes. Three genes need an 8 × 8 square with 64 boxes. This calculator accepts three genes, such as AaBbCc x AaBbCc, and reports the 64-box counts, though the grid is too wide to draw. Phenotype ratio: 27:9:9:3:9:3:3:1.

What is a test cross?

A test cross breeds an individual of unknown genotype with a homozygous recessive one. Because the partner can only pass on the recessive allele, the offspring show which alleles the unknown parent carried. If every offspring shows the dominant trait, the parent is probably AA. If about half show the recessive trait, it is Aa (1:1). Switch on the test cross option here.

How do I find the genotype ratio?

Count the boxes for each genotype and reduce the counts by their greatest common divisor. For Aa x Aa the counts are 1 AA, 2 Aa and 1 aa, so the ratio is 1:2:1. For AaBb x AaBb the nine genotype counts are 1, 2, 1, 2, 4, 2, 1, 2, 1 out of 16. The calculator lists them in textbook order: homozygous dominant first, then heterozygous, then recessive.

How do I find the phenotype ratio?

Group boxes by how the trait looks. Under complete dominance AA and Aa look the same, so Aa x Aa has 3 boxes showing the dominant trait and 1 showing the recessive: 3:1. For two genes, group into four classes and count: AaBb x AaBb gives 9, 3, 3 and 1 out of 16.

What is the probability of a recessive phenotype?

Add the boxes where the recessive trait shows and divide by the total. For Aa x Aa it is 1 of 4, which is 25%. For AaBb x AaBb, a child that is recessive for both traits (aabb) has 1 of 16, or 6.25%. The calculator reports this as the all recessive chance.

What is the difference between genotype and phenotype?

A genotype is the pair of alleles an individual carries, such as Aa. A phenotype is the trait you can observe, such as round or wrinkled seeds. Under complete dominance, AA and Aa have different genotypes but the same phenotype, which is why the genotype ratio 1:2:1 collapses to the phenotype ratio 3:1. Both ratios are shown here.

What does complete dominance mean?

It means one allele, written in uppercase, completely hides the other in a heterozygote. Aa looks the same as AA. This is the model behind Mendel's pea experiments, and it is the only model this calculator uses. Patterns such as incomplete dominance, codominance and sex linkage give different ratios and need different rules.

Can I do a Punnett square calculator for incomplete dominance?

Not here. With incomplete dominance the heterozygote looks like a blend, so Aa x Aa gives three phenotypes in a 1:2:1 ratio instead of 3:1. You can still use the genotype ratio this calculator prints, because that part does not change: it is 1:2:1. Read each genotype as its own phenotype and the incomplete dominance pattern follows.

Can I use it for blood type?

Not directly. Human ABO blood groups use three alleles, so a simple two-allele model does not apply. You can still draw a 2 × 2 square by hand with the alleles each parent carries. The genetics are a classroom exercise only. Blood group results from a real test, not a Punnett square, should be used for any medical or legal question.

Can a Punnett square predict a baby's eye color?

Not reliably. Eye color depends on several genes plus other factors, so a single-gene square is a classroom simplification, not a prediction. A Punnett square is best for traits controlled by one or two genes with clear dominance. Use this calculator to learn and check homework, and do not use it to make medical, family or paternity decisions.

Does it work with other letters, like R and Y?

Yes. Any letters work, with uppercase as the dominant allele. For round and yellow peas use RrYy. Each gene needs two alleles of the same letter, so RrYy is valid and RrAa is also valid as two different genes. Parent 2 must use the same letters as parent 1. RrYy x rryy gives the 1:1:1:1.

How many boxes does a Punnett square have?

One gene gives 4 boxes, two genes give 16 and three genes give 64, since each parent contributes 2 to the power of the number of genes gametes, counting repeats. OpenStax Biology gives the rules for heterozygous pairs: 2n gametes and 3n genotypes. The gene count table on this page shows the sizes.

Why are the genotype classes listed in that order?

They follow the textbook layout: homozygous dominant first, then heterozygous, then homozygous recessive, one gene at a time. For two genes the order is AABB, AABb, AAbb, AaBB, AaBb, Aabb, aaBB, aaBb, aabb. Phenotype classes run from dominant for every gene down to recessive for every gene. This keeps ratios like 9:3:3:1 in the familiar order.

Are the ratios exact for a real family or crop?

No. A ratio describes the chance for each offspring, not a count you will see. A family of four children from Aa x Aa will often not show exactly one recessive child. Ratios like 3:1 appear when you have large numbers of offspring. Mendel's counts were close to, but not exactly, the ideal ratios.

What are the limits of this calculator?

It models complete dominance with up to three unlinked genes, each with two alleles. It does not handle incomplete dominance, codominance, multiple alleles, sex-linked genes, linked genes or mutation. It is a teaching tool. It makes no medical or paternity claims, and genetic questions about a person need a qualified professional.

References

  1. [1] OpenStax. “Biology 2e, Section 12.2 Characteristics and Traits.” OpenStax, Rice University. Accessed 2026-10-07.
  2. [2] OpenStax. “Biology 2e, Section 12.3 Laws of Inheritance.” OpenStax, Rice University. Accessed 2026-10-07.
  3. [3] Wikipedia contributors. “Punnett square.” Wikipedia. Accessed 2026-10-07.