Science Portal

Classical genetics: Mendel’s laws with exercises and answers

October 3, 2026approx. 17 minutesby mybody®x Editorial & Expert Team

Klassische Genetik: die Mendelschen Regeln mit Aufgaben und Lösungen

Key takeaways

Mendel’s laws describe how traits are passed from parents to offspring; Mendel published his crossbreeding experiments in 1866. You can calculate probabilities using a Punnett square: place the gametes of both parents—that is, pollen and egg cells—against each other and count the squares. If both parents carry both forms (are heterozygous), calculations show that 1/4, or 25 percent, of the offspring display the recessive trait (Mendel, 1866; calculation by the author, 2026).

Law of uniformity: When true-breeding parents that carry different forms of a trait are crossed, all offspring in the first generation look alike (Mendel, 1866).

Law of segregation: In the second generation, the recessive trait reappears unchanged, on average in a ratio of 2.98:1, or 3:1 (Mendel, 1866).

Law of independent assortment: Two pairs of traits are inherited independently of each other (Mendel, 1866), resulting in a ratio of 9:3:3:1.

In this article

What did Mendel publish about his crossbreeding experiments in 1866?

In his paper “Experiments on Plant Hybrids,” Mendel described how the traits of crossbred plants are distributed across subsequent generations; he presented the paper on February 8 and March 8, 1865, and it was printed in 1866 (Mendel, 1866). Hybrids are crossbreeds, that is, offspring of two different plants.

His approach can be seen in the work itself. He crossed plants that differed in a clearly recognizable trait, such as the shape or color of their seeds; here, crossing means pollinating one plant with the pollen of another. A trait is a visible characteristic. He then counted the seeds of each shape in the hybrids and their offspring. Finally, he summarized the results of all the experiments (Mendel, 1866).

He coined two words for what he observed. Dominant was his term for traits that passed to the hybrids wholly or almost unchanged in a cross and determined their appearance (Mendel, 1866). Mendel called traits recessive when they receded in the hybrids and reappeared unchanged in their offspring.

A cross-check was part of the process: it made no difference whether the dominant trait came from the seed-bearing plant or the pollen-bearing plant (Mendel, 1866). The seed-bearing plant carries the seeds, while the pollen-bearing plant provides the pollen. The parents’ roles can therefore be switched without changing the result.

Mendel called traits recessive when they receded in the hybrids and reappeared unchanged in their offspring (paraphrased from Mendel, 1866).

A note about the terminology: Mendel speaks of traits and germ cells, the cells through which a plant passes on its genetic traits, such as pollen and egg cells. Genes, or segments of genetic information, do not appear in his text, nor do alleles; according to MedlinePlus Genetics (NLM, 2021), alleles are different versions of a gene. The sentences from Mendel here are paraphrased from the English version on MendelWeb, not from his German wording.

What basic genetics terms do you need to understand a cross?

For every genetics problem involving a cross, you need two pairs of opposites: an allele is dominant or recessive, and a plant is homozygous or heterozygous. There is also the distinction between genotype and phenotype.

The starting point is the two copies of a gene found in every cell, according to MedlinePlus Genetics (NLM, 2021). A dominant allele affects appearance even if just one copy carries it; a recessive allele is expressed only if both copies carry it (NLM, 2021). This is Mendel’s pair of terms translated into today’s language.

Two words describe whether the two copies are the same. According to DWDS (BBAW, 2026), homozygous means “having identical maternal and paternal genetic traits; purebred,” while heterozygous means “having different maternal and paternal genetic traits; hybrid.” Applied to the two copies of a gene: a purebred plant carries the same allele twice, while a hybrid carries two different ones.

For calculating, a capital letter stands for the dominant allele, and a lowercase letter for the recessive one, such as A for round seeds and a for wrinkled seeds. Mendel also used letters like these in his calculations (Mendel, 1866). AA and aa are homozygous. Aa is heterozygous and still produces round seeds because A is dominant.

This leads to the most important difference. The genotype is the combination of alleles a plant carries, while the phenotype is its visible trait; AA and Aa have different genotypes but the same phenotype. More about genotype and phenotype is covered in a separate article.

Key point

You cannot tell from appearance alone whether a plant is purebred or heterozygous.

Generations are identified by abbreviations: the parents in a cross make up the parental generation (P), and their offspring make up the first filial generation (F1). A Punnett square is a table in which the gametes from one parent are shown as rows and those from the other as columns; each square shows a possible offspring. The square assumes that each gamete receives one of the two copies, each with equal probability.

The article on inheritance patterns in humans explains how such alleles appear in human pedigrees: it covers inheritance patterns and basic concepts in detail, while this article covers the laws and the Punnett square.

What does the Law of Uniformity, Mendel’s first law, state?

When purebred parents carrying different forms of a trait are crossed, all the F1 offspring look alike and show the dominant trait (Mendel, 1866). Today, this observation is called the Law of Uniformity; uniform means consistent.

One of Mendel’s examples comes from a cross in which the parents differed in seed shape and seed color. All fertilized seeds from the first cross looked round and yellow, like those of the seed-producing plant (Mendel, 1866). For shape, round is therefore dominant, and for color, yellow is dominant.

Small diagram: purebred round × purebred wrinkled

Parents (P) AA with round seeds, crossed with aa with wrinkled seeds.

Gametes The AA plant produces only gametes with A, and the aa plant only those with a.

Offspring (F1) Every cross results in Aa, meaning heterozygous with round seeds.

Probability Mathematically, 4 of 4 squares, or 4/4 or 100 percent Aa (own calculation, 2026).

One detail matters for later exercises: The F1 looks uniform, but carries the recessive allele hidden within it. That’s why it’s worth looking at the next generation.

What does the Law of Segregation, Mendel’s second law, state?

When heterozygous F1 plants are crossed with each other, the next generation segregates: Across all experiments, Mendel found an average ratio of 2.98:1 between the dominant and recessive traits, or 3:1 (Mendel, 1866).

Five separate piles of different seeds and grains beside an empty light-colored bowl

These offspring are called the second filial generation (F2). In it, the recessive trait reappears unchanged, although it had disappeared in the hybrids (Mendel, 1866). Hence the modern name Law of Segregation: The F2 segregates into two phenotypes.

For the diagram, cross Aa with Aa. Each parent produces gametes with A or a, each in equal proportions. The table sets the two types against each other.

Aa × Aa cross diagram · seed shape

Gamete A a
A AA · round, homozygous Aa · round, heterozygous
a Aa · round, heterozygous aa · wrinkled, homozygous

Illustration: The rows and columns show the gametes of the two heterozygous parents. This gives a 3:1 ratio, while Mendel counted an average of 2.98:1 (Mendel, 1866).

Now count the squares. The top left shows AA, one of four squares, or 1/4 or 25 percent (own calculation, 2026). Two squares show Aa, which is 2/4, or 50 percent heterozygous offspring (own calculation, 2026). The bottom right is aa, the only square with wrinkled seeds.

To summarize the appearance, combine the results. AA and Aa produce round seeds, adding up to 3/4 or 75 percent. Wrinkled seeds account for 1/4, or 25 percent, giving a 3:1 ratio (own calculation, 2026). You can also work out the value for aa without a table: 1/2 for a from one parent times 1/2 from the other gives 1/4, or 25 percent (own calculation, 2026). Mendel’s average ratio of 2.98:1 corresponds to around 74.9 percent dominant forms (Mendel, 1866; own calculation, 2026), very close to 75 percent.

The fact that a trait remains invisible in the F1 and reappears in the F2 explains why traits can skip a generation.

What does the Law of Independent Assortment, Mendel’s third law, state?

Two pairs of traits are passed on independently of one another: Each pair of traits behaves independently of the other differences in the parent plants (Mendel, 1866). Today, this is called the Law of Independent Assortment.

Mendel demonstrated this using seed shape and seed color at the same time. The plants grown from the round, yellow seeds of the first cross produced four varieties: 315 round, yellow; 101 wrinkled, yellow; 108 round, green; and 32 wrinkled, green, for a total of 556 seeds (Mendel, 1866).

For the offspring of such hybrids, Mendel wrote down a combination series, that is, a sum in which the series for both traits are combined: AB + Ab + aB + ab + 2ABb + 2aBb + 2AaB + 2Aab + 4AaBb (Mendel, 1866). A single letter represents a homozygous trait, while a pair such as Aa represents a heterozygous one. The series has 9 classes with a total of 16 parts (Mendel, 1866).

How is the ratio of the four varieties calculated?

Let A stand for round and B for yellow, and sort the classes by appearance. Round and yellow are AB, 2ABb, 2AaB and 4AaBb, for a total of 1 + 2 + 2 + 4 = 9 parts. Round and green are Ab and 2Aab, making 3 parts; wrinkled and yellow are aB and 2aBb, also 3. Wrinkled and green is only ab, making 1 part, giving the calculated ratio 9 : 3 : 3 : 1 from Mendel’s data (Mendel, 1866).

The product rule gives the same result: multiply the probabilities of independent events. Round and yellow gives 3/4 × 3/4 = 9/16, or 56.25 percent (own calculation, 2026). For round and green, calculate 3/4 × 1/4 = 3/16, or 18.75 percent; for wrinkled and green, 1/4 × 1/4 = 1/16, or 6.25 percent (own calculation, 2026).

Do Mendel’s counts match? Out of 556 seeds, the calculation predicts 556 × 9/16 = 312.75, or about 313 round, yellow seeds, plus about 104 each of round, green and wrinkled, yellow seeds, and about 35 wrinkled, green seeds; Mendel counted 315, 101, 108 and 32 (Mendel, 1866; own calculation, 2026). Each pair of traits also follows the segregation rule: round versus wrinkled gives (315 + 108) : (101 + 32) = 423 : 133, or about 3.18 : 1; yellow versus green gives (315 + 101) : (108 + 32) = 416 : 140, or about 2.97 : 1 (Mendel, 1866; own calculation, 2026).

Mendel’s 1866 count: two traits, 556 seeds

315

Round, yellow seeds (Mendel, 1866)

101

Wrinkled, yellow seeds (Mendel, 1866)

108

Round, green seeds (Mendel, 1866)

32

Wrinkled, green seeds (Mendel, 1866)

Source: Mendel, Experiments on Plant Hybrids, 1866 (English version on MendelWeb)

How do you solve genetics problems about crosses step by step?

In four steps: write down the parents’ genotypes, form the gametes, fill in the chart, then count the squares and give the result as a fraction and a percentage. Both problems use traits from Mendel’s experiments, in which the uniformly round, yellow seeds in the first cross show that round and yellow are dominant (Mendel, 1866).

Problem 1: How likely is a green seed when both parents are heterozygous?

Two plants grown from yellow seeds are both heterozygous for seed color, so Bb; B stands for yellow, b for green. What is the probability that an offspring will produce green seeds?

Solution: The parents are Bb × Bb. Each produces gametes with B or b, each with a probability of 1/2. The diagram gives four boxes: BB, Bb, bB, and bb; only bb is green. That is 1/2 × 1/2 = 1/4, or 25 percent; the remaining 3/4, or 75 percent, are yellow (own calculation, 2026).

Bonus question: An offspring produces yellow seeds. How likely is it to be heterozygous? This is a conditional probability, meaning a probability given a particular condition. Of the three yellow boxes, two are Bb, which is 2/3, or about 66.7 percent (own calculation, 2026).

Question 2: What does a test cross with a wrinkled-seeded plant produce?

A plant grown from round seeds is heterozygous, Aa. It is crossed with a homozygous wrinkled-seeded plant, aa; crossing with a homozygous recessive partner is called a test cross. What is the probability of wrinkled seeds?

Solution: The parents are Aa × aa. The heterozygous plant produces gametes with A or a, half of each; the wrinkled-seeded plant produces only gametes with a. The diagram therefore has two Aa boxes and two aa boxes. That is 2/4 = 1/2, so 50 percent of the offspring have wrinkled seeds; the other 50 percent have round seeds and are heterozygous (own calculation, 2026).

This is where a test cross is useful. If the round-seeded plant were homozygous, or AA, it would produce only Aa offspring, which means 0/4, or 0 percent, wrinkled seeds (own calculation, 2026). If even one wrinkled seed appears, the round-seeded plant must have carried the a allele.

Chapter at a glance

First write down the genotypes of both parents using uppercase and lowercase letters. From these, work out the gametes; for heterozygotes, half carry the uppercase letter and half the lowercase letter. Fill in the diagram and count the boxes with the desired appearance. Give the result as a fraction and convert it to a percentage.

Do Mendel’s laws apply to humans too?

The basic principle applies to humans too: Every cell has two copies of each gene, and, according to MedlinePlus Genetics (NLM, 2023), people inherit the variants they carry from their parents. Variants are different versions of a stretch of DNA.

“Plant seeds have nothing to do with me” is an understandable objection. Lactose metabolism shows why it doesn’t hold up. Lactase is found in intestinal cells and splits milk sugar into the sugar components glucose and galactose (Enattah et al., 2002).

The lactase gene LCT is controlled by a regulatory region, that is, a piece of DNA that regulates how active a gene is; it is located in the neighboring MCM6 gene, according to MedlinePlus Genetics (NLM, 2023). About 65 percent of people have more difficulty processing lactose after infancy (NLM, 2023). Some people have inherited changes in the regulatory region that allow lactase production to continue throughout life, a trait known as lactase persistence (NLM, 2023).

This is where Mendel comes in. According to MedlinePlus Genetics (NLM, 2023), the variants for continued lactase production are inherited as dominant: one copy per cell is enough. Those who inherited none from either parent produce less lactase in adulthood (NLM, 2023). In Mendel's notation, the variant behaves like the round A from Mendel's experiments.

Documented source

“The ability to digest lactose into adulthood depends on which variants in the regulatory region within the MCM6 gene someone inherited from their parents.”

National Library of Medicine (NLM), MedlinePlus Genetics
Lactose intolerance, MedlinePlus Genetics (NLM, 2023), translated from English

A second source describes a single variant upstream of the lactase gene. The C/T-13910 variant lies about 14 kb, or around 14,000 base pairs, upstream of LCT and is fully associated with confirmed lactase non-persistence in Finnish families and among 236 people from four populations (Enattah et al., 2002). Lactase non-persistence means a decline in lactase in adulthood; base pairs are the unit used to measure DNA length. Because the variant occurs in distantly related populations, it is probably very old (Enattah et al., 2002).

Learn more about the two copies of each gene in the article about human chromosomes. You cannot tell from the outside whether someone carries one or two copies of such a variant, just as with Mendel's round seeds; it is only visible in the DNA.

What does a saliva DNA test read from your genes?

A saliva test reads the genotype at predetermined points in the DNA, that is, which variants are present there. It does not provide a diagnosis or test for inherited diseases.

With NutriCare | The INFINITY DNA test by mybody®x (MYBODY Lab GmbH) uses SNP genotyping with over 700,000 SNPs; it is not whole-genome sequencing (mybody®x, 2026). SNPs are selected, individual heritable sections of DNA. Genotyping checks predetermined individual positions rather than reading the whole genome, that is, all of the genetic information.

In Mendel's terms, the test reads the genotype: which two versions are present at a given location. It analyzes 140 genetic variations (mybody®x, 2026), including the “Lactose metabolism” analysis involving the MCM6 gene, which regulates the lactase gene LCT. It describes a predisposition, not a certainty.

The test is taken once in a lifetime and analyzed at a specialist laboratory in Germany. It doesn't tell you what to do: there is no diet plan or list of prohibited foods, according to the product information (mybody®x, 2026). The article Genotyping or sequencing explains the difference between the methods.

NutriCare | INFINITY DNA Test by mybody®x

From the mybody®x range · DNA test

NutriCare | INFINITY DNA Test

Uses SNP genotyping to identify 140 genetic variations from a saliva sample (mybody®x, 2026), including the analysis “Lactose metabolism,” which assesses predisposition via MCM6. Analyzed at a specialist laboratory in Germany, once in a lifetime. It is not a diagnostic procedure and does not replace medical advice.

Price €269.00 As of 03.10.2026, subject to change
Sample type Saliva sample
Processing time Kit shipping 1–3 business days
Lab analysis 15–25 business days after sample receipt

Information current as of: 03.10.2026

Go to the INFINITY DNA test

Limitations: When do Mendel's laws not apply?

The rules apply to traits in which one allele masks the other; not every trait follows this pattern. In codominant inheritance, according to MedlinePlus Genetics (NLM, 2021), two different versions of a gene are both read, and each produces a slightly different protein. The source cites the AB0 blood group system as an example (NLM, 2021).

For conditions that result from the interaction of multiple genes, called polygenic conditions, or from interactions between genes and the environment, MedlinePlus Genetics (NLM, 2021) notes that they generally do not follow simple inheritance patterns. A two-letter notation does not represent these cases.

Mendel's figures are counts from plants, and 2.98 : 1 is an average across all the experiments (Mendel, 1866). A calculated probability of 1/4, or 25 percent (own calculation, 2026), therefore does not mean that exactly one out of four offspring will show the recessive trait; it describes an expected proportion.

The DNA test has its own limitation: it is not a diagnostic tool and does not replace medical advice (mybody®x, 2026). Anyone asking about a disease in their family should seek medical or genetic counseling, not a Punnett square.

What remains of Mendel's experiments in genetics today?

Mendel turned counts of seeds into a mathematical method, and it still solves genetics problems today. If you write out the gametes carefully and count the squares, you can get the result without memorizing anything. And Mendel's plants have more to do with you than the first objection might suggest: your genes also come in two copies, one from each parent.

Frequently asked questions

How do I calculate a probability in genetics?

You multiply the probabilities for the gametes. A heterozygous parent passes on the recessive allele with a probability of 1/2, and so does the other parent; the probability of a homozygous recessive offspring is therefore 1/2 × 1/2 = 1/4, or 25 percent (own calculation, 2026). For two independent traits, you multiply again, for example 1/4 × 1/4 = 1/16, or 6.25 percent (own calculation, 2026). Mendel described the independence this relies on using seed shape and seed color (Mendel, 1866).

What is the difference between genotype and phenotype?

The genotype is the combination of alleles an organism carries; the phenotype is the trait that results. A plant with round seeds can have the genotype AA or Aa; both genotypes produce the same phenotype because round is dominant. Mendel observed this in the hybrids, which passed on the hidden recessive trait until it reappeared unchanged in their offspring (Mendel, 1866). A saliva DNA test reads the genotype.

Is a dominant trait automatically more widespread?

No. Dominant describes which trait appears in heterozygotes, not how widespread it is. The variants for lactase persistence are considered dominant, yet according to MedlinePlus Genetics (NLM, 2023), about 65 percent of people have more difficulty digesting lactose after infancy. Among people of Northern European ancestry, the figure is only about 5 percent, according to the same source (NLM, 2023).

Why do Mendel's numbers differ from the cross diagram?

Because the diagram gives expected proportions, not fixed counts. Which gametes actually come together is random, so actual counts vary around the expected value. Across all experiments, the average ratio was 2.98 : 1 rather than exactly 3 : 1 (Mendel, 1866); in the two-trait cross, the figures 315 : 101 : 108 : 32 were close to the calculated 9 : 3 : 3 : 1 (Mendel, 1866).

How large is a cross diagram with two traits?

With two heterozygous parents, AaBb × AaBb, each parent produces four types of gametes, AB, Ab, aB, and ab, each with a probability of 1/4, or 25 percent (own calculation, 2026). The diagram therefore has 4 × 4 = 16 squares. Mendel's combination series with 9 classes also gives these same 16 proportions (Mendel, 1866). Grouped by appearance, the squares give a calculated ratio of 9 : 3 : 3 : 1, as shown in the chapter on the law of independent assortment.

Next step

Understanding your own variants as predispositions

The NutriCare | The INFINITY DNA test reads variants in your DNA from a saliva sample. It provides context, but does not make a diagnosis.

Go to the INFINITY DNA test How a DNA test reads variants from a saliva sample The process explained step by step

Read more

Sources

  1. Mendel G.: Experiments on Plant Hybrids, English version “Experiments in Plant Hybridization” on MendelWeb (as of 1866) – cs.brown.edu
  2. National Library of Medicine (NLM), MedlinePlus Genetics: Lactose intolerance (as of 2023) – medlineplus.gov
  3. Enattah N. S. et al.: Identification of a variant associated with adult-type hypolactasia, Nature Genetics (as of 2002) – europepmc.org
  4. Digital Dictionary of the German Language (DWDS, BBAW): Entries for homozygous and heterozygous (as of 2026) – dwds.de/wb/homozygot · dwds.de/wb/heterozygot

Mendel’s methods, terminology, and counts are based on [1]; the cross diagrams and probabilities are calculations derived from this basis, identified as “own calculation, 2026.” The connection to lactose metabolism is based on [2] and [3], and the terms homozygous and heterozygous on [4]. For alleles and codominant inheritance, see MedlinePlus Genetics: What are the different ways a genetic condition can be inherited? (NLM, 2021); the same page explains the limits of polygenic conditions. Information about the NutriCare | INFINITY DNA test comes from mybody®x product information. Information current as of 03.10.2026; sources accessed on 03.10.2026.

mybody®x (MYBODY Lab GmbH) Certificate / Quality Seal

mybody®x Editorial & Expert Team

Classical Genetics Inheritance

The mybody®x Editorial & Expert Team explains genetics in a way that can be checked, and backs up every figure with a source and year. Learn more about the team on the authors page.

Published on 03.10.2026 · Last updated on 03.10.2026

The content is for general information and is not a substitute for medical advice, diagnosis, or treatment.

Our products are not intended to diagnose, treat, cure, or prevent diseases.

DNA analysis is intended to provide nutrition and lifestyle advice. It is not a diagnostic procedure, does not predict disease, and is not a substitute for a medical examination or advice. Genetic variants describe probabilities in population groups, not certainties for individuals.

The images in this article were created with AI; the people shown are not real.

mybody®x (MYBODY Lab GmbH) Certificate / Quality Seal

Read more

Latest posts

View all