Genetics & Inheritance

Observed Allele & Genotype Frequency Calculator

Count alleles from observed diploid genotypes or entered allele-copy totals. Compare records and calculate weighted pooled frequencies without assuming equilibrium.

Biology · experimental measurements

Keep measured genotype proportions and allele-copy proportions on their correct denominators.

Private calculations in your browser · explicit inputs and model boundaries
Example preview · Unequal sample sizesObserved a-allele frequency in each counted record
Sample A · 200 counted copies40 % a
Sample B · 40 counted copies75 % a

Each bar uses its own observed copy denominator. The pooled frequency weights records by their copy totals instead of averaging the displayed percentages.

  1. 1EnterProvide the known values
  2. 2CalculateResults update automatically
  3. 3VerifyReview the details and units
Try an example

One row: unique record name, AA count, Aa count, aa count. Counts include typed individuals only.

Calculation result

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Feedback

Understand the relationship

The reasoning behind the result

Genotypes count individuals; alleles count copies

p = (2nAA+nAa)/(2N); q = (2naa+nAa)/(2N)

Each AA individual contributes two A copies, each Aa contributes one of each, and each aa contributes two a copies. Dividing by 2N gives allele frequencies for the typed diploid sample. Dividing each genotype count by N gives observed genotype frequencies.

A sample consisting entirely of heterozygotes has p=q=0.5 and an observed Aa frequency of 1. The Hardy–Weinberg expectation at those allele frequencies would be 0.5 Aa, but replacing the observed value with that expectation would erase the data.

Pooling uses counts before division

A ten-copy record and a hundred-copy record do not get equal weight in a pooled frequency. Add the allele counts across compatible records, then divide by their combined total. The table preserves each record so differences remain visible.

The pooled result is a descriptive tally. Mixed populations, repeated individuals, inconsistent allele definitions or incompatible sampling can make a pooled biological interpretation inappropriate.

Direct allele counts cannot reconstruct genotypes

Knowing A and a copy counts determines p and q. It does not reveal how the copies are paired into individuals: the same counts can come from different numbers of homozygotes and heterozygotes. The direct-count mode therefore omits genotype proportions and an inferred number of individuals.

These tools support two specified alleles. Missing calls, genotype uncertainty, sequencing errors, mixed ploidy and additional alleles require an appropriate analysis method before entering counts.

Follow the numbers

Why two record percentages cannot simply be averaged

  1. Sample A has 40 AA, 40 Aa and 20 aa: 120 A copies and 80 a copies.
  2. Sample B has 0 AA, 10 Aa and 10 aa: 10 A copies and 30 a copies.
  3. The pooled totals are 130 A copies and 110 a copies, across 240 copies.
  4. The pooled a frequency is 110/240=45.833333…%. The unweighted mean of 40% and 75% would incorrectly give 57.5%.

The count-weighted result preserves the larger first sample's contribution without concealing the record-level difference.

Quick guide

How to use this calculator

  1. Choose observed diploid genotype counts or direct allele-copy counts.
  2. Keep the same A/a allele definitions across records and exclude untyped observations from these denominators.
  3. Read record-level frequencies before the pooled summary. Pooling is count-weighted and does not establish that records represent one biological population.

Calculation method

Calculation and interpretation

Keep measured genotype proportions and allele-copy proportions on their correct denominators.

A copies=2nAA+nAa; a copies=2naa+nAa; p=A/(A+a), q=a/(A+a). Observed genotype frequency=nGenotype/Ntyped.

Worked example

Why two record percentages cannot simply be averaged

The count-weighted result preserves the larger first sample's contribution without concealing the record-level difference.

A copies=2nAA+nAa; a copies=2naa+nAa; p=A/(A+a), q=a/(A+a). Observed genotype frequency=nGenotype/Ntyped.

Supported inputs

Precision and limits

Observed arithmetic only

No Hardy–Weinberg equilibrium, population representativeness, inheritance pattern, ancestry, disease risk or clinical interpretation is inferred.

Compatible typed counts

Use up to 100 uniquely labelled records and nonnegative whole counts, with at least one observed copy per record. Genotype mode requires diploid two-allele observations. Direct copy mode does not infer ploidy or genotype pairing.

Continue calculating

Related calculators