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.
Buenas tardes, quiero saber como debo citarlos. Gracias
How are the df calculated?
df = number of classes compared – no. of parameters estimated – 1.
How do you calculate the expected value for the alleles
Si una enfermedad es recesiva y la frecuencia del alelo que la genera es de
0,08, ¿cómo serán las frecuencias genotípicas?
I have one question please, the equation was as follows;
ECH = pfreq * pfreq * (CH + H + RH)
yet you have used the frequency of the rare allele in the following example ,
Step 3 : Expected CH
Expected CH =
= 0.78 * 0.2121 * (21 + 10 + 2)
can you explain why, please?
Plus,
what do you mean exactly by the following;
chi2 = chi1 + chi2 + chi3
I love you, thank you for saving my grade in bio and letting me keep an A. Thank you!
thank you so much to helping me by your this website
very useful. with you examples anybody can learn easily and population genetics.