CalcWorldHub
Free online calculator · no signup

Hardy–Weinberg heterozygote frequency calculator

Enter p as an allele-frequency fraction; the calculator derives q=1−p and returns the expected heterozygote fraction under Hardy–Weinberg equilibrium.

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

Related calculators and articles

Compare methods and explore more free tools in biology.

Browse the full biology category →

Hardy–Weinberg heterozygote frequency calculator — Allele frequency p and calculation method
Hardy–Weinberg heterozygote frequency calculator: inputs and calculation method.

How to use this calculator

Free Hardy–Weinberg heterozygote frequency calculator. Estimate heterozygote frequency from one allele frequency. Review the formula and assumptions.

  1. Enter Allele frequency p. 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.
Calculation guide

Hardy–Weinberg heterozygote frequency

Given the frequency of one allele at a two-allele locus, this page calculates the expected heterozygote frequency under Hardy–Weinberg equilibrium.

What the result represents

Let p and q be the two allele frequencies, with p+q=1. Random union of alleles gives expected genotype frequencies p², 2pq and q²; this calculator reports only the heterozygote term 2pq.

Inputs and units

a — Allele frequency p
Enter p as a dimensionless fraction from 0 to 1. For example, 0.35 means 35 percent; do not enter 35.

Formula and method

q=1−p; heterozygote frequency=2pq=2p(1−p). The output is a fraction. Multiply by 100 to express a percentage.

Worked example

If p=0.35, then q=0.65 and 2pq=2(0.35)(0.65)=0.455, or 45.5 percent. The other genotype frequencies are p²=0.1225 and q²=0.4225, and all three sum to 1.

Interpreting the result

This is an expected genotype fraction under the model, not an observed sample count. Multiply by population size for an expected count, while allowing for sampling variation.

Assumptions and limits

The calculation assumes a diploid population at one locus with two alleles, random mating, and no material selection, mutation, migration or genetic drift. Real populations may depart from equilibrium.

Frequently asked questions

What does p represent?

p is the frequency of one allele at a two-allele locus; q is the other allele frequency, 1−p.

Does 0.455 mean 0.455 percent?

No. It is a fraction, equivalent to 45.5 percent.

Does every population have these genotype frequencies?

Only under the Hardy–Weinberg assumptions; selection, migration, mutation, drift or non-random mating can cause departures.

How do I use the Hardy–Weinberg heterozygote frequency calculator?

Enter Allele frequency p. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Hardy–Weinberg heterozygote frequency?

If p=0.35, then q=0.65 and 2pq=2(0.35)(0.65)=0.455, or 45.5 percent. The other genotype frequencies are p²=0.1225 and q²=0.4225, and all three sum to 1.