Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Education Calculators /  Eye Color Gene Calculator
Genetics Calculators

 Eye Color Gene Calculator

Published onApril 22, 2026 Updated onOctober 21, 2026 1:18 pm

What colour eyes will a baby have? This calculator estimates the odds for brown, blue, green and hazel eyes from both parents’ eye colours, and if you know each parent’s genotype (BB, Bb or bb) it runs that exact cross instead and draws the Punnett square. One honest note before you start: real eye colour is shaped by many genes working together, mainly OCA2 and HERC2. This is a simplified one-gene teaching model, so treat the percentages as an illustration of how inheritance odds work, not as a genetic prediction.

Eye Color Gene Calculator
Baby eye colour odds from both parents’ colours, with an optional genotype mode and Punnett square

Parent 1

Parent 2

Predicted eye color probabilities
Most likely
Punnett square for this cross

Each square is one equally likely pairing of the alleles each parent passes on. In this simplified model, any child carrying a B allele shows brown eyes; bb children fall in the blue-green range shown in the probabilities above.

Results copied to clipboard.
Simplified model: real eye color is polygenic and influenced by many genes. This is an educational illustration, not a genetic prediction.

Quick Answer

For a brown-eyed parent with genotype Bb and a blue-eyed parent with genotype bb, the calculator returns Brown 50.0%, Blue 37.5%, Green 12.5%, with Brown the most likely outcome, and it draws the Punnett square for the cross. Those numbers come from a simplified one-gene model. Real eye colour is polygenic, so read them as inheritance odds for teaching, not as a prediction about a real baby.

Key takeaways

  • Colour mode reads a fixed table for the two eye colours. Genotype mode runs the exact cross, but only when both genotypes are entered.
  • A brown-eyed Bb parent carries a hidden recessive allele, which is how two brown-eyed parents can have a blue-eyed child in this model.
  • Hazel only exists in colour mode. Genotype crosses never return hazel, a stated limit of the one-gene model.
  • Real eye colour involves many genes, led by OCA2 and HERC2. No one-gene calculator can predict a real child.
On this page
  • Quick Answer
  • How to use the eye color gene calculator
  • Exactly what model this calculator runs
  • Worked example: Bb brown-eyed parent by bb blue-eyed parent
  • Full parent-pair probability table (colour mode)
  • Why real eye colour genetics is more complicated
  • What other calculators miss
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the eye color gene calculator

Choose each parent's eye colour, add genotypes only if you genuinely know them, then click Predict Eye Color. Results stay hidden until you do.

  1. Pick both eye colours: brown, blue, green or hazel for each parent. On its own, this runs colour mode.
  2. Add genotypes if known: BB, Bb or bb for each parent. Genotype mode switches on only when both are set. If one is left on Unknown, the tool quietly uses the colours instead, and the result panel tells you which mode ran.
  3. Read the bars: each bar is one colour's share, shown to one decimal place. Colours at 0% get no bar. The most likely colour is named underneath.
  4. Check the Punnett square: in genotype mode it shows all four allele pairings, tinted amber when the pairing carries a B allele and blue when it is bb.

Exactly what model this calculator runs

It runs two lookups, not a genetic simulation. Knowing which one produced your result is the difference between reading the page honestly and over-trusting it.

1. Both genotypes entered?→ 2. Yes: exact cross from the genotype table, Punnett square drawn→ 3. No: colour-table estimate for the two eye colours

Genotype mode. There are only five distinct outcomes across all nine crosses. Any cross involving a BB parent returns 100% brown. Bb by Bb returns 75% brown, 18.75% blue and 6.25% green. Bb by bb returns 50% brown, 37.5% blue and 12.5% green. bb by bb returns 75% blue and 25% green. Hazel is always zero in this mode, because the model's bb outcomes are split between blue and green only. The split itself is a modelling choice baked into the tool: a strict classroom Punnett square would call every bb child one colour, while this tool divides bb children 75/25 or 50/25 between blue and green depending on the cross.

Colour mode. With genotypes unknown, the tool reads a fixed table for the colour pairing, printed in full further down this page. Brown pairings lean brown, blue pairings lean blue, and green sits between them, following the classroom dominance ladder: brown over green and blue, green over blue. Hazel breaks the ladder. Any pairing that includes a hazel-eyed parent, including hazel with hazel, returns the same 35% brown, 10% blue, 25% green and 30% hazel split. That flat treatment is the crudest part of the model, and it is disclosed here because the table below makes it obvious anyway.

Worked example: Bb brown-eyed parent by bb blue-eyed parent

Set Parent 1 to Brown with genotype Bb and Parent 2 to Blue with genotype bb, exactly as the calculator is pre-filled, and click Predict Eye Color.

Each parent passes one allele at a time. The four equally likely pairings are Bb, Bb, bb and bb, so half the children in the model are Bb and half are bb. The tool maps Bb children to brown and splits the bb half between blue and green in a 75/25 ratio, which gives Brown 50.0%, Blue 37.5%, Green 12.5%, most likely Brown. The Punnett square under the bars shows the four pairings, with the two Bb cells tinted amber and the two bb cells tinted blue.

CheckBrownBlueGreenHazel
Genotype Bb by bb (worked example)50.0%37.5%12.5%0%
Genotype Bb by Bb75.0%18.8%6.3%0%
Genotype bb by bb0%75.0%25.0%0%
Colours only: blue by blue0%99.0%1.0%0%

Each row is a real run of this calculator, displayed the way the tool displays it, to one decimal place. Note the display rounding: the stored 18.75% and 6.25% in the Bb by Bb cross appear as 18.8% and 6.3%.

Full parent-pair probability table (colour mode)

These are the exact percentages the calculator returns in colour mode, with both genotypes set to Unknown. The order of the parents does not matter.

ParentsBrownBlueGreenHazel
Brown + Brown75.0%18.8%6.3%0%
Brown + Blue50.0%50.0%0%0%
Brown + Green50.0%0%37.5%12.5%
Brown + Hazel35.0%10.0%25.0%30.0%
Blue + Blue0%99.0%1.0%0%
Blue + Green0%50.0%50.0%0%
Blue + Hazel35.0%10.0%25.0%30.0%
Green + Green0%25.0%75.0%0%
Green + Hazel35.0%10.0%25.0%30.0%
Hazel + Hazel35.0%10.0%25.0%30.0%

Read the hazel rows carefully: they are identical by design in this tool, not a copying error in the table. If your pairing involves hazel, the model has nothing more specific to say, which is one more reason to treat colour mode as a rough illustration.

Why real eye colour genetics is more complicated

Real eye colour is polygenic, and the one-gene ladder used here is a classroom simplification of a much richer system. The U.S. National Library of Medicine's MedlinePlus Genetics primer, Is eye color determined by genetics?, explains that most eye-colour genes control the production, transport or storage of melanin, the pigment in the front layers of the iris. Brown eyes carry a large amount of melanin there; blue eyes carry very little.

Two neighbouring genes on chromosome 15 do most of the work. OCA2 produces the P protein, which helps melanosomes mature and store melanin. A regulatory segment inside HERC2, around the variant rs12913832, switches OCA2 up or down, and that single switch is the strongest known predictor of blue versus brown eyes. It is still not the whole story: MedlinePlus lists ASIP, IRF4, SLC24A4, SLC24A5, SLC45A2, TPCN2, TYR and TYRP1 as further contributors, and research cohorts keep finding smaller modifiers around the main switch.

That is why the exceptions exist. Two blue-eyed parents can, rarely, have a brown-eyed child, because other genes can restore enough melanin production even when the main switch points to blue. Eye colour also sits on a continuum rather than in four tidy boxes, and it can shift in infancy as melanin builds up. If you want the general probability ideas behind crosses like these, our compound probability calculator combines independent events step by step, the coin flip probability calculator covers the same 50/50 logic as a single allele draw, and the conditional probability calculator shows how odds change once part of the outcome is known.

Disclaimer: This tool illustrates a simplified one-gene model of eye colour inheritance for educational purposes. Real eye colour is polygenic and influenced by many genes plus developmental factors. Results are not medical advice and cannot predict, diagnose or confirm anything about a real child.

What other calculators miss

Most baby eye colour tools ask for two colours, return a chart, and present it with more confidence than the science supports. The review behind this page found the same gaps repeatedly:

  • Colour-only tools with no genotype route (CareForCuties and similar chart pages): helpful grandparent discussion, but the calculator itself never lets you enter a known genotype, so a Bb parent and a BB parent get the same answer.
  • Single-outcome Punnett tools (Calculator.city eye genetics pages): a clean BB/Bb/bb square that returns only brown or blue. Correct classroom maths, but no green or hazel outcomes and no colour-mode table for parents who do not know their genotypes.
  • Elaborate allele-chain tools (punnettsquare.org): a six-allele dominance chain with downloadable squares. Richer than this page's model, and worth knowing about, but harder for a first-time reader to audit, and still a simplification presented without a full published table.
  • The gap this page fills: both routes on one page, the exact model stated in plain language including its weakest points (the flat hazel rows, the missing hazel in genotype mode, the single-genotype ignore rule), the Punnett square drawn for your cross, and the complete colour table published so any result can be checked without running the tool.

Frequently asked questions

In this calculator's simplified model, no: blue plus blue returns 99.0% blue and 1.0% green, with no brown. In real genetics it is extremely unlikely but not impossible, because eye colour is polygenic and several genes can shift the result. Treat the model's zero as a teaching simplification, not a guarantee about a real family.

Because real eye colour is polygenic. Many genes contribute, with OCA2 and a regulatory region inside HERC2 on chromosome 15 doing most of the work, and smaller effects from genes such as TYR, SLC45A2 and IRF4. This tool reduces all of that to one gene with BB, Bb and bb genotypes, plus a fixed colour table, so the inheritance pattern is easy to see. The pattern is broadly right; the exact percentages for any real child are not.

Eye colour alone cannot tell you which hidden alleles a brown-eyed parent carries. If both parents' genotypes are known, for example Bb and bb, the calculator uses that exact Mendelian cross instead of the colour table, and it draws the Punnett square for the cross. If only one genotype is entered, the tool ignores it and uses the two eye colours, because a single known genotype is not enough to run the cross.

Because the one-gene model in this tool has no hazel outcome. Genotype crosses only ever return brown, blue and green, so hazel is always 0.0% there. Hazel appears only in colour mode, where any pairing involving a hazel-eyed parent returns the same fixed split of 35.0% brown, 10.0% blue, 25.0% green and 30.0% hazel. That is a known limit of the simplified model, stated here rather than hidden.

Often not. Many babies are born with blue or grey eyes because melanin production in the iris is still ramping up, and the colour can deepen over the first months of life, sometimes into the second year. A result from this calculator describes the genetic tendency in the model, not the colour you will see in the delivery room.

No. It is an educational illustration of inheritance odds using a one-gene teaching model. It cannot diagnose anything, confirm or exclude parentage, or predict an individual child's eye colour with certainty. Anyone who needs a real answer about parentage or a genetic condition needs proper genetic testing and medical advice, not a probability table.

In the model, because a brown-eyed parent can be Bb rather than BB, carrying a hidden recessive allele. Two Bb parents produce BB, Bb, Bb and bb pairings, so one child in four on average is bb and falls in the blue-green range. This calculator's Bb by Bb cross returns 75.0% brown, 18.8% blue and 6.3% green, splitting the bb quarter between blue and green.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. MedlinePlus Genetics, U.S. National Library of Medicine. Is eye color determined by genetics?. Accessed October 21, 2026.
  2. MedlinePlus Genetics, U.S. National Library of Medicine. OCA2 gene. Accessed October 21, 2026.
  3. National Center for Biotechnology Information, U.S. National Library of Medicine. HERC2 gene record, NCBI Gene ID 8924. Accessed October 21, 2026.
  4. MedlinePlus Genetics, U.S. National Library of Medicine. What are the different ways a genetic condition can be inherited?. Accessed October 21, 2026.
  5. National Center for Biotechnology Information. OCA2 gene record, NCBI Gene ID 4948. Accessed October 21, 2026.
  6. Eiberg, H. et al. Blue eye color in humans may be caused by a perfectly associated founder mutation in a regulatory element located within the HERC2 gene inhibiting OCA2 expression, Human Genetics (2008). Accessed October 21, 2026.
  7. Visser, M., Kayser, M. and Palstra, R.-J. HERC2 rs12913832 modulates human pigmentation by attenuating chromatin-loop formation between a long-range enhancer and the OCA2 promoter, PLoS Genetics (2012). Accessed October 21, 2026.
  8. Liu, F. et al. Digital quantification of human eye color highlights genetic association of three new loci, PLoS Genetics (2010), PMC full text. Accessed October 21, 2026.
  9. Lona-Durazo, F. et al. Investigating the genetic architecture of eye colour in a Canadian cohort, PMC full text. Accessed October 21, 2026.
  10. Khan Academy. Punnett squares and probability. Accessed October 21, 2026.

We use cookies to analyze traffic and to serve ads that keep our calculators free. You can accept or decline cookies below. Learn more

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search