DNA Profile Match Probability Lab

Explore how allele frequencies and Hardy Weinberg genotype rules combine into an educational random match probability for a small STR profile.

Build a profile

Use a classroom preset or open each locus to edit the alleles and their population frequencies.

5 loci
D3S1358 15 / 16
vWA 16 / 17
FGA 21 / 24
D8S1179 12 / 13
TH01 6 / 9.3

Educational simulator. It does not identify a person, validate a case, or replace a laboratory calculation.

Signal trace

Profile trace

Two peaks show the two alleles entered for each locus. Peak height is a visual cue for frequency, not a lab signal.
Allele A Allele B Peak height scales with entered frequency
Random match probability -

-

-

-

Locus by locus calculation
LocusGenotypeRuleGenotype frequency
D3S135815 / 162pq4.16%
vWA16 / 172pq7.92%
FGA21 / 242pq1.54%
D8S117912 / 132pq6.00%
TH016 / 9.32pq11.34%
Zoom 100%
Utilities Studio

Want this utility on your website?

Customize colors and dark mode for WordPress, Notion or your own site.

Frequently Asked Questions

What does random match probability mean?

It is the estimated probability that a randomly selected unrelated person would have the entered profile under the selected allele frequencies and assumptions. It is not the probability that a person is guilty or that a sample came from a particular person.

How is a genotype frequency calculated?

For a homozygote the simulator uses p squared. For a heterozygote it uses 2pq, where p and q are the entered allele frequencies. The locus frequencies are then multiplied across the profile.

Why are the preset frequencies synthetic?

The presets are deliberately small classroom examples. Real forensic work needs a validated, representative population database, documented sampling, uncertainty estimates, and laboratory review.

Can this tool compare two people or identify a DNA sample?

No. It does not accept biological samples, compare two profiles, search a database, or identify anyone. It only explores a mathematical model from values you enter.

Why is a very small probability not a verdict?

A random match probability depends on the population database, the independence assumptions, the quality of the profile, and how the person was selected. A forensic conclusion also needs propositions, validation, context, and qualified interpretation.

# DNA Profile Match Probability Calculator

This DNA profile match probability lab helps students and curious readers explore how a small autosomal STR profile becomes a probability under a simplified population genetics model. Enter two alleles and their frequencies for each locus. The calculator applies the Hardy Weinberg genotype rule and multiplies the locus frequencies to show a classroom random match probability.The interface keeps the calculation visible: the trace shows the entered alleles, the table shows each genotype frequency, and the final result is expressed as one in a power of ten. The frequencies in the presets are synthetic teaching values, not an official population database.

# How the Genotype Rule Works

Profile pattern Calculation Meaning
Two copies of one alleleThe allele frequency is multiplied by itself.
Two different alleles2pqThe two allele frequencies are multiplied and doubled.
Several independent lociProduct of locus valuesEach locus contributes to the combined profile frequency.

# Why Population Frequencies Matter

Allele frequencies are estimates from population databases. The relevant population, sampling method, database size, substructure, relatedness, and validation all affect how confidently a genotype frequency can be used. A synthetic preset can demonstrate the arithmetic, but it cannot stand in for a validated forensic database.The result is best understood as a conditional statement: if the entered frequencies describe the relevant population, if the profile is a clean single source, and if the loci are treated as independent, then the product estimates how often that profile could appear in unrelated random people. Changing any of those assumptions can change the interpretation. The tool intentionally keeps the data editable so that this dependency is visible rather than hidden behind a single authoritative looking number.In a real case, analysts also document how a profile was selected, whether a database search influenced the investigation, whether the sample is a mixture, and whether relatives or population substructure need special treatment. Those questions are outside this small laboratory. Use the trace and table to explain the arithmetic, then use the limitations to explain why arithmetic alone is not a forensic opinion.
  • Use one population context: Do not mix frequencies from unrelated databases.
  • Keep assumptions visible: This lab assumes unrelated contributors and simplified independence between loci.
  • Separate probability from identity: A rare profile is not a statement about guilt, source, or legal certainty.
  • Document the data: A formal report needs the source, population, method, uncertainty, and interpretation.

# Educational Limits

Use this as a model, not a verdict
This calculator does not analyse electropherograms, model mixtures, correct for population substructure, apply theta corrections, estimate likelihood ratios, or search a DNA database. It is for learning how simple genotype frequencies combine.

Bibliographic References