How to use the selection allele frequency change calculator
Compute allele frequency after one generation of selection against recessives. Enter recessive allele frequency q, selection coefficient s in the fields above; the new q, change in q are computed instantly and plotted on the chart so you can see how the answer changes.
Formula
Variables
- q — Recessive allele frequency q
- s — Selection coefficient s
Worked example
With recessive allele frequency q = 0.3, selection coefficient s = 0.2, the calculator gives new q ≈ 0.287169; change in q ≈ -0.01283096.
Frequently asked questions
What is the formula for the selection allele frequency change calculation?
New q = (q-s × q × q) / (1-s × q × q). Change in q = [New q]-q. Here q is recessive allele frequency q, s is selection coefficient s.
What inputs do I need for the selection allele frequency change calculator?
You need recessive allele frequency q, selection coefficient s. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use this calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.