This calculator uses a classic Punnett square to model how a single genetic trait may be inherited from two parents. By choosing a genotype for Parent A and Parent B (AA, Aa, or aa), you get the predicted probabilities of each possible offspring genotype and whether the dominant or recessive phenotype is expected.
The tool is designed for introductory biology, genetics classes, and hobby learning. It focuses on simple Mendelian inheritance for one gene with a dominant and a recessive allele.
Think of each run of the calculator as modeling many possible offspring from parents with the chosen genotypes. The percentages show what you would expect on average over many offspring, not a guarantee for any single child or animal.
The calculator is grounded in Gregor Mendel’s model of inheritance. Mendel proposed that traits are controlled by discrete hereditary units (now called genes) that come in different versions (called alleles).
A for a dominant version and a for a recessive version).In a simple dominant–recessive relationship:
Using this notation:
A Punnett square is a small grid that tracks how alleles from each parent can combine in offspring. Each parent produces gametes (sperm or eggs) that carry one allele for the gene. The square lists Parent A’s gametes across the top and Parent B’s gametes down the side. Each box inside the grid is a possible offspring genotype formed by combining one allele from each parent.
For a single gene with alleles A and a, each parent’s genotype determines which gametes they can form:
The Punnett square simply lists all combinations of these gametes and then counts how often each genotype appears.
The calculator uses straightforward probability rules. For each possible offspring genotype, the probability is the sum of the probabilities of all gamete pairings that produce that genotype.
In symbolic form, if P(gamete = X from Parent A) is the probability of Parent A producing gamete X, and P(gamete = Y from Parent B) is the probability of Parent B producing gamete Y, then the probability of an offspring with genotype XY is:
P(offsping genotype XY) = P(gamete X from Parent A) × P(gamete Y from Parent B)
Using MathML, the same idea can be expressed as:
Because each parent produces gametes independently, the calculator assumes:
From genotype probabilities, phenotype probabilities follow directly under a simple dominant–recessive model:
Suppose you choose Aa for Parent A and Aa for Parent B in the calculator. Each parent can produce two types of gametes: A and a, each with probability 0.5.
The Punnett square looks like this in concept:
| Parent B: A | Parent B: a | |
|---|---|---|
| Parent A: A | AA | Aa |
| Parent A: a | aA (equivalent to Aa) | aa |
Each of the four boxes is equally likely (25%). Grouping by genotype:
The calculator will display approximately:
If you imagine this cross repeated many times (for example, many seeds from the same parental plants), on average about 3 out of 4 offspring would show the dominant trait, and 1 out of 4 would show the recessive trait.
When you run the calculator with different parent genotypes, the pattern of outcomes changes in predictable ways. The table below summarizes the standard Mendelian expectations for all combinations of AA, Aa, and aa parents.
| Parent cross | Offspring genotype distribution | Dominant phenotype probability | Recessive phenotype probability |
|---|---|---|---|
| AA × AA | 100% AA | 100% | 0% |
| AA × Aa | 50% AA, 50% Aa | 100% | 0% |
| AA × aa | 100% Aa | 100% | 0% |
| Aa × Aa | 25% AA, 50% Aa, 25% aa | 75% | 25% |
| Aa × aa | 50% Aa, 50% aa | 50% | 50% |
| aa × aa | 100% aa | 0% | 100% |
Use these interpretations when reading your results:
Behind the scenes, the calculator follows these steps:
"AA", "Aa", or "aa")."Aa" and "aA" as the same genotype.This mirrors the way you would solve Punnett square problems by hand, but it runs instantly and consistently.
It is important to understand what this tool does not cover. It is a simplified model for educational use and makes several assumptions:
If you are dealing with a real genetic disease, complex trait, or breeding program, consult genetics professionals, veterinarians, or medical experts and refer to more advanced models.
It can illustrate the basic Mendelian component of risk for a single-gene trait that truly follows a dominant–recessive pattern. However, most diseases are influenced by multiple genes and environmental factors. Use the calculator as a teaching tool, not as a diagnostic or counseling resource.
They are simple codes for an organism’s genotype at one gene:
Many traits do not follow simple Mendelian patterns. For example:
This calculator does not capture those patterns; it is intended for the classic, one-gene, dominant–recessive examples that appear in school genetics problems.
Conceptually, yes: the logic is the same whether you call the alleles A/a, B/b, or any other pair of letters. The calculator fixes the notation to A and a for clarity, but you can mentally map these to the particular trait you are studying.
For instructors, you can run multiple parent combinations in class to quickly demonstrate standard Mendelian ratios without drawing each Punnett square by hand. For students, experimenting with different parent genotypes is a fast way to check homework problems and build intuition about how allele combinations translate into probabilities.
Try changing one parent at a time (for example, from Aa to AA) and watch how the recessive phenotype probability shifts. This helps build an intuitive feel for how carrier status and homozygosity affect inheritance.
| Genotype | Probability |
|---|---|
| AA | 0% |
| Aa | 0% |
| aa | 0% |