Pepkio Tools

Hardy-Weinberg Equilibrium Studio

Test Hardy-Weinberg equilibrium for 2–6 alleles, see De Finetti plots, and simulate drift and selection—no R or install.

What it does

Choose Calculator or Simulator. In Calculator, pick 2–6 alleles and enter observed genotype counts—or paste tab-separated values from a spreadsheet. Switch to allele frequencies for expected genotype proportions, or enter disease incidence (biallelic) to get carrier frequency (2pq).

Click Analyze for chi-square and exact test p-values, inbreeding coefficient F, a plain-language verdict, observed-vs-expected table, and a De Finetti plot (2–3 alleles) or bar chart (4+). Export PNG, SVG, CSV, or copy a methods sentence for your paper.

Simulator mode runs allele frequencies across generations with sliders for selection, drift (effective population size), mutation, and migration. Export trajectory charts and generation-by-generation data.

Why researchers use it

  • Test microsatellite and MHC loci beyond two alleles
  • Avoid hand-built chi-square and exact test spreadsheets
  • Spot inbreeding or genotyping errors with plain verdicts
  • Export De Finetti plots and methods text for papers
  • Simulate drift and selection without deprecated Flash apps

Best for

  • Microsatellite and multiallelic SNP QC checks
  • Population genetics teaching and problem sets
  • MN blood group and classic HWE examples
  • Estimating carrier risk from disease incidence
  • Modeling when HWE breaks down over generations

What makes it different

Most free web calculators only handle two alleles and return a p-value with no chart. R packages like HardyWeinberg cover multiallelic tests and ternary plots but require scripting. PLINK batch-tests genome-wide data but offers no visualization for a single locus. Science Primer handles more alleles but has no export, simulation, or interpretation layer.

This browser tool combines multiallelic HWE testing (chi-square and Guo-Thompson exact), F-statistic, De Finetti plots, plain-language verdicts, and a generation simulator with evolutionary forces—in one page, free, with PNG/SVG/CSV export and copy-ready methods text. No install or account.

Need help with bioinfo analysis? See our bioinformatics services.