X-DNA Inheritance Calculator
X-DNA inheritance calculator. See exactly which of your ancestors could have contributed to your X chromosome, with their Ahnentafel numbers and the expected share each one gave — and how many of your ancestors are ruled out entirely. Works for men and women, up to twelve generations back.
X-DNA Inheritance Calculator
X-ancestors per generation
The ancestors themselves
| Sosa | Sex | Path from you | Expected X |
|---|
Look up an Ahnentafel number
How to use the X-DNA calculator
Say whether you are male or female
It changes everything. A man has no X-ancestors at all on his father’s side; a woman has them on both sides. At ten generations a woman has 144 and a man 89.
Choose how far back to look
The headline compares the ancestors who could have given you X against the full 2n at that generation. The gap widens fast: by ten generations fewer than one ancestor in ten is even eligible.
Read the list
Every eligible ancestor is listed with its Ahnentafel number, its sex, the mother-and-father path from you, and the share of your X it is expected to have contributed. The shares always add to 100%.
Test a specific ancestor
Have a Sosa number from your tree software? Enter it in the lookup and the tool gives the path it stands for and whether that person can have contributed to your X at all.
The chromosome that rules ancestors out
Most genetic genealogy works by inclusion: a shared segment tells you two people are related somewhere, and the work is finding out where. The X chromosome works the other way. It travels by rules strict enough that most of your family tree is disqualified from carrying it, and that makes an X match one of the sharpest instruments available.
The rules are short. A man has one X and it came entirely from his mother, because his father handed him a Y instead; he passes that X, unchanged, to every daughter and to no son. A woman has two X chromosomes, one from each parent, and passes a recombined mixture to every child. Everything else follows. Your father’s father cannot appear anywhere in your X ancestry — nor can his father, nor any of that whole quarter of your tree if you are a man.
Why the count is a Fibonacci sequence
Follow the rules up a generation at a time and a pattern appears. Each man in the tree adds one ancestor above him who could have carried X — his mother. Each woman adds two, her mother and her father. So the count at any generation is the sum of the two counts before it, which is the Fibonacci rule exactly. A man’s numbers run 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89; a woman’s are the same sequence one step further along.
Set that against 2n and the contrast is stark. Ten generations back you have 1,024 ancestral slots. If you are a man, 89 of them could have given you part of your X and 935 could not. That single fact is what makes a shared X segment worth so much more than a shared autosomal one of the same length: it points at a named, countable, small set of lines.
Ten generations back a man has 1,024 ancestors and 89 of them could have given him his X. The other 935 are ruled out before you start.
Ahnentafel numbers, and why they are worth learning
The list here gives every X-ancestor an Ahnentafel number, sometimes called a Sosa or Sosa-Stradonitz number. You are 1, your father is 2, your mother is 3, and the rule from there is simply that any person’s father is twice their number and their mother twice plus one. Every even number above 1 is a man; every odd number a woman. The scheme goes back to Michaël Eytzinger in 1590, was popularised by Kekulé von Stradonitz around 1898, and — a nice footnote — Francis Galton set out the same idea in Nature in 1883.
It matters here because genealogy software speaks it. Once you know that ancestor 22 is your father’s mother’s mother’s father, you can carry the X constraint straight into your own files without redrawing anything.
Using it against a real match
23andMe and FamilyTreeDNA report X matches directly, and GEDmatch will show X segments for uploaded data. When you find one, print the list on this page for your sex and depth and compare it against the other person’s tree. Every ancestor of theirs outside your list can be set aside at once. In practice that usually cuts a search from hundreds of candidate lines to a handful — and unlike most shortcuts in this field, it is a deduction rather than a guess.
10 facts about X-chromosome inheritance
A man inherits his single X entirely from his mother.
A man’s father contributes none of his X — he gave the Y instead.
A woman’s paternal X comes wholly from her paternal grandmother.
The count of X-ancestors per generation follows the Fibonacci sequence.
Ten generations back a man has 89 X-ancestors out of 1,024.
A woman has one more generation of X-ancestors than a man, always.
Your father’s father can never appear anywhere in your X-ancestry.
Ahnentafel numbering dates to 1590 and doubles at every generation.
Francis Galton described the same numbering in Nature in 1883.
X-DNA matching narrows a search to a small, named slice of a family tree.
Frequently asked questions
-
Two rules produce everything else. A man has one X and it came entirely from his mother, because his father gave him a Y instead; he passes that X unchanged to every daughter and to no son. A woman has two X chromosomes, one from each parent, and passes a recombined mixture of them to every child. Follow those rules up a family tree and most branches close off.
-
Because of how the two rules compose. Each man in the tree contributes one X-ancestor in the generation above him — his mother — while each woman contributes two, her mother and her father. So the count at each generation is the previous count plus the one before it, which is the Fibonacci rule exactly. A man’s counts run 1, 1, 2, 3, 5, 8, 13, 21, 34; a woman’s begin one step further along.
-
It is a numbering scheme for ancestors: you are 1, your father is 2, your mother is 3, and from then on any person’s father is twice their number and their mother twice plus one. Every even number above 1 is a man and every odd number a woman. It dates to Michaël Eytzinger in 1590, was popularised by Kekulé von Stradonitz in 1898, and Francis Galton described the same idea in Nature in 1883.
-
Because it rules ancestors out. An ordinary autosomal match could come from any of your ancestors, but an X match can only come from the small subset shown here — so a shared X segment narrows the search to a named handful of lines rather than the whole tree. That is a much stronger constraint than any autosomal figure gives you.
-
They are expected shares, not measured ones. A man’s X comes half from his maternal grandmother and half from his maternal grandfather on average, because his mother recombined her two X chromosomes before passing one on. A woman’s paternal X, by contrast, is a fixed 100% from her paternal grandmother — her father had only the one X and passed it whole. The shares at any generation always add to 100%.
-
In women, yes: her two X chromosomes exchange material before one is passed on. In men, no — he has only one X and no second copy to recombine with, apart from the small pseudoautosomal regions at the tips. This is why an X passes from a father to his daughter intact, and why X segments tend to survive more generations unbroken than autosomal ones.
-
The rules are the same but the answers differ, and the difference is large. A woman has X-ancestors on both sides of her tree; a man has none at all on his father’s side, because he did not get an X from his father. At ten generations a woman has 144 X-ancestors where a man has 89, and none of a man’s are on his paternal side.
-
Yes, if your test reports X matches — 23andMe and FamilyTreeDNA do, and GEDmatch shows X segments for uploaded data. Take the list of X-ancestors here and check it against the trees of anyone you share X segments with. Ancestors outside this list can be set aside immediately, which is usually the fastest progress available.
-
Twelve generations, at which point a woman has 377 X-ancestors and a man 233, out of 4,096 ancestors each. Beyond that the shares become so small that the arithmetic stops being useful — and pedigree collapse means the real ancestors at that depth are far fewer than the theoretical count anyway.
-
Completely free, with no account and no limit. It runs entirely in your browser, so nothing you enter is sent anywhere, and it keeps working offline once the page has loaded.
Pick up where you left off
Stored only in this browser — never sent to our servers.