Skip to content
UniKit

Baby eye colour model

A simplified two-gene model for baby eye colour: each parent contributes a main genotype (AA / Aa / aa) and a secondary genotype (BB / Bb / bb), the 16 allele combinations are equally likely, and you get brown / green / blue percentages plus the note that newborn eye colour often darkens within the first year. A probability demo, not a medical result.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Parent genotypes (father x mother, e.g. Aa|Bb x aa|Bb)

Probability distribution

The 16 allele combinations are equally likely · simplified two-gene model, not a medical result

Enter the parent genotypes to get brown / green / blue probabilities

What this tool does

  • Plug both parents’ genotypes (main gene AA / Aa / aa plus secondary gene BB / Bb / bb) into a simplified two-gene model and read off the brown / green / blue percentages for the child.
  • Use it to understand how a recessive allele skips a generation: aa|bb × aa|bb gives blue for certain, while Aa|Bb × Aa|Bb still yields 6.25% blue because both parents carry one recessive allele.
  • See the 16 allele combinations at a glance: the result reports the combination count and the three shares, so changing one letter shows the difference immediately.
  • The “newborn eye colour often darkens” note can be switched off to keep just the numbers.

Example

Input

Aa|Bb x aa|Bb

Output

褐眼 / Brown: 50%
绿眼 / Green: 37.5%
蓝眼 / Blue: 12.5%
父母基因型 / Genotypes: 父亲 / father Aa|Bb × 母亲 / mother aa|Bb
提示 / Note: 新生儿眼色常在一岁内变深;这是简化两基因模型的概率演示,不是医学结论。

Real output for that cross by enumerating all 16 equally likely allele combinations: each parent passes one main allele (Aa × aa → half Aa) and one secondary allele (Bb × Bb → 1/4 bb), and multiplying the two gives the 12.5% blue.

Frequently asked questions

What is this model based on?

A **simplified two-gene model** as commonly taught: a main locus (the familiar HERC2 / OCA2 story) written A / a with A dominant for brown, and a secondary locus written B / b where B_ gives green and bb gives blue whenever the main genotype is not A_. Each parent passes one allele at random and the four allele pairs are equally likely, so every result is a multiple of 1/16.

Is real eye colour more complicated?

Much more. Published work has identified over a dozen loci involved in eye colour (HERC2, OCA2, TYR, SLC24A4 and others), and expression and individual variation matter too, so real probabilities also depend on population allele frequencies, linkage between loci and epistasis — not on “16 equally likely combinations”. This tool exists to demonstrate the model’s logic: it explains counter-intuitive cases such as two brown-eyed parents having a blue-eyed child, but it cannot give your family’s real probability.

Can I treat the result as a medical or genetic-counselling answer?

No. It is a probability demo, not a diagnosis, and it does not replace genetic counselling or testing; do not use it to judge relatedness either. For an accurate assessment, consult a clinical geneticist.

What are the input rules?

Write it as “father main|father secondary x mother main|mother secondary”; x, × and * all work as the separator and the father must come first. The main gene accepts only AA / Aa / aa (case-sensitive, A being the dominant allele) and the secondary gene only BB / Bb / bb; omitting |secondary assumes Bb for that parent, which does change the green / blue split, so check the genotypes echoed in the result.

How are the percentages computed?

The parents’ alleles are paired up into 4 × 4 = 16 equally likely cases and classified by the rule “A_ → brown, aa with B_ → green, aa with bb → blue”, then expressed as percentages (one decimal place, exact to 0.01%). The three values therefore always sum to 100% and the combination count is always 16.

Are the genotypes I type uploaded?

No. The computation and rendering happen locally in the browser with no network requests and no storage writes; closing the page discards everything.

Keywords:Baby eye colour modelbaobao_eyecolorsofflinedeterministic

Related tools