Test Cross Calculator for Unknown Genotypes

Use offspring counts from a test cross to infer whether a dominant-looking parent carries a hidden recessive allele. The calculator handles monohybrid A_ × aa crosses, dihybrid AaBb × aabb crosses, chi-square testing, and linkage clues from recombinant classes.

Live test cross analyser

Load a preset, enter observed offspring counts, and see the genotype inference update instantly.

Start with a test-cross scenario

Load a preset, then edit the trait labels and offspring counts. Results update as you type.

Unknown parent and cross model

Describe the dominant-looking parent and choose whether the test cross has one or two loci.

Test cross between an unknown dominant parent and a homozygous recessive testerUnknownA_dominant phenotype×Testeraahomozygous recessiveoffspring reveal the unknown genotype

Tester offspring counts

Enter counted offspring classes from the cross with a homozygous recessive tester.

Live inference

Unknown parent most likely heterozygous (Aa)

Recessive offspring appeared, so the unknown parent carries a recessive allele. The counts fit the expected 1:1 test-cross ratio at α = 0.05.

χ²

0.040

df

1

p-value

0.841

Observed phenotype split

Round seeds51.0%
Wrinkled seeds49.0%
Chance of missing every recessive offspring if the unknown parent were Aa: 0.0%

Monohybrid test-cross table

ClassObservedExpected if AaRatio
Round seeds51501
Wrinkled seeds49501
Test cross genetics diagram showing an unknown dominant parent crossed with a homozygous recessive tester and offspring ratios revealing genotype
Figure 1. A test cross uses a homozygous recessive tester to expose gametes from an unknown dominant-looking parent. In pea seed traits, loci such as SBEI connect visible round or wrinkled seed phenotypes with starch-branching enzyme activity, so offspring classes can reveal hidden alleles through segregation.

What is a test cross?

A test cross identifies an unknown genotype by crossing a dominant-looking organism with a homozygous recessive tester. Gregor Mendel used true-breeding pea lines in the 1860s, and later geneticists turned his segregation logic into a standard experimental design. OpenStax describes how a test cross distinguishes homozygous dominant and heterozygous parents in classical inheritance. Read the OpenStax test-cross explanation.

For one locus, the unknown parent has genotype A_ because it shows the dominant phenotype. The tester has genotype aa. Recessive offspring can only appear when the unknown parent contributes the a allele, so any aa offspring reveal heterozygosity.

Dihybrid test crosses extend the same logic to two loci. An AaBb parent crossed with aabb produces offspring that directly reflect AB, Ab, aB, and ab gametes. Independent assortment predicts a 1:1:1:1 ratio, while linkage enriches parental gamete classes.

How to use the calculator

  1. 1

    Choose monohybrid or dihybrid mode

    Select monohybrid for A_ × aa data or dihybrid for AaBb × aabb data with four phenotype classes.

  2. 2

    Label the trait and phenotypes

    Type clear phenotype names such as round seeds, wrinkled seeds, A_B_, A_bb, aaB_, and aabb.

  3. 3

    Enter observed offspring counts

    Use raw counts from the test cross rather than percentages because chi-square calculations require counts.

  4. 4

    Read the genotype inference

    Use the result banner, p-value, and ratio table to decide whether the unknown parent fits AA, Aa, or a dihybrid model.

Write genotypes with uppercase dominant alleles and lowercase recessive alleles. Use A_ when a parent shows a dominant phenotype but could be AA or Aa.

What each part of the tool does

Preset buttons

Presets load realistic classroom data for clean 1:1 results, all-dominant offspring, distorted monohybrid counts, and dihybrid linkage patterns. They help students compare common outcomes before entering their own counts.

Unknown parent card

This card defines the genetic question. Monohybrid mode asks whether A_ means AA or Aa. Dihybrid mode asks whether an AaBb parent produces four gamete classes equally or shows linkage.

Tester offspring counts

This section holds the observed progeny data. The recessive tester contributes only recessive alleles, so each offspring phenotype exposes the allele or gamete contributed by the unknown parent.

Result banner and tables

The banner gives the main inference first. The tables show expected counts, χ², degrees of freedom, p-value, and recombinant fraction so students can defend the conclusion in lab reports.

Worked examples

Example 1: Aa parent revealed by recessive offspring

A round-seeded pea plant gets crossed to a wrinkled tester. The offspring include 51 round and 49 wrinkled seeds. A 1:1 ratio predicts 50 round and 50 wrinkled offspring.

χ² = 0.04 with 1 degree of freedom. The p-value is about 0.84, so the data fit Aa × aa. The unknown parent most likely carries one dominant allele and one recessive allele.

Example 2: all dominant offspring support AA

A purple-flowered plant gets crossed to a white-flowered tester. All 20 offspring show purple flowers. If the unknown parent were Aa, the chance of missing every white offspring equals (1/2)20.

That probability is about 0.000095%. The result strongly supports AA under complete dominance. A smaller sample, such as 3 or 4 offspring, would give weaker evidence.

Why test crosses matter in genetics

Test crosses turn hidden genotype differences into countable phenotypes. Plant breeders use that logic when they need to confirm whether a selected dominant plant still carries an unwanted recessive allele. Genetics students use the same design to connect meiosis, segregation, fertilisation, and probability.

Molecular genetics later connected several Mendelian pea phenotypes with specific genes. Bhattacharyya, Smith, Ellis, Hedley, and Martin showed in 1990 that wrinkled pea seeds trace to an insertion in a gene encoding starch-branching enzyme. That work linked a classical phenotype to starch synthesis inside developing seeds. View the PubMed record.

Dihybrid test crosses add another layer. When four offspring classes deviate from 1:1:1:1, geneticists can inspect parental and recombinant classes. OpenStax covers the independent assortment principle that produces equal gamete classes when loci assort independently. Review independent assortment.

Limitations and caveats

The calculator assumes complete dominance, accurate phenotype scoring, and viable offspring classes. Incomplete dominance, codominance, penetrance, epistasis, and lethal alleles can change the expected ratios. Use the result as a model check, not as proof that every biological assumption holds.

Chi-square tests also need adequate expected counts. Many instructors avoid interpreting a class with an expected value below 5. A larger offspring sample gives stronger evidence, especially when no recessive progeny appear.

This tool supports education and basic genetics planning. It does not provide medical diagnosis, clinical carrier-risk counselling, or professional breeding certification.

Frequently asked questions

What is a test cross in genetics?
A test cross mates an organism with an unknown dominant-looking genotype to a homozygous recessive tester. For one locus, that means A_ × aa. If every offspring shows the dominant phenotype, the unknown parent may be AA. If recessive offspring appear, the unknown parent must carry the recessive allele and fits Aa under complete dominance.
How does this test cross calculator identify AA or Aa?
The calculator compares your observed offspring counts with the 1:1 ratio expected from Aa × aa. A recessive offspring can only receive a from the unknown parent and a from the tester. That single observation rules out AA under the simple complete-dominance model. When no recessive offspring appear, the tool estimates the chance that an Aa parent could have produced only dominant offspring by random sampling.
What ratio should a monohybrid test cross produce?
A monohybrid test cross produces different ratios depending on the unknown parent. AA × aa produces 100% Aa offspring with the dominant phenotype. Aa × aa produces 50% Aa and 50% aa offspring, so the phenotype ratio equals 1:1. The calculator uses that 1:1 expectation for its chi-square test when recessive offspring appear.
Can a test cross prove that a parent is homozygous dominant?
A test cross can support AA, but it cannot prove AA with absolute certainty from a small sample. An Aa parent can sometimes produce only dominant offspring by chance. With 5 offspring, that chance equals (1/2)5, or 3.125%. With 20 offspring, the chance falls to about 0.000095%, so the evidence becomes much stronger.
What does a dihybrid test cross show?
A dihybrid test cross usually mates AaBb to aabb. The recessive tester reveals the gamete from the unknown parent, so AB, Ab, aB, and ab gametes become visible as four offspring classes. Independent assortment predicts a 1:1:1:1 ratio. A strong excess of parental classes can suggest linkage, especially when the phase labels match the biology.
Why does the calculator show a chi-square p-value?
Observed counts rarely match an expected ratio perfectly. The chi-square p-value estimates whether the deviation fits ordinary sampling noise. A p-value greater than or equal to 0.05 usually supports the expected ratio in teaching labs. A p-value below 0.05 tells you to inspect linkage, viability, penetrance, scoring error, or sample design.
What does coupling phase mean in a dihybrid test cross?
Coupling phase means the dominant alleles sit together on one homolog, often written AB / ab. In a test cross, AB and ab offspring represent parental classes under that phase. Ab and aB offspring represent recombinants. The calculator uses those labels to estimate recombinant fraction and an approximate map distance in centimorgans.
Can I use this calculator for human genetic diagnosis?
No. This calculator teaches Mendelian reasoning with simplified dominance assumptions. Human traits often involve penetrance, expressivity, allelic heterogeneity, locus heterogeneity, and clinical ascertainment bias. A medical genetics service uses pedigrees, molecular tests, variant classification, and counselling standards. Use this tool for education, classroom data, and simple breeding examples only.

Use these tools to build expected ratios first, then test whether real offspring counts match the model.