Genetics Calculators
Genetics analysis tools
Every tool below opens instantly and runs entirely in your browser — nothing is uploaded, stored or logged.
- Hardy-Weinberg CalculatorHardy-Weinberg calculator: allele and genotype frequencies from counts or disease rates, with the chi-square test, exact test, F and a 95% interval.
- Punnett Square CalculatorPunnett square calculator for mono- and dihybrid crosses, plus carrier risk across children, X-linked and linked-gene crosses with exact probabilities.
Inheritance questions look like one tool — draw the square, read the ratio — but the answers people actually need split into different kinds of arithmetic. A square counts zygotes. A family question counts births. A counseling question starts from something already known about a person and has to throw away the outcomes that knowledge excludes. And two genes on the same chromosome stop being a counting problem at all and become a measurement problem. This collection keeps those kinds of arithmetic apart instead of blending them into one ratio generator, and every calculation runs locally in your browser; nothing you type is uploaded.
From Two Known Parents to a Probability
The Punnett square calculator starts where the textbook starts: both parental genotypes are given, and the grid is built by multiplying the gametes each parent can offer. One gene gives four equally likely zygotes, two independently assorting genes give sixteen, and it goes on to four genes. Underneath each percentage the exact box count is printed — nine out of sixteen, not 56.25% floating without a denominator — so you can check a homework answer against the square itself. Complete, incomplete and codominant expression are selectable, which changes only how the boxes are labeled, never how they count. The companion guide to reading a Punnett square walks the margins, the boxes and the point where genotype and phenotype ratios diverge.
The Questions a Grid Cannot Answer
Three inputs on the same page exist because the square is silent on them. Risk across several children treats each birth as an independent draw, so a couple with a 25% per-pregnancy figure and three children faces 57.8% that at least one is affected — two true numbers answering different questions, and mixing them up is the most common error in this whole subject. Conditional probability starts from what is already observed: an unaffected sibling of an affected person is a carrier with probability 2/3, not the 1/2 the raw square suggests, because the affected box no longer belongs in the denominator. The reverse direction — how much two healthy children should lower a couple’s prior carrier chance — is a Bayes update, and the calculator shows the prior, the likelihood and the posterior side by side rather than quietly substituting one for the other.
Sex-linked and linked-gene crosses break the square’s assumptions in two different ways. An X-linked recessive allele lands unequally on sons and daughters, so results are quoted within each sex (50% of sons) and again across pregnancies (25% of children) instead of averaged. Two genes close together on one chromosome stop producing four equal classes; their sizes are set by a recombination fraction you supply, and the deviation is what a map distance in centiMorgans means. The calculator refuses a recombination frequency of 50%, because at that point the cross is indistinguishable from independent assortment and there is no linkage to report.
From a Population Rather Than a Pair
A different question arrives with different evidence: not two parents but a typed sample, or a disease rate, or a screening figure in a leaflet. The Hardy-Weinberg calculator answers that one — allele frequencies counted from genotype classes, the squared proportions a population should show, and the chi-square that decides whether your sample deviates, reported at the degrees of freedom the locus actually has. Beside the test it prints what the usual frequency converters leave out: the inbreeding coefficient F with its sign, so a heterozygote deficit is distinguishable from an excess; the exact test and the sample size a locus needs before either test means anything; a 95% interval on the estimate; and the two inversions people most often confuse, a recessive rate read through q = √(affected) and a dominant one read through the unaffected fraction. X-linked loci are handled as their own mode, because a male rate is q itself while a female rate is q². The companion guide to the equation works through all five directions.
From Inheritance to the Bench
The same alleles show up as physical material in the laboratory, and the quantitation side is already in this suite. DNA concentration converts an absorbance reading into a usable stock, DNA molecular weight works out the mass of a fragment from its length, and GC content summarizes a sequence’s base composition. If the question is which features sit on a molecule and how far apart they are in base pairs — a restriction map, not a genetic map — the restriction site finder answers from the sequence itself. Note that a genetic map distance measured in centiMorgans and a physical one measured in base pairs are different quantities, and the two tools do not convert into each other.
What Is Deliberately Not Here
A cross between two known parents and an allele frequency across a population are different models with different assumptions, and search results routinely collapse them onto one page. This collection keeps them on separate pages: the square predicts a child from genotypes you supply, while the Hardy-Weinberg calculator predicts a sample from frequencies and then tests the fit. Neither is a diagnostic test. Nothing here can establish whether a specific person is a carrier — that comes from assay or pedigree — and none of these numbers should carry a real reproductive decision, which belongs with a genetic counselor who has the family history in front of them. Polygenic traits, mitochondrial inheritance, imprinting and repeat expansions are outside every model on this page.