Hardy-Weinberg simulator
    STEP 1

    The following sequence explains how it is possible to know the allele frequencies from the proportion of homozygous recessives in the population. Suppose we know the percentage of homozygous recessive (aa) phenotypes.
  • Enter a number between 0 and 100
  • We know that the Hardy-Weinberg equilibrium equation is:
    (p+q)2 = p2 + 2pq + q2

    STEP 2

    It is equivalent to the term q2, substituting q2 = : i="value in decimal and not in percentage"
    (p+q)2 = p2 + 2pq+

    STEP 3

    To know the value of q, we get the square root of q2

    q = √ =

    Since p + q = 1, then p =


    (+)2 = 2 + 2 x x + 2

    (+)2 = + +

    STEP 4

    That is, now we know the proportions of the genotypes

    AA = %
    Aa = %
    aa = %