Skip to content
Memoroots
Join

Ahnentafel calculator: your ancestors by number

Updated October 26, 2026

Number 13 is your great-grandmother:

Your mother’s father’s mother

Generation 4

Move through the tree

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Fathers on the left of each pair, mothers on the right. Choose a number to see who it is.

How many ancestors do you have?

Each generation doubles. The last column assumes about 30 years between generations, starting from your own year of birth.

Generation Who In this generation Total so far Their numbers Born around
2 Parents 2 2 2 – 3 1960
3 Grandparents 4 6 4 – 7 1930
4 Great-grandparents 8 14 8 – 15 1900
5 Great-great-grandparents (2nd great-grandparents) 16 30 16 – 31 1870
6 3rd great-grandparents 32 62 32 – 63 1840
7 4th great-grandparents 64 126 64 – 127 1810
8 5th great-grandparents 128 254 128 – 255 1780
9 6th great-grandparents 256 510 256 – 511 1750
10 7th great-grandparents 512 1,022 512 – 1,023 1720
11 8th great-grandparents 1,024 2,046 1,024 – 2,047 1690
12 9th great-grandparents 2,048 4,094 2,048 – 4,095 1660
13 10th great-grandparents 4,096 8,190 4,096 – 8,191 1630
14 11th great-grandparents 8,192 16,382 8,192 – 16,383 1600
15 12th great-grandparents 16,384 32,766 16,384 – 32,767 1570
16 13th great-grandparents 32,768 65,534 32,768 – 65,535 1540

How ancestor numbering works

The system, called Ahnentafel (German for “ancestor table”) and known in France as Sosa-Stradonitz numbering, gives every one of your direct ancestors a number of their own. You are number 1. Then, for anyone with number n:

  • their father is 2n,
  • their mother is 2n + 1,
  • their child in your line is n ÷ 2, rounded down.

So your father is 2 and your mother 3; your father’s parents are 4 and 5, your mother’s parents 6 and 7. Your great-grandparents are 8 to 15, your great-great-grandparents 16 to 31.

Reading a number at a glance

A few patterns make the numbers easy to read once you’re used to them:

  • Even numbers are men, odd numbers are women, apart from number 1, who can be either.
  • Each generation starts at a power of two: 2, 4, 8, 16, 32, 64. A number between 32 and 63 belongs to your third great-grandparents.
  • Husband and wife sit side by side: a man’s wife always has his number plus one.
  • Your father’s side comes first: in each generation, the first half of the numbers are your father’s ancestors, the second half your mother’s.

Written in binary, a number even spells out the way to that ancestor: after the leading 1, each 0 is a father and each 1 a mother. Thirteen is 1101 in binary: mother, father, mother. Number 13 is your mother’s father’s mother.

Where the system comes from

The numbering was first used by the Austrian historian Michael Eytzinger in 1590, taken up by the Spanish genealogist Jerónimo de Sosa in 1676, and made popular by the German genealogist Stephan Kekulé von Stradonitz at the end of the 19th century. That’s why it has several names: Ahnentafel in German and English, Sosa-Stradonitz in French and Spanish.

It’s still the standard because it needs no chart: a number alone says exactly where someone stands in your tree.

Why your ancestors run out

The table above doubles with every generation. Twenty generations back, around six centuries ago, you’d have more than a million ancestors in that generation alone. Thirty generations back, about 1.07 billion: far more people than were alive on Earth at the time.

The explanation is that the same people turn up in your tree many times over. Distant cousins married, often without knowing it, so one ancestor can hold several numbers. Genealogists call this pedigree collapse. In a family that stayed in the same village for centuries, it starts surprisingly early.

Using the numbers in your own research

Ancestor numbers are worth adopting from the first day of a family tree:

  • Name your files with them. “13 Margaret Hale wedding 1930.jpg” sorts itself and tells you who is who.
  • Number your notes and documents the same way, so a birth certificate is always filed with the right person.
  • Share them with relatives. When you write “I found number 26’s marriage”, everyone working on the tree knows who you mean.

When Memoroots opens, every person in your tree will carry their number, so you won’t have to keep track of it yourself.

Be there the day Memoroots opens

Memoroots is being built now. Leave your email and you’ll be among the first to plant your family tree, and to tell us what it should do.

One email the day Memoroots opens. No spam; leave whenever you like. Privacy