
Web Scripts & Software
DEV3 Punnett Square Calculator (Mono-, Di-, Trihybrid) — Source Code (React + Tailwind)
from $20$29
Loading…
Everyday tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Aa, AaBb or AaBbCc (up to 3 genes)
| Parent 2 gametes | ||
|---|---|---|
| Parent 1 | A | a |
| A | AA A (dominant) | Aa A (dominant) |
| a | Aa A (dominant) | aa a (recessive) |
Gametes with a multiplier (x2) occur more than once, so those boxes count double. Hover a box for its share.
| Aa | 1/2 | 50.00% |
| AA | 1/4 | 25.00% |
| aa | 1/4 | 25.00% |
| A (dominant) | 3/4 | 75.00% |
| a (recessive) | 1/4 | 25.00% |
The offspring include more than one phenotype, so the tested parent carries a hidden recessive allele (heterozygous).
Independent genes multiply: P(aabb) = P(aa) x P(bb).
Random draws from the square. Small families rarely match the ratio exactly, that is normal.
Related: statistics calculator, probability calculator, periodic table. Runs entirely in your browser.
Need Punnett Square Calculator (Mono-, Di-, Trihybrid) as a full mobile or web app? We build it in about a week. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The punnett square calculator (mono-, di-, trihybrid) stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Get the full app behind this tool. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $20$29

Web Scripts & Software Mobile app
from $69$99

Enterprise SaaS Starters
from $69$99

Enterprise SaaS Starters
from $69$99

Web Scripts & Software
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software Mobile app
from $69$99
A Punnett square turns Mendel's laws into counting. Type the genotype of each parent, choose how the alleles interact, and read the grid, the ratios and the step-by-step explanation.
Uppercase letters are dominant alleles and lowercase letters are recessive. Homozygous parents such as AA make one kind of gamete, which the calculator shows once with its weight so the grid stays small.
Pick complete dominance, incomplete dominance or codominance for each gene. You can rename the traits (purple, white, pink) and the labels carry into the grid, the tables and the printable worksheet.
The X-linked tab models recessive and dominant traits such as red-green colour blindness and hemophilia, showing daughters and sons separately and flagging carriers. The blood group tab handles the three-allele ABO system and also tells you which groups two parents of known groups can have.
Enter observed offspring counts to run a chi-square goodness-of-fit test against the expected ratio. A p-value of 0.05 or more means the data are consistent with the model; the Mendel pea data (705 purple, 224 white) give chi-square 0.39 and fit 3 : 1.
Gametes are formed by independent assortment (Mendel's second law). Every box in the grid has equal probability, 1 over 4^n for n genes, and genotype probabilities are the sums over boxes. Chi-square p-values use the regularised incomplete gamma function. Real populations can differ because of linkage, lethal alleles and incomplete penetrance; this is a teaching model.
A Punnett square is a grid that lists the gametes of one parent along the top and the gametes of the other parent down the side. Each box is one equally likely allele combination for a child, so counting boxes gives genotype and phenotype probabilities.
AaBb x AaBb has 16 boxes. With complete dominance on both genes the phenotypes appear 9 : 3 : 3 : 1 (both dominant, first dominant only, second dominant only, both recessive). The calculator also lists the 9 distinct genotypes as fractions of 16.
The genotype is the allele pair, for example Aa. The phenotype is the visible trait that results. With complete dominance AA and Aa look the same, so a 1 : 2 : 1 genotype ratio becomes a 3 : 1 phenotype ratio.
In incomplete dominance the heterozygote is intermediate (red x white snapdragons give pink), so Aa x Aa gives 1 : 2 : 1 phenotypes. In codominance the heterozygote shows both traits at once, such as AB blood. Both modes are in the dominance selector.
The gene sits on the X chromosome. Daughters get an X from each parent, sons get the father's Y and the mother's X, so a recessive allele shows in every son who inherits it. Use the X-linked tab to see daughters and sons separately.
Yes. Multi-gene crosses assume independent assortment, Mendel's second law, which holds for genes on different chromosomes or far apart on one chromosome. Closely linked genes need map distances and give different ratios.