How to use this calculator
Calculate the observed heterozygote fraction and percentage from genotype counts at a locus.
- Enter Heterozygous individuals, Total genotyped individuals. 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.
How this calculation works
Observed heterozygosity is the fraction of sampled individuals that are heterozygous at the locus under study. This calculator uses the observed genotype count directly rather than inferring the expected frequency from allele proportions.
Inputs and units
heterozygotes— Heterozygous individuals- Count of sampled individuals with a heterozygous genotype at this locus.
sampleSize— Total genotyped individuals- Positive sample count for this same locus; must be at least the heterozygote count.
Formula
Hₒ = heterozygous individuals / total genotyped individuals.
Method
Enter the number of heterozygous individuals and the total individuals successfully genotyped for the same locus and sample.
Worked example
If 18 of 60 genotyped individuals are heterozygous, Hₒ = 18/60 = 0.30, or 30%.
Assumptions and limits
This is a single-locus observed proportion. It does not estimate expected heterozygosity, allele frequencies, inbreeding, linkage, missing-genotype corrections, or uncertainty across loci.
Frequently asked questions
Is observed heterozygosity the same as expected heterozygosity?
No. Observed heterozygosity uses counted genotypes; expected heterozygosity is derived from allele frequencies under a model.
What does the calculator require?
A heterozygote count and total successfully genotyped sample size for the same locus.
Can the heterozygote count exceed the sample?
No. The calculator validates that the count is an integer between zero and the sample size.
How do I use the Observed Heterozygosity from Genotype Counts Calculator?
Enter Heterozygous individuals, Total genotyped individuals. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Observed Heterozygosity from Genotype Counts?
If 18 of 60 genotyped individuals are heterozygous, Hₒ = 18/60 = 0.30, or 30%.
Reference: Genetics reference defining observed heterozygosity as heterozygotes divided by sample size. See our calculation methodology.