CalcWorldHub
Free online calculator · no signup

Expected heterozygosity from allele frequencies calculator

Estimate gene diversity at a locus from its allele-frequency distribution. Enter your values below to see the result and method.

A better way to figure it out
Clear
inputs.
∑
Clear result · useful details
Free calculatorNo signup ✓

Related calculators

Browse biology calculators →

Expected heterozygosity from allele frequencies calculator — Allele 1 frequency p₁, Allele 2 frequency p₂, Allele 3 frequency p₃ and calculation method
Expected heterozygosity from allele frequencies calculator: inputs and calculation method.

How to use this calculator

Estimate gene diversity at a locus from its allele-frequency distribution.

  1. Enter Allele 1 frequency p₁, Allele 2 frequency p₂, Allele 3 frequency p₃. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Free calculator guide

State the inheritance or population assumptions

Expected heterozygosity summarizes allele diversity at one locus from the frequencies of its alleles. Estimate gene diversity at a locus from its allele-frequency distribution.

Inputs and units

Genetics formula and example

Hₑ = 1 − Σpᵢ².

Allele frequencies 0.5, 0.3 and 0.2 give Hₑ=0.62.

Under the stated model, expected heterozygosity is 1−Σpᵢ²; a more even distribution of allele frequencies generally raises this diversity measure.

Interpreting the expectation

Hₑ is a frequency-based population expectation; finite-sample fluctuation and departures from the random-union model are not included.

Assumptions and limitations

The listed frequencies must sum to 1; this is expected heterozygosity under random union of gametes, not observed sample heterozygosity.

Source and method

The allele-frequency model uses the probability that two sampled copies differ; the linked section explains p²+2pq+q² for a two-allele locus. OpenStax Biology 2e — Population Evolution.

Frequently asked questions

What should I enter for the expected heterozygosity from allele frequencies?

Enter Allele 1 frequency p₁, Allele 2 frequency p₂, Allele 3 frequency p₃. Use the units shown beside each field and values from the same sample or model.

Which assumptions matter for this expected heterozygosity from allele frequencies?

The listed frequencies must sum to 1; this is expected heterozygosity under random union of gametes, not observed sample heterozygosity.

How is expected heterozygosity different from Shannon diversity?

Expected heterozygosity is the probability that two randomly sampled allele copies differ. Shannon diversity weights each allele frequency by its logarithm, so it measures diversity on a different scale.

How do I use the Expected heterozygosity from allele frequencies calculator?

Enter Allele 1 frequency p₁, Allele 2 frequency p₂, Allele 3 frequency p₃. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Expected heterozygosity from allele frequencies?

Hₑ = 1 − Σpᵢ². Allele frequencies 0.5, 0.3 and 0.2 give Hₑ=0.62. Under the stated model, expected heterozygosity is 1−Σpᵢ²; a more even distribution of allele frequencies generally raises this diversity measure.