Hardy-Weinberg Calculator

Hardy-Weinberg Calculator

Enter either p or q. The app will calculate the missing allele frequency, then compute , 2pq, and .

Hardy–Weinberg Equation: p² + 2pq + q² = 1

Input

Enter p or q to begin.

Results

p
q
p + q
2pq
Check pending
If both p and q are entered, the calculator treats them as user-supplied values and checks whether they sum to 1.