Hardy-Weinberg Calculator
Calculate genotype frequencies (p², 2pq, q²) from allele frequencies using the Hardy-Weinberg equilibrium equation.
Inputs
Results
Dominant Allele Freq (p)
0.6
Recessive Allele Freq (q)
0.4
AA Genotype Freq (p²)
0.36
Aa Genotype Freq (2pq)
0.48
aa Genotype Freq (q²)
0.16
Expected AA Individuals360
Expected Aa Individuals480
Expected aa Individuals160
How to Use This Calculator
- Enter Dominant Allele Frequency (p) and Population Size.
- Review Dominant Allele Freq (p), Recessive Allele Freq (q), and AA Genotype Freq (p²).
- Use Aa Genotype Freq (2pq) and aa Genotype Freq (q²) to inform your decision.
- Use the chart to visualize the results and explore different scenarios by adjusting inputs.
How the result changes with Dominant Allele Frequency (p)
| Dominant Allele Frequency (p) | Dominant Allele Freq (p) | Recessive Allele Freq (q) | AA Genotype Freq (p²) |
|---|---|---|---|
| 0.1 | 0.1 | 0.9 | 0.01 |
| 0.35 | 0.35 | 0.65 | 0.1225 |
| 0.65 | 0.65 | 0.35 | 0.4225 |
| 0.9 | 0.9 | 0.1 | 0.81 |
What each input means
- Dominant Allele Frequency (p)
- Frequency of the dominant allele in the population (0 to 1). The recessive allele frequency q is calculated as 1 - p.
- Population Size
- Total number of individuals in the population for expected count calculations.
How this is calculated
Formula
p² + 2pq + q² = 1, where p + q = 1Worked example, using the default values
- Identify Input ParametersDominant Allele Frequency (p) = 0.6, Population Size = 1000 = 2 input(s) provided
- Calculate Dominant Allele FreqDominant Allele Freq0.6 = 0.6
- Calculate Recessive Allele FreqRecessive Allele Freq0.4 = 0.4
- Calculate AA Genotype FreqAA Genotype Freq0.36 = 0.36
- Calculate Expected AA IndividualsExpected AA Individuals360 = 360
- Calculate Expected Aa IndividualsExpected Aa Individuals480 = 480
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Biology
Punnett Square Generator
Calculate offspring genotype and phenotype ratios from parent genotypes using a Punnett square for monohybrid crosses.
BiologyCell Doubling Time
Calculate cell doubling time, growth rate, and generation count from optical density measurements over time.
BiologyBeer-Lambert Law Calculator
Calculate concentration from absorbance using the Beer-Lambert law (A = εlc). Also computes transmittance.
More in Science & Physics.