CalcWorldHub
Free online calculator · no signup

Hardy–Weinberg expected genotype counts calculator

Convert allele frequencies and sample size into expected genotype counts under Hardy–Weinberg equilibrium. Enter your values below to see the result and method.

A better way to figure it out
Clear
inputs.
∑
Clear result · useful details
Free calculatorNo signup ✓

Related calculators

Browse biology calculators →

Hardy–Weinberg expected genotype counts calculator — Allele frequency p, Allele frequency q, Sample size (individuals) and calculation method
Hardy–Weinberg expected genotype counts calculator: inputs and calculation method.

How to use this calculator

Convert allele frequencies and sample size into expected genotype counts under Hardy–Weinberg equilibrium.

  1. Enter Allele frequency p, Allele frequency q, Sample size (individuals). Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Free calculator guide

State the inheritance or population assumptions

Use this genetics or population-genetics calculation to translate stated allele or breeding assumptions into an interpretable expectation. Convert allele frequencies and sample size into expected genotype counts under Hardy–Weinberg equilibrium.

Inputs and units

Genetics formula and example

Expected AA=p²N; Aa=2pqN; aa=q²N.

For p=0.7, q=0.3 and N=500, expected counts are 245 AA, 210 Aa and 45 aa.

Expected AA, Aa, and aa counts sum to N when p+q=1; fractional values are model expectations, not rounded observed genotypes.

Interpreting the expectation

The expected counts assume random mating at a two-allele locus with p+q=1 and no selection, mutation, migration, or population structure.

Assumptions and limitations

Requires p+q=1 for a two-allele locus and assumes random mating with no selection, migration, mutation, or population structure.

Source and method

The Hardy–Weinberg genotype frequencies are p², 2pq, and q²; multiplying each frequency by N gives expected counts. OpenStax Biology 2e — Population Evolution.

Frequently asked questions

How are the three expected genotype counts produced?

For allele frequencies p and q with p+q=1, the expected frequencies are p², 2pq, and q². Multiplying each by N gives AA, Aa, and aa counts; expected counts may be fractional.

Which assumptions matter for this hardy–weinberg expected genotype counts?

Requires p+q=1 for a two-allele locus and assumes random mating with no selection, migration, mutation, or population structure.

How does this differ from estimating allele frequency from genotype counts?

This page starts from p, q, and N to predict genotype counts under Hardy–Weinberg assumptions. An allele-frequency calculator starts from observed genotype counts and estimates allele frequencies instead.

How do I use the Hardy–Weinberg expected genotype counts calculator?

Enter Allele frequency p, Allele frequency q, Sample size (individuals). Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Hardy–Weinberg expected genotype counts?

Expected AA=p²N; Aa=2pqN; aa=q²N. For p=0.7, q=0.3 and N=500, expected counts are 245 AA, 210 Aa and 45 aa. Expected AA, Aa, and aa counts sum to N when p+q=1; fractional values are model expectations, not rounded observed genotypes.