Lesson 2 of 10 · 14 min
Calculating allele frequencies
Calculate allele and genotype frequencies from genotype counts, including sex-linked genes and genes with three alleles, and compare them between generations.
What you will be able to do
- Calculate allele frequencies from the numbers of each genotype in a population.
- Distinguish an allele frequency from a genotype frequency.
- Calculate allele frequencies for sex-linked genes and for genes with three alleles.
- Calculate the change in an allele frequency between two samples.
To measure evolution you need numbers: how common each allele is, and whether that is changing. You cannot see alleles, but you can often find genotypes, either because the alleles are codominant (each genotype has its own phenotype) or because individuals have been DNA tested. From the genotypes you count the alleles.
Key idea
Count alleles, not individuals
Each individual is diploid, so it carries two alleles of an autosomal gene. In a population of individuals there are alleles.
- Each homozygous individual carries two alleles.
- Each heterozygous individual carries one and one .
- Each homozygous individual carries two alleles.
For two alleles, : use this as a check, not a shortcut.
Allele frequencies from genotype counts
Find the total number of individuals,
Add the counts of every genotype.
Find the total number of alleles,
Count the copies of the allele you want
Twice the homozygotes for it, plus once each heterozygote.
Divide by
Give the frequency as a decimal (or a percentage if the question asks).
Check
Work out the other allele's frequency the same way. The frequencies must add to 1.
Worked example
Allele frequencies in a herd of Shorthorn cattle
Coat colour in Shorthorn cattle is controlled by two codominant alleles, (red) and (white). Heterozygotes are roan, with red and white hairs mixed. A herd of 200 has 72 red, 96 roan and 32 white cattle.
Calculate (a) the frequency of each allele and (b) the frequency of each genotype.
Step 1: Write the genotypes
Red (72), roan (96), white (32). Because the alleles are codominant, each phenotype shows its genotype.
Step 2: Find the total number of alleles
cattle, so alleles.
Step 3: Count the alleles
Each red animal carries two copies of the allele, each roan animal one.
Step 4: Calculate the allele frequencies
Frequency of . Copies of , so frequency of . Check: .
Step 5: Calculate the genotype frequencies
Divide each count by the 200 individuals: , , . These add to 1 too.
Try it yourself first, then check the working one step at a time.
Answer
(a) , . (b) , , .
Method
Total alleles .
Copies of an allele (homozygotes for it) heterozygotes.
Allele frequency copies ; genotype frequency count .
Check each set adds to 1.
Watch out for
Dividing allele counts by instead of .
Giving (the red genotype frequency) as the frequency of the allele.
A DNA survey of 100 koalas finds 49 with genotype , 42 with and 9 with . Calculate the frequency of allele .
Count the copies of each allele, then divide by the total number of alleles. Draw new samples for more practice.
Common mistake
Allele frequency is not genotype frequency
The genotype frequency of is the proportion of individuals that are : . The allele frequency of is the proportion of alleles that are : . Most alleles in this population are hidden in heterozygotes. Read the question for which one it wants.
Why genotype data? If one allele is completely dominant, and individuals look the same, so phenotype counts alone do not tell you how many of each there are. The syllabus asks you to work from genotype data: counts of codominant phenotypes, DNA tests, or genotypes given in a table. (Estimating allele frequencies from recessive phenotypes needs extra assumptions, the Hardy–Weinberg model, which is beyond this course.)
Sex-linked genes. For a gene on the X chromosome, a female () carries two alleles but a male () carries only one. The total number of alleles is
Count each allele the same way: two for a homozygous female, one for a heterozygous female, one for a male with that allele.
A sample of 100 people is tested for an X-linked gene with alleles and .
| Females | Males | |||
|---|---|---|---|---|
| 42 | 16 | 2 | 36 | 4 |
Calculate the frequency of .
Three alleles. The same counting works for any number of alleles. For the ABO blood groups (alleles , and ), the frequency of is twice the number of people plus the numbers of and people, all over . The three frequencies add to 1.
Comparing generations. Microevolution shows up as a change in an allele frequency between samples. Calculate the frequency in each sample, then the change . A positive change means the allele has become more common.
Worked example
Measuring microevolution in two samples
A gene in a moth population has two alleles, and . Two samples were genotyped ten years apart.
| Sample | |||
|---|---|---|---|
| 2015 | 18 | 84 | 98 |
| 2025 | 64 | 122 | 64 |
(a) Calculate the frequency of in each sample. (b) Calculate the change in the frequency of . (c) State whether the data show evolution.
Step 1: Total alleles in each sample
2015: , so . 2025: , so .
The samples are different sizes, so compare frequencies, not counts.
Step 2: Frequency of in 2015
Step 3: Frequency of in 2025
Step 4: The change
Step 5: Conclude
The allele frequencies of the population changed over the ten years, which is microevolution. The data alone do not say why: a selection pressure, drift or gene flow could each be responsible, so more information is needed.
Try it yourself first, then check the working one step at a time.
Answer
(a) 0.30 in 2015 and 0.50 in 2025. (b) . (c) Yes: a change in allele frequency over generations is (micro)evolution, although these data do not show its cause.
Method
Calculate the allele frequency in each sample separately.
Subtract the earlier frequency from the later one.
A real change in allele frequency over generations is evolution; its cause needs other evidence.
Watch out for
Comparing numbers of moths between samples of different sizes.
Claiming natural selection without evidence of a selection pressure.
Exam tip
Showing the working
Markers want to see the counts. Write the total number of alleles, the number of copies of the allele with how you got it (), and the division. Give frequencies to two or three decimal places, and check that they add to 1.
Summary
Allele frequency = copies of the allele ÷ total alleles. For an autosomal gene the total is .
A homozygote carries two copies of its allele and a heterozygote one: .
The frequencies of all the alleles of a gene add to 1; use that as a check.
A genotype frequency is a proportion of individuals; an allele frequency is a proportion of alleles.
For X-linked genes, males carry one allele: the total is females males.
The change in an allele frequency between samples, , measures microevolution.
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.