Punnett Square and Genetics Cross Solver
Type two parent genotypes and get the full colour-coded Punnett square, genotype and phenotype ratios, probabilities and the working, plus practice questions.
Berjalan dalam pelayar anda. Fail anda tidak pernah meninggalkan peranti. Lihat cara menyemaknya
…
Cara melakukannya
- 1Choose an example or set genes
Load an example cross or set the letter, inheritance type and phenotype names of each gene.
- 2Add more genes
Press + Add gene for dihybrid and trihybrid crosses, or tick X-linked for a sex-linked trait.
- 3Type the parents
Enter both genotypes, for example RrYy and RrYy, and use Swap to change the order.
- 4Read the square
Each cell shows the offspring genotype and is coloured by phenotype; the legend names the colours.
- 5Check the ratios
The genotype and phenotype tables give counts, fractions, percentages and the simplified ratio.
- 6Practise
Open Practice questions for random monohybrid, dihybrid and X-linked problems with answer checking.
- 7Save or print
Save the cross under a name, export a CSV or print the square and tables as a PDF.
Tentang alat ini
A Punnett square is the grid biology students use to predict the offspring of a cross. Each parent's possible gametes run along one edge, and every cell joins one gamete from each side. Drawing a 2 × 2 square by hand is quick, but a dihybrid cross already needs 16 cells and a trihybrid cross 64, which is where mistakes creep in. This solver builds the square for you from two genotypes such as AaBb × AaBb. You name each gene's phenotypes, choose complete dominance, incomplete dominance or codominance, and can mark one gene as X-linked to model traits such as haemophilia or red-green colour blindness. Every cell is coloured by phenotype, and the tables list each genotype and phenotype with its count, fraction, percentage and the simplified ratio such as 9 : 3 : 3 : 1.
Who it is for
GCSE, IGCSE, A-level, AP and IB biology students checking homework, teachers preparing worked examples, and anyone curious about how a trait might be inherited. It runs in the browser and saves your crosses on this device.
What the solver does
Gametes are formed by giving one allele of each gene, so a parent with n heterozygous genes makes 2^n kinds of gamete. The square lists them in full by default, which matches textbook layouts; tick Combine identical gametes to merge repeated rows and columns for homozygous parents and see the weights instead. Offspring genotypes are written with the dominant allele first, and for an X-linked gene the X chromosome comes before the Y, for example XHXh or XhY.
Dominance types
With complete dominance one copy of the dominant allele gives the dominant phenotype. With incomplete dominance the heterozygote is intermediate, like pink snapdragons from red and white parents. With codominance both alleles show, like roan cattle with red and white hairs. In the last two cases the heterozygote gets its own phenotype name and the phenotype ratio for that gene equals the genotype ratio, 1 : 2 : 1.
Sex-linked traits
When a gene is marked X-linked, the first parent must be female (two X alleles) and the second male (one X allele and a Y). Sons receive their only X from their mother, so the phenotype table separates male and female offspring. This shows why a carrier mother and an unaffected father have a one in two chance of an affected son but no affected daughters.
Worked example
Mendel crossed pea plants heterozygous for round seeds (R) and yellow seeds (Y): RrYy × RrYy. Each parent makes four gametes: RY, Ry, rY and ry. The 16 cells give nine genotypes. Grouping by phenotype gives 9 round yellow, 3 round green, 3 wrinkled yellow and 1 wrinkled green, the classic 9 : 3 : 3 : 1 ratio, so the chance of a wrinkled green seed is 1/16 or 6.25 %.
Limits
The solver assumes genes assort independently, as they do on different chromosomes. It does not model linkage and recombination frequencies, multiple alleles such as the ABO blood groups, epistasis, lethal genotypes or polygenic traits. Ratios are expected proportions; real litters vary by chance, so small families often do not match them. It is a study aid, not genetic counselling or medical advice.
Contoh berselesaian
RrYy × RrYy: 16 combinations, phenotypes 9 round yellow : 3 round green : 3 wrinkled yellow : 1 wrinkled green.
Ringkasnya
- Kategori: Matematik & sains
- Berjalan dalam pelayar, tanpa pendaftaran, tanpa muat naik.
- Maklumat yang anda masukkan kekal pada peranti anda.
- Tersedia dalam bahasa Inggeris.
- Kandungan disemak kali terakhir:
- Sumber rasmi: OpenStax Biology 2e, section 12.3 Laws of Inheritance (Punnett squares, segregation, independent assortment, X-linked traits)
Soalan lazim
How do I enter a dihybrid cross?
Keep two genes in the gene list, give each a letter, then type the parents with two letters per gene in the same order, for example AaBb and aabb.
How do I show incomplete dominance or codominance?
Change the Inheritance menu of that gene and type a name for the heterozygote, for example pink. That phenotype then gets its own colour in the square.
How do I write X-linked genotypes?
Tick X-linked on the gene and write the mother as XHXh and the father as XHY or XhY. Carets such as X^H are also accepted.
Why does the square show repeated gametes?
Textbook squares list every gamete combination so each cell is equally likely. Tick Combine identical gametes to merge duplicates and show the weights instead.
Can I get the probability of one genotype?
Yes. The genotype table shows each genotype's count out of the total, the fraction in lowest terms and the percentage.
Does the tool handle linked genes?
No. It assumes independent assortment. For linked genes the offspring ratios depend on the recombination frequency, which this tool does not model.
