Hardy-Weinberg Equilibrium Calculator
This genetics calculator determines allele frequencies and expected genotype frequencies under Hardy-Weinberg equilibrium. It also calculates the chi-square statistic to test whether a population is in genetic equilibrium.
Hardy-Weinberg Frequency and Chi-Square Test
Hardy-Weinberg Equilibrium and Chi-Square Formula
Where:
- $$CH$$ = number of homozygous dominant individuals
- $$H$$ = number of heterozygous individuals
- $$RH$$ = number of homozygous recessive individuals
- $$N$$ = total individuals = CH + H + RH
- $$p$$, $$q$$ = allele frequencies
- $$E_{CH}$$, $$E_H$$, $$E_{RH}$$ = expected genotype counts
- $$\chi^2$$ = chi-square value for deviation from equilibrium
The Hardy-Weinberg principle predicts genotype frequencies in a population under ideal conditions (no mutation, migration, selection, or genetic drift). This calculator allows you to input observed counts of dominant, heterozygous, and recessive individuals to determine allele frequencies (p and q), expected genotype frequencies, and whether the population deviates from equilibrium using a chi-square test. It is useful in population genetics, evolutionary biology, and academic research.