Allele Frequency Calculator (Hardy-Weinberg)
Allele Frequency Calculator (Hardy-Weinberg)
Calculate allele frequencies (p, q), expected p² / 2pq / q² genotypes, and Chi-Square (χ²) Hardy-Weinberg equilibrium tests.
Genotype Frequency Distribution: Expected vs. Observed
Sample N = 1,000 individuals
| Genotype | HWE Term | Expected % | Expected Count | Observed Count | Difference |
|---|---|---|---|---|---|
| Homozygous Dominant (AA) | p² | 36.00% | 360.0 | 360 | +0.0 |
| Heterozygous Carrier (Aa) | 2pq | 48.00% | 480.0 | 480 | +0.0 |
| Homozygous Recessive (aa) | q² | 16.00% | 160.0 | 160 | -0.0 |
How the Allele Frequency Calculator (Hardy-Weinberg) Works
Performs population genetics calculations for biallelic loci: deriving dominant (p) and recessive (q) allele frequencies, Hardy-Weinberg expected genotype counts, and Pearson’s Chi-Square equilibrium test.
Operational Steps:
- Choose Observed Genotype Counts (AA, Aa, aa) or Direct Allele Frequency (p / q) mode.
- View calculated allele frequencies, heterozygote carrier prevalence (2pq), and χ² test statistic against the 3.841 threshold (df = 1, α = 0.05).
- Compare Expected vs Observed genotype proportions on the bar chart and breakdown table.
Formulas and unit conversions are documented alongside their underlying mathematical definitions for general educational and reference use.
A population sample of 1,000 individuals with 360 AA, 480 Aa, and 160 aa genotypes.
Key Insights & Best Practices
Questions About This Calculation
Three genotype classes minus 1 constraint (N) minus 1 estimated parameter (allele p) leaves 3 − 2 = 1 degree of freedom.
Get free iframe embed code with customizable light/dark theme support.
Related Calculators in Health Calculators
Ideal Body Weight Calculator (IBW)
Calculate Ideal Body Weight across four clinical equations (Devine, Robinson, Miller, Hamwi), healthy BMI range, and body frame adjustments.
Lean Body Mass Calculator (LBM)
Compute fat-free Lean Body Mass via Boer, James, and Hume clinical formulas or direct body fat % with daily protein targets.
Waist-to-Hip Ratio Calculator (WHR)
Assess abdominal fat distribution, Apple vs. Pear body shape, and WHO cardiovascular & metabolic risk levels.
Waist-to-Height Ratio Calculator (WHtR)
Evaluate central obesity risk using the universal 0.50 waist-to-height rule with maximum healthy waist threshold.