CalculatorCast

Hardy-Weinberg Calculator

p²+2pq+q²=1 equilibrium breakdown from allele frequency.

Introduction

Hardy-Weinberg Calculator — p²+2pq+q²=1 equilibrium breakdown from allele frequency. Enter Recessive allele frequency (q) to get an instant, accurate result.

Formula

The Hardy-Weinberg equilibrium equation: p² + 2pq + q² = 1, where p and q are the two allele frequencies (p + q = 1). Given q, the calculator derives p = 1 − q and all three genotype frequencies, with the sum used as a check that it equals 1.

Step-by-step

  1. Enter the Recessive allele frequency (q).
  2. Click Calculate to see your result instantly.

Real-world example

Example: With Recessive allele frequency (q) = 0.2, the Hardy-Weinberg Calculator gives P: 0.8, Q: 0.2, P2: 0.64.

Frequently Asked Questions

What does it mean if a population is "in Hardy-Weinberg equilibrium"?
It means allele and genotype frequencies are staying constant generation to generation because none of the disrupting forces — mutation, selection, migration, genetic drift, or non-random mating — are significantly acting on that gene.
What is the sum check for?
p² + 2pq + q² should always equal 1 exactly, since these three genotype frequencies account for the entire population — it's a built-in arithmetic sanity check on the result.
What inputs does the Hardy-Weinberg Calculator need?
You'll need to provide: Recessive allele frequency (q). All fields use sensible defaults, so you can see a working example immediately and then adjust the values to match your own numbers.
How accurate is the Hardy-Weinberg Calculator?
The Hardy-Weinberg Calculator applies the formula exactly as calculated — The Hardy-Weinberg equilibrium equation: p² + 2pq + q² = 1, where p and q are the two allele frequencies (p + q = 1). Given q, the calculator derives p = 1 − q and all three genotype frequencies, with the sum used as a check that it equals 1. — so results are precise for the inputs you provide. Accuracy depends on entering correct, realistic input values.
Is the Hardy-Weinberg Calculator free to use?
Yes, the Hardy-Weinberg Calculator is completely free, requires no signup, and runs instantly in your browser.

About the Hardy-Weinberg Calculator

The Hardy-Weinberg Calculator uses a real, verifiable formula — The Hardy-Weinberg equilibrium equation: p² + 2pq + q² = 1, where p and q are the two allele frequencies (p + q = 1). Given q, the calculator derives p = 1 − q and all three genotype frequencies, with the sum used as a check that it equals 1. — so results are accurate every time, not an approximation.