CalculatorCast

Calculadora de Hardy-Weinberg

Desglose del equilibrio p²+2pq+q²=1 a partir de la frecuencia alélica.

Introducción

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

Fórmula

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.

Paso a paso

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

Ejemplo del mundo real

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

Preguntas Frecuentes

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 a fixed formula to the numbers you enter. Formula used: 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. The result is only as reliable as the values you provide, so double-check your inputs.
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.

Acerca de Calculadora de Hardy-Weinberg

The Hardy-Weinberg principle states that allele and genotype frequencies in a population remain constant from generation to generation in the absence of evolutionary forces. It is the null model of population genetics. The Hardy-Weinberg Calculator on CalculatorCast computes HWE frequencies from allele frequencies, derives allele frequencies from observed genotype data, and performs the chi-square test for deviation from equilibrium.

Given allele frequencies p and q (where p plus q equals 1), the HWE predicts genotype frequencies: AA equals p squared, Aa equals 2pq, and aa equals q squared. These are derived from the binomial expansion of (p plus q) squared. The result is that in a randomly mating population at equilibrium, knowing just the allele frequencies fully determines the genotype frequencies.

A key practical application is estimating allele frequencies from phenotypic data when dominance prevents distinguishing AA from Aa individuals. If only the frequency of the recessive phenotype (aa) is observable, and it equals q squared under HWE, then q equals the square root of the recessive phenotype frequency. This allows estimation of both allele frequencies and carrier frequency from phenotype data alone.

For example, if a recessive genetic disorder affects 1 in 10,000 people, then aa frequency equals 0.0001, q equals 0.01, p equals 0.99, and carrier (Aa) frequency equals 2pq equals approximately 0.0198, or about 1 in 50 people. This calculation is used in genetic counseling to estimate carrier frequencies in the population.

The calculator also performs the chi-square goodness-of-fit test and reports whether the observed genotype distribution deviates significantly from HWE expectations, with interpretation of what biological processes might cause such deviation.

The Hardy-Weinberg Calculator is free on CalculatorCast and works on all devices without registration.