Natural selection changes allele frequencies a little each generation. The selection coefficient calculator takes the frequency of the favored allele, the selection coefficient s and the dominance coefficient h, and gives the mean fitness, the frequency in the next generation, the change in one generation, the genetic load and the heterozygote fitness.
How the calculation works
- Give the three genotypes relative fitnesses: AA = 1, Aa = 1 − h × s and aa = 1 − s. The coefficient s measures selection against aa, and h says how much of that cost shows up in the heterozygote.
- With allele frequencies p for A and q = 1 − p for a, the mean fitness is w̄ = p² + 2pq × (1 − h × s) + q² × (1 − s).
- The frequency of A in the next generation is p′ = (p² + pq × (1 − h × s)) ÷ w̄, and the change is p′ − p.
- The genetic load is 1 − w̄, the average fitness lost compared with the best genotype.
Example
Allele A has a frequency of 0.60, s is 0.10 and h is 0.5, so the heterozygote has a fitness of 0.95. The mean fitness is 0.36 × 1 + 0.48 × 0.95 + 0.16 × 0.9 = 0.9600. The next generation has p′ = 0.588 ÷ 0.96 = 0.6125, a gain of 0.0125. The load is 0.04.
Why it matters
The model is the starting point of population genetics. It shows why beneficial alleles spread, why harmful recessives persist and how quickly a population can respond to a new pressure such as a drug or a pesticide.
Good to know
The model has one locus, random mating, a very large population and constant fitnesses, and it ignores mutation, migration and drift. Real selection acts on many genes at once and fitness varies with the environment. The results are best seen as an illustration of the direction and rough speed of change.
Related tools
The Hardy-Weinberg calculator gives genotype frequencies before selection, and the genetic drift calculator covers random change in small populations.