What this is for: Allele frequencies, expected genotype counts and a chi-square equilibrium test from genotype counts; carrier frequency from a recessive phenotype frequency.
The formula: p = (2×AA + Aa) ÷ 2N; expected AA = p²N, Aa = 2pqN, aa = q²N
How to use:
- In section A, enter the observed counts for AA, Aa and aa.
- Read N, p and q, and the expected AA, Aa and aa counts under equilibrium.
- Read the chi-square statistic, its p-value and the verdict — consistent with equilibrium only if p > 0.05.
- Optionally, in section B enter the recessive phenotype frequency (q²) to get q, p, the carrier frequency 2pq and the homozygous dominant frequency p², which assume equilibrium and do not test it.
A. From Genotype Counts
Enter observed genotype counts; allele frequencies, expected counts and a chi-square test (1 degree of freedom, legacy CHIDIST upper tail) follow.
B. From Recessive Phenotype Frequency
Starts from the recessive phenotype frequency (q²) and infers allele and carrier frequencies — this section assumes equilibrium.
Download the Hardy–Weinberg Calculator workbook (.xlsx)