Health

Allele Frequency Calculator

Hardy-Weinberg allele frequencies. Free online Allele Frequency Calculator. Calculate allele frequency online — fast, accurate, mobile-friendly, no signup neede

q
0.4
AA (p²)
0.36%
Aa (2pq)
0.48%
aa (q²)
0.16%

Derivation

  1. ├── 01Givenp = 0.6
  2. ├── 02Formulaq: 1-e.p
  3. ├── 03Substitute1-e.0.6
  4. ├── 04Compute q0.4
  5. ├── 05FormulaAA (p²): t²
  6. ├── 06Compute AA (p²)0.36
  7. ├── 07FormulaAa (2pq): 2 × t × (1-t)
  8. ├── 08Compute Aa (2pq)0.48
  9. ├── 09Formulaaa (q²): (1-e.p)²
  10. ├── 10Substitute(1-e.0.6)²
  11. └── 11Compute aa (q²)0.16
Did you know?

v = f·λ holds for every wave — sound, light, water, seismic, quantum. Heinrich Hertz demonstrated it for radio waves in 1887, five years before his early death.

§01What is

Understanding the Allele Frequency Calculator

The Allele Frequency Calculator computes q from 1 input: allele a frequency (p). Hardy-Weinberg allele frequencies.

Health metrics give us objective checkpoints against a body that can feel unreliable. Used alongside professional guidance — not in place of it — these numbers help you track progress and spot trends that matter. The Allele Frequency Calculator sits in that toolkit — it hardy-Weinberg allele frequencies. Enter your numbers above and the result updates instantly; every step of the math is shown in the Derivation panel so you can see exactly how the answer was reached.

§02The Formula

How it’s calculated

q = 1-e.p | AA (p²) = t² | Aa (2pq) = 2 × t × (1-t) | aa (q²) = (1-e.p)²

Where

p
Allele A frequency (p)
q
Output value
AA (p²)
Output value
Aa (2pq)
Output value
aa (q²)
Output value
§03Practical Example

Step-by-step walkthrough

Scenario

Apply the formula to a realistic set of inputs: Allele A frequency (p) = 0.6.

  1. 01Start by noting the input — Allele A frequency (p): 0.6.
  2. 02Substitute these values into the formula: q = 1-e.p | AA (p²) = t² | Aa (2pq) = 2 × t × (1-t) | aa (q²) = (1-e.p)²
  3. 03Compute q: the calculator returns 0.4.
  4. 04Compute AA (p²): the calculator returns 0.36.
  5. 05Compute Aa (2pq): the calculator returns 0.48.
  6. 06Compute aa (q²): the calculator returns 0.16.
  7. 07Cross-check the answer by opening the Derivation panel above — every line of math is shown so you can follow the computation end-to-end.
§04Variants

Common Allele Frequency Problems

The formula gets rearranged depending on which variable you need. Here are the patterns you’ll run into in the real world — find the one that matches your problem and follow the worked steps.

01 · PATTERN

Allele A frequency (p) halved

p = 0.3 (from 0.6)

Keep every other input at its default and halve the allele a frequency (p). See how q responds.

  1. 01New Allele A frequency (p): 0.3
  2. 02Baseline q: 0.4
  3. 03New q: 0.7
  4. 04q increases by 75% → use this sensitivity to plan for real-world variation.
02 · PATTERN

Allele A frequency (p) doubled

p = 1.2 (from 0.6)

Keep every other input at its default and double the allele a frequency (p). See how q responds.

  1. 01New Allele A frequency (p): 1.2
  2. 02Baseline q: 0.4
  3. 03New q: -0.2
  4. 04q decreases by 150% → use this sensitivity to plan for real-world variation.
§05FAQ

Frequently asked questions

Yes. The calculator implements the standard formula as documented and returns exact floating-point results. No approximations are used unless noted in the formula.
Your feedback

How useful was this calculator?

Your ratings stay in your browser — they help us learn which tools people actually rely on.

Rate it
Was this helpful?