Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Education

Genotype Frequency Calculator

· Last updated:2026-08-13

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

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Education
Input types
number
Output type
json
Sample coverage
4
API ready
Yes

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.

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

  1. 1Enter the observed counts for AA, Aa, and aa.
  2. 2The calculator adds the counts to obtain N, then divides each genotype count by N.
  3. 3It calculates p as freq(AA) + 0.5 × freq(Aa) and q as freq(aa) + 0.5 × freq(Aa).
  4. 4It 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.

Examples

1. Standard population sample

Biology student

Background

A student has observed 50 AA, 30 Aa, and 20 aa individuals in a sample.

Problem

Calculate genotype frequencies, allele frequencies, and phenotype frequencies.

How to use

Enter 50 for AA count, 30 for Aa count, 20 for aa count, and use 4 decimal places.

{"AACount":50,"AaCount":30,"aaCount":20,"decimalPlaces":4}

Outcome

N = 100; genotype frequencies are AA = 0.50, Aa = 0.30, and aa = 0.20. Allele frequencies are p = 0.65 and q = 0.35; dominant and recessive phenotype frequencies are 0.80 and 0.20.

2. Recessive disease genotype example

Genetics instructor

Background

An exercise records 64 AA, 32 Aa, and 4 aa individuals in a sample of 100.

Problem

Show the frequency of the recessive genotype and the corresponding allele frequencies.

How to use

Enter 64 for AA count, 32 for Aa count, 4 for aa count, and set decimal places to 4.

FAQ

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.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Media

Copyright-Free AAC Audio Samples

High-quality AAC encoded audio samples for testing and development, featuring nature sounds and meditation music with excellent compression

Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Education

Allele Frequency Calculator (p = (2AA + Aa) / 2N)

Compute allele frequencies from genotype counts: p = (2AA + Aa) / 2N, q = (2aa + Aa) / 2N. Derived from Hartl & Clark 2007, Griffiths, StatPearls. Educational use only.

Education

Hardy-Weinberg Equilibrium Calculator (p² + 2pq + q² = 1)

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.

Media

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.

Media

Audio Codec Swap

Change the codec of an audio file within a chosen output format

{"AACount":64,"AaCount":32,"aaCount":4,"decimalPlaces":4}

Outcome

N = 100; genotype frequencies are AA = 0.64, Aa = 0.32, and aa = 0.04. Allele frequencies are p = 0.80 and q = 0.20, with a recessive phenotype frequency of 0.04 under complete dominance.