Allele Frequency Calculator

The allele frequency is calculated using the Hardy-Weinberg equation:

\[ p^2 + 2pq + q^2 = 1 \]

Where:

\( p^2 \) = Frequency of people with two healthy alleles

\( 2pq \) = Frequency of carriers (one healthy and one impaired allele)

\( q^2 \) = Frequency of people with two impaired alleles (the disease)

Inputs