Formula
p = (2AA + Aa) ÷ 2N; q = 1 − p; expected genotype frequencies are p², 2pq and q².
How to use this calculator
- Enter each value in the unit shown.
- Check that the values describe the same sample or experiment.
- Select Calculate to view the result and intermediate values.
Worked example
The pre-filled values are an illustrative example. Change the inputs to explore how the formula responds.
Assumptions and limitations
Calculate allele frequencies and expected genotype frequencies under the two-allele Hardy–Weinberg model. The output is an educational estimate based on the displayed formula. Experimental conditions, assay design and measurement quality can affect real-world results. Verify important laboratory decisions with validated methods and qualified supervision.
Updated: 17 November 2026. Inputs are processed in your browser by this calculator.