Formula
p = (2 × AA + Aa) / (2N); q = (2 × aa + Aa) / (2N); p + q = 1.
How to use this calculator
- Enter the values using the units shown beside each field.
- Select the relevant option where a dropdown is provided.
- Choose Calculate to see the estimated result and intermediate values.
Worked example
The pre-filled values provide a sample calculation. Change one input at a time to understand how the result changes.
Assumptions and limitations
This calculator derives sample allele frequencies from genotype counts. It does not test Hardy–Weinberg equilibrium, population structure, selection or sampling uncertainty.
Updated: 17 November 2026. This educational calculator provides an estimate from the inputs and formula shown. Verify important laboratory or research work independently.