Educational biology content — not medical advice.

Tools · calculator

Hardy–Weinberg Calculator

Solve p, q, p², 2pq, and q² for common missing-value scenarios.

Instructions

Provide one known frequency; the calculator derives the rest under HWE.

Sequences are limited to 20000 characters after cleaning. Shareable URLs encode at most 400 characters.

Interactive tool

Enter any one known value (others may be left blank).

Example

Try the built-in example button in the tool panel, or use classroom sequences such as ATGGAGTTTTAA for DNA tools and Aa × Aa for Punnett squares.

How to interpret results

Results are deterministic educational calculations based on standard molecular biology and Mendelian rules. Read warnings and assumptions printed with each result. These tools do not provide clinical, diagnostic, or research-grade sequence interpretation.

Biological background

Solve p, q, p², 2pq, and q² for common missing-value scenarios. Connect the outputs to the related learning topics below for packaging, expression, or inheritance context.

Limitations

  • Deterministic classroom models only — not AI guesses and not clinical advice.
  • Ambiguous IUPAC bases, alternative genetic codes, linkage, and epigenetic effects are out of scope unless a tool explicitly states otherwise.
  • Sequence length and request size are limited to protect the server.
  • Huge sequences are not placed into shareable URLs.

Related learning topics

Related tools

Continue on Chromatin.net

Source / methodology note

Calculators use verified deterministic rules (Watson–Crick base pairing, the standard genetic code, Mendelian Punnett logic, and Hardy–Weinberg algebra). Explorers use Chromatin.net’s educational content model. See methodology.