# Genotype Frequency Calculator

Compute genotype frequencies from counts: freq = count / N. Also derives allele and phenotypic frequencies. Derived from Hartl & Clark 2007, Griffiths, StatPearls. Educational use only.

> Canonical page: https://test.elysiatools.com/en/tools/genotype-frequency-calculator

- **Category:** Education

- **Keywords:** genotype frequency, genotype frequency calculator, genotype count, biallelic, aa frequency, aa frequency, phenotype frequency, population genetics, genetics, biology

## Overview

The Genotype Frequency Calculator computes AA, Aa, and aa frequencies from observed genotype counts, then derives allele frequencies p and q and phenotype frequencies under complete dominance. It is intended for educational use.

## Inputs

- **AA count (homozygous dominant)** (number): Observed count of genotype AA.
- **Aa count (heterozygous)** (number): Observed count of genotype Aa.
- **aa count (homozygous recessive)** (number): Observed count of genotype aa.
- **Decimal Places** (number)

## When to use

- Calculate genotype frequencies from AA, Aa, and aa counts in a population sample.
- Derive allele frequencies p and q for a biallelic locus.
- Report dominant and recessive phenotype frequencies under complete dominance.

## How it works

- Enter the observed counts for AA, Aa, and aa.
- The calculator adds the counts to obtain N, then divides each genotype count by N.
- It calculates p as freq(AA) + 0.5 × freq(Aa) and q as freq(aa) + 0.5 × freq(Aa).
- It reports dominant phenotype frequency as AA + Aa and recessive phenotype frequency as aa, using the selected decimal places.

## Use cases

- Population genetics lessons that compare observed genotype proportions.
- Biology exercises involving allele-frequency calculations from sample counts.
- Classroom demonstrations of dominant and recessive phenotype frequencies.

## Frequently asked questions

### What inputs are required?

Enter counts for AA, Aa, and aa. Decimal places are optional and default to 4.

### What does N represent?

N is the total sample count: AA count + Aa count + aa count.

### How are genotype frequencies calculated?

Each genotype frequency equals its observed count divided by N.

### What do p and q represent?

p and q are the calculated frequencies of the two alleles at the biallelic locus.

### Can this calculator be used for medical diagnosis?

No. It is provided for educational use only.

## Related tools

- [Allele Frequency Calculator (p = (2AA + Aa) / 2N)](https://test.elysiatools.com/en/tools/allele-frequency-calculator): Compute allele frequencies from genotype counts: p = (2AA + Aa) / 2N, q = (2aa + Aa) / 2N. Derived from Hartl & Clark 2007, Griffiths, StatPearls. Educational use only.
- [Hardy-Weinberg Equilibrium Calculator (p² + 2pq + q² = 1)](https://test.elysiatools.com/en/tools/hardy-weinberg-equilibrium): Compute allele and expected genotype frequencies under Hardy-Weinberg equilibrium. Two modes: allele frequency or genotype counts with chi-square test. Derived from Hardy 1908, Weinberg 1908, Wigginton 2005, StatPearls. Educational use only.
- [Audio Melody Contour Extractor](https://test.elysiatools.com/en/tools/audio-melody-contour-extractor): Extract a dominant melody path from audio and export MIDI, note events, a pitch contour, SVG, and JSON in one ZIP.
- [Audio Codec Swap](https://test.elysiatools.com/en/tools/audio-codec-swap): Change the codec of an audio file within a chosen output format
- [Lossy Codec Preview Compare](https://test.elysiatools.com/en/tools/audio-lossy-preview-compare): Hear and measure what streaming does to your master: encode to MP3, AAC or Opus at real streaming bitrates, decode back, and compare loudness shift, true-peak overshoot and headroom against the original — the Apple Digital Masters round-trip audition as a report plus downloadable preview files.
- [Audio to Multitrack MIDI (Draft)](https://test.elysiatools.com/en/tools/audio-to-multitrack-midi): Split a full mix into stems (drums/bass/other/vocals) and transcribe each to MIDI — a multi-track starting point for transcription
- [DTMF Decoder](https://test.elysiatools.com/en/tools/audio-dtmf-decoder): Detect DTMF touch-tone digits in any recording and recover the keypad sequence with timestamps. Goertzel filter bank per ITU-T Q.23/Q.24 — measures both tone frequencies, twist and duration for every keypress.
- [Audio to Text Transcriber (AI)](https://test.elysiatools.com/en/tools/audio-to-text-transcriber): Transcribe speech from audio (wav/mp3/m4a/flac/ogg/webm/aac) to text, SRT, VTT or JSON using the grok-stt AI model. Up to 10 minutes.

## Samples

- [Web Image Processing Python Samples](https://test.elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Copyright-Free AAC Audio Samples](https://test.elysiatools.com/en/samples/aac-samples): High-quality AAC encoded audio samples for testing and development, featuring nature sounds and meditation music with excellent compression
- [Android Image Processing Java Samples](https://test.elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://test.elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
