How to use this calculator
Summarize differentiation among biallelic subpopulations using weighted expected heterozygosities.
- Enter Subpopulation frequency of allele A, Subpopulation weights. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Allele frequency heterozygosity Fst explained
Compare pooled expected heterozygosity with the weighted within-population expectation; this ratio summarizes differentiation under the stated descriptive definition.
A numerical walkthrough
Subpopulation frequency of allele A = 0.2, 0.8; Subpopulation weights = 1, 1.
- Descriptive Fst: 0.36
- Total expected heterozygosity HT: 0.5
- Within-population expected heterozygosity HS: 0.32
Equal-weight frequencies 0.2 and 0.8 pool to 0.5, giving HT=0.5. Each subpopulation has heterozygosity 0.32, so Fst=(0.5−0.32)/0.5=0.36.
The model behind the numbers
Fst=(HT−HS)/HT; HT=2pbar(1−pbar), HS=Σw·2p(1−p)
Average allele frequencies with normalized subpopulation weights. Compare pooled expected heterozygosity with the weighted within-population expectation. The displayed ratio is a descriptive population-frequency quantity, which differs from sample-corrected estimator families.
What to enter
p— Subpopulation frequency of allele A- Allele-A frequency pᵢ for each subpopulation, from 0 to 1; keep the list order aligned with the weights.
w— Subpopulation weights- Relative contribution for each matching subpopulation; weights are normalized for the pooled and within-population averages.
Interpreting the result
A descriptive heterozygosity-ratio definition, not an unbiased Weir–Cockerham sample estimator. Weights and allele frequencies must refer to consistent populations.
Frequently asked questions
Can I use sample sizes as weights?
Yes, if that weighting matches the intended population summary.
Does this estimate individual ancestry?
No.
What if the pooled locus is fixed?
HT is zero and this ratio is undefined.
How do I use the Allele frequency heterozygosity Fst calculator?
Enter Subpopulation frequency of allele A, Subpopulation weights. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Allele frequency heterozygosity Fst?
Subpopulation frequency of allele A = 0.2, 0.8; Subpopulation weights = 1, 1. Descriptive Fst: 0.36 Total expected heterozygosity HT: 0.5 Within-population expected heterozygosity HS: 0.32 Equal-weight frequencies 0.2 and 0.8 pool to 0.5, giving HT=0.5. Each subpopulation has heterozygosity 0.32, so Fst=(0.5−0.32)/0.5=0.36.
Method comparison: Weir and Cockerham, Estimating F-statistics for the Analysis of Population Structure (1984) describes sample-based F-statistic estimators; this calculator instead reports the descriptive heterozygosity ratio defined above.
Read our calculation methodology.