Audited 29 Jul 2026·Last updated 28 Oct 2026·6 citations·Tier 1·0 uses

Punnett Square Calculator

Cross two parents' genotypes for one gene and get offspring genotype and phenotype odds, the ratios and the 2×2 grid, under three dominance models.

Punnett Square Calculator

Two allele letters for ONE gene, e.g. Aa, AA or aa. UPPERCASE is the dominant allele, lowercase the recessive one. Any letter works (Tt, Bb, Rr). For two genes use the dihybrid cross calculator.
Same gene letter as parent 1, e.g. Aa. The cross is symmetric — swapping the two parents cannot change the answer, only the orientation of the grid.
How is the heterozygote expressed?
Dominant phenotype
75.00
Percentage of offspring expected to show the dominant phenotype: AA plus Aa under complete dominance, AA alone under incomplete dominance or codominance.
Heterozygote phenotype
0.00
Recessive phenotype
25.00
Homozygous dominant (AA)
25.00
Heterozygous (Aa)
50.00
Homozygous recessive (aa)
25.00
Genotype ratio
1 AA : 2 Aa : 1 aa
Phenotype ratio
3 dominant (A_) : 1 recessive (aa)
Punnett square
[AA · Aa] [Aa · aa]

Background.

"We are both carriers. What are the chances our child has it?" For a condition inherited in the simplest recessive way, the answer is the bottom-right cell of a four-cell grid: a 25 percent chance with each pregnancy that the child inherits the variant from both parents, a 50 percent chance the child is an unaffected carrier, and a 25 percent chance of inheriting neither copy. Those are the figures StatPearls gives for autosomal recessive inheritance, and they fall straight out of a Punnett square.

The square works because of one fact about meiosis. A parent carries two copies of each gene and passes exactly one, chosen at random, to each egg or sperm. Write one parent's two possible contributions down the side and the other's across the top, fill in the four pairings, and each cell has the same one-in-four chance. Every answer is a count of cells, so the only percentages a single-gene cross can ever give are 0, 25, 50, 75 and 100.

Type each parent's genotype as two letters, capital for the dominant allele and lower case for the recessive one, and choose how the heterozygote shows up. That choice changes the visible classes but never the genotype odds. Under complete dominance an Aa offspring looks just like an AA one, so a 1 : 2 : 1 genotype split appears as 3 : 1. Under incomplete dominance or codominance the heterozygote is visibly different and the 1 : 2 : 1 stays.

The arithmetic is exact for the idealised cross: one gene on a non-sex chromosome, two alleles, every genotype equally likely to survive, and every carrier of a genotype showing its trait. It is not a personal risk figure. Real families involve uncertain genotypes, partial penetrance and tests with their own error rates, and a clinical geneticist or genetic counsellor is the right source for a number a decision depends on.

What is punnett square calculator?

A Punnett square is a table of every equally likely way two parents' gametes can combine at one or more genes, named after the British geneticist Reginald Punnett, who introduced it in the early 1900s while working with William Bateson on the newly rediscovered Mendelian rules. For one gene it has two rows and two columns. The rows are the two alleles one parent can pass on, the columns are the two the other can pass on, and each of the four cells is a possible offspring genotype. An allele is one version of a gene; a genotype is the pair an individual carries; homozygous means the pair matches (AA or aa) and heterozygous means it differs (Aa). The phenotype is what can be observed, and how genotypes map onto phenotypes depends on dominance, which describes the heterozygote: hidden behind the dominant allele, intermediate between the two homozygotes, or showing both alleles' products at once.

How to use this calculator.

  1. Enter parent 1's genotype as two letters of the same gene: AA, Aa or aa. Any letter works, so Tt for tall and short peas or Rr for red and white flowers, but both parents must use the same one.
  2. Enter parent 2's genotype. The cross is symmetric, so which parent goes in which box changes only how the grid is drawn, never the percentages.
  3. Choose the dominance model. Complete dominance fits a classic dominant/recessive trait such as most recessive genetic conditions; incomplete dominance fits a blended heterozygote such as a pink snapdragon; codominance fits a heterozygote showing both products, such as the A and B antigens together.
  4. Read the phenotype percentages for what offspring will look like and the genotype percentages for what they will carry. For a recessive condition the heterozygous figure is the carrier figure.
  5. Copy the genotype and phenotype ratios for homework: they are reduced to the smallest whole numbers, and classes that cannot occur are left out. The grid shows each row in square brackets so you can check it against your own drawing.

The formula.

P(genotype) = (cells containing it) ⁄ 4

Two assumptions produce every number. The first is Mendel's law of segregation: a parent's two alleles separate during meiosis and each gamete receives one of them, each with probability ½. An Aa parent therefore makes A and a gametes in equal numbers, an AA parent makes only A, and an aa parent only a. The second is that the egg and the sperm are independent draws, so the four pairings in the grid are equally likely:

P(genotype) = number of cells containing it ÷ 4

For Aa × Aa the cells are AA, Aa, Aa and aa, giving P(AA) = ¼, P(Aa) = ½ and P(aa) = ¼. The same answer comes from the product rule without drawing anything: P(AA) = ½ × ½ = ¼, and the heterozygote can form two ways, A from the first parent with a from the second or the reverse, so P(Aa) = ¼ + ¼ = ½.

Dominance then decides which genotypes share a visible class. Under complete dominance AA and Aa look alike, so the dominant phenotype is P(AA) + P(Aa), the sum rule at work, and the recessive phenotype is P(aa) alone. Under incomplete dominance and codominance each genotype is its own phenotype, and the three phenotype figures equal the three genotype figures. Only the label on the middle class differs: a blend in one case, both allele products present in the other.

The grid grows quickly with more genes. Mendel's paper gives the general pattern: when both parents are heterozygous at n genes, each makes 2ⁿ kinds of gamete, and the offspring fall into 3ⁿ genotype classes spread over 4ⁿ combinations. One gene gives a 4-cell square, two genes a 16-cell square and three genes 64 cells. That is why this tool takes a single gene, and why crosses involving several genes are usually worked by multiplying the single-gene probabilities instead.

A worked example.

Example

Two parents are both Aa, and A is completely dominant over a. Each parent makes A and a gametes half the time. With parent 1's gametes as rows and parent 2's as columns, the first row pairs A with A and with a, giving AA and Aa, and the second row pairs a with A and with a, giving Aa and aa. The grid prints as [AA · Aa] [Aa · aa]. Counting cells: AA appears once, so 1 ÷ 4 = 25 percent; Aa appears twice, 2 ÷ 4 = 50 percent; aa once, 25 percent. The genotype ratio is 1 AA : 2 Aa : 1 aa. Because dominance is complete, the AA and Aa offspring look the same. The dominant phenotype is 25 + 50 = 75 percent, the separate heterozygote class is 0 percent, and the recessive phenotype is 25 percent, a phenotype ratio of 3 dominant (A_) : 1 recessive (aa). Read as a carrier couple, a is the variant and aa is the affected genotype: 25 percent affected, 50 percent unaffected carriers, 25 percent non-carriers. The square also answers a question that comes up later. An unaffected child is in the 75 percent, and 50 of those 75 percentage points are carriers, so an unaffected brother or sister of an affected child has a two-in-three chance of being a carrier, not one in two.

parent2 GenotypeAa
dominance Modelcomplete
parent1 GenotypeAa

Frequently asked questions.

Why do textbooks give Aa × Aa as 3:1 in one place and 1:2:1 in another?
They are describing different things. The genotype ratio is always 1 AA : 2 Aa : 1 aa. The 3 : 1 is the phenotype ratio under complete dominance, where the heterozygote looks like the dominant homozygote and the first two classes merge. Under incomplete dominance or codominance the heterozygote is visibly distinct, so the phenotype ratio stays 1 : 2 : 1. The inheritance is the same in every case; only what can be told apart changes.
If the chance is 25%, will exactly one of our four children be affected?
Not necessarily. Each pregnancy is a separate draw with the same 25 percent chance, so earlier children change nothing for later ones. For two carriers with four children, the chance that exactly one is affected is about 42.2 percent, the chance that none is affected is about 31.6 percent (0.75 multiplied by itself four times), and the rest of the probability covers two, three or four affected children.
Did Mendel's own peas actually come out at exactly 3:1?
Close, not exact. In his crosses for seed shape, Mendel counted 5,474 round and 1,850 wrinkled seeds in the second generation, a ratio of about 2.96 to 1. A ratio from a Punnett square is what you expect over a very large number of offspring; any real batch scatters around it, and smaller families scatter much more than a harvest of seven thousand seeds does.
What is the difference between incomplete dominance and codominance?
The numbers are the same, the biology is not. In incomplete dominance the heterozygote is a blend: crossing red and white snapdragons gives pink flowers. In codominance both alleles' products appear side by side without blending: a person with AB blood carries both the A and the B antigen on their red cells. Both keep 1 : 2 : 1, so choose the model that describes your trait and the phenotype label will match.
How can I tell whether an animal showing the dominant trait is AA or Aa?
Use a test cross: breed it with an aa individual. If it is AA, every cell of the square is Aa and all offspring show the dominant trait. If it is Aa, half the cells are Aa and half aa, a 1 : 1 split. A single recessive-looking offspring is enough to show the parent is Aa, while several dominant-looking offspring only make AA more likely, never certain.
One parent has a dominant condition. What are the odds for each child?
If the affected parent is heterozygous, Aa, and the other parent is aa, half the cells are Aa and half aa, so each child has a 50 percent chance of inheriting the variant, the figure StatPearls gives for autosomal dominant inheritance. Whether an inheriting child develops the condition depends on its penetrance, which for some conditions is incomplete or depends on age, and the square assumes it is complete.
Can a trait be dominant and recessive at the same time?
It depends on the level you look at. Sickle cell disease is recessive: people need two copies of the variant to have the disease, and carriers are generally healthy. At the protein level, though, a carrier makes both normal and sickle haemoglobin, which is codominance. Choosing a dominance model therefore means choosing which phenotype you are counting, whether symptoms, a blood test or a protein band.
When does a single-gene Punnett square give the wrong answer?
When the real situation breaks its assumptions. Some alleles are lethal in double dose: yellow-coated mice are all heterozygous, and two crossed give 2 yellow : 1 non-yellow because the homozygous yellow embryos die. Another gene can mask this one, turning a two-gene 9 : 3 : 3 : 1 into 9 : 7 or 12 : 3 : 1. Genes on the X chromosome, mitochondrial genes, imprinted genes and genes with three or more alleles, such as ABO, need different treatment.
Why can I not enter Ab or two genes at once?
A capital and lower-case pair of the same letter are two versions of one gene; A and b belong to different genes, so Ab describes half of a two-gene genotype and a 2 × 2 grid cannot hold it. Two genes need a 16-cell square, which the dihybrid cross calculator builds. Mixed-up letters, single letters and anything other than two letters are refused for the same reason.
Can I use this to work out my own family's risk?
Only as an illustration. The square assumes both parents' genotypes are known for certain. In a real family they often are not, carrier frequencies differ by condition and ancestry, tests have detection rates below 100 percent, and penetrance can depend on age. Combining those takes Bayesian calculation, and the result can differ from the idealised figure. A clinical geneticist or genetic counsellor can give a number fitted to your family.

References& sources.

  1. [1]Abbott S. & Fairbanks D. J. (2016). Experiments on Plant Hybrids by Gregor Mendel. Genetics 204(2):407–422. doi:10.1534/genetics.116.195198. A peer-reviewed modern English translation of Mendel's 1866 Versuche über Pflanzen-Hybriden, published by the Genetics Society of America. Contains Mendel's single-character series (the 1:2:1 genotype series) and the statement that for n differing characters there are 2ⁿ gamete types, 3ⁿ genotype classes and 4ⁿ combinations. Open access, not paywalled. Retrieved 2026-07-29.
  2. [2]Gulani A. & Weiler T. Genetics, Autosomal Recessive. StatPearls, NCBI Bookshelf ID NBK546620, last update 1 May 2023. States the carrier × carrier outcome verbatim — 'a 25% chance that the child will be affected, a 50% chance that the child will be a carrier, and a 25% chance that the child will be homozygous dominant and unaffected' — and derives it as 50% × 50% = 25%. Free full text. Retrieved 2026-07-29.
  3. [3]Lewis R. G. & Simpson B. Genetics, Autosomal Dominant. StatPearls, NCBI Bookshelf ID NBK557512, last update 1 May 2023. Source for the 50 % transmission probability from a heterozygous affected parent, and for the definition of penetrance as 'the percentage of individuals who inherit a disorder allele AND display the phenotype' — the assumption this calculator makes explicit. Free full text. Retrieved 2026-07-29.
  4. [4]MedlinePlus Genetics, US National Library of Medicine. Inheritance Patterns (formerly Genetics Home Reference), page last updated 19 April 2021. Source for the definitions of autosomal dominant, autosomal recessive and codominant inheritance used on this page, including 'Two different versions (alleles) of a gene are expressed, and each version makes a slightly different protein' for codominance. Free. Retrieved 2026-07-29.
  5. [5]OpenStax, Biology 2e, section 12.3 'Laws of Inheritance'. Rice University, 2018, CC BY 4.0. Independent derivation of the same numbers via the product and sum rules: 'the probability of a homozygous dominant at A is 1/4 and the probability of a heterozygote at A is 1/2. The probability of the homozygote or the heterozygote is 1/4 + 1/2 = 3/4 using the sum rule.' Free, openly licensed. Retrieved 2026-07-29.
  6. [6]Genetic Alliance & District of Columbia Department of Health. Understanding Genetics: A Guide for Patients and Health Professionals, appendix 'Inheritance Patterns' / 'Classic Mendelian Genetics'. NCBI Bookshelf IDs NBK115561 and NBK132145, 2009–2010. Plain-language statement of the five classical inheritance modes used for the scope statements on this page. Free full text. Retrieved 2026-07-29.

How this page was produced

Published by
Quanta Calculator
Primary sources
6 cited below
Method
P(genotype) = (cells containing it) ⁄ 4
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon