Hardy-Weinberg Calculator
Find allele and genotype frequencies in a population at equilibrium from the frequency of one allele or of the recessive phenotype.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
p + q = 1; p^2 + 2pq + q^2 = 1
Frequently asked questions
What does Hardy-Weinberg assume?
Random mating, a large population, no mutation, no migration and no selection.
How do I start from the recessive phenotype?
Take the square root of its frequency to get q, since the recessive phenotype is q squared.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Genotype Probability Calculator
Find the chance of each genotype and phenotype in the offspring of two parents for one gene, with complete dominance.
Punnett Square Calculator
Cross two parents for one, two or three genes and see the offspring genotype and phenotype ratios. Enter genotypes such as AaBb.
Population Growth Calculator
Project a population with exponential or logistic growth from the starting size, growth rate, time and carrying capacity.