Ancestor Count Calculator
Ancestor Count Calculator
8× great-grandparents, around the year 1710
1,024
positions in your tree at generation 10
- People alive then
- about 624 million
- Your slots are
- All generations to here
- 2,046
Your own tree
Enter how many ancestors you have found in each generation. It shows how complete your tree is and where the next gap sits.
- Parents
- Grandparents
- Great-grandparents
- Great-great-grandparents
- 3× great-grandparents
- 4× great-grandparents
- 5× great-grandparents
- 6× great-grandparents
- 7× great-grandparents
- 8× great-grandparents
Nothing entered yet
Start with your parents and work outward.
Why the count has to fail at generation 29
Slots double every generation. The world’s population does not, and the further back you go the smaller it gets. For someone born in 1990, with 28 years to a generation:
| Generation | Around | Slots | People alive | Slots as a share |
|---|---|---|---|---|
| 5 | 1850 | 32 | 1.28 billion | under 0.01% |
| 10 | 1710 | 1,024 | 624 million | under 0.01% |
| 20 | 1430 | 1,048,576 | 460 million | 0.23% |
| 25 | 1290 | 33,554,432 | 455 million | 7.4% |
| 29 | 1178 | 536,870,912 | 434 million | 1.2 times |
| 30 | 1150 | 1,073,741,824 | 421 million | 2.6 times |
| 37 | 954 | 137,438,953,472 | 318 million | 433 times |
| 40 | 870 | 1,099,511,627,776 | 303 million | 3,625 times |
The crossing point barely depends on your assumptions. We ran every birth year from 1900 to 2026 against every generation length from 20 to 35 years, and it landed on generation 29 each time. Only the date moves: for someone born in 1990 it falls around 1410 at 20 years a generation and around 975 at 35.
Eight more generations on, the 137 billion slots at generation 37 pass the roughly 117 billion people the Population Reference Bureau estimates have ever been born. Population figures before the 19th century are estimates, so read them as scale, not as a census.
What fills the gap
One person can fill several positions. First cousins share a pair of grandparents, so their child has eight great-grandparent positions and only six people to fill them. That is two repeats, or 25% pedigree collapse in that generation. Press Show an example on the tree to see it. In a long enough tree this is the normal state of things, because your distant ancestors married people who were, unknowingly, their own distant cousins.
Choosing a generation length
The default is 28 years. Wang and colleagues (2023) estimated an average of 26.9 years across the past 250,000 years, with fathers older (30.7) than mothers (23.2). Fenner (2005) found the same difference across nation states and hunter-gatherer societies. So a line traced through mothers usually runs shorter than one traced through fathers, and if you know your own family’s dates, use those.
The numbers beside each generation
These are Ahnentafel numbers, the numbering genealogists use to label a whole tree. You are 1, the father of person k is 2k, and the mother is 2k + 1, so each generation holds one unbroken run: your 8× great-grandparents are numbers 1,024 to 2,047.
A slot is not a piece of your DNA
You do not inherit DNA from every position in your tree. Past a few generations some of your genealogical ancestors left you none at all. The genetic ancestors calculator simulates how many did.
Population data: Our World in Data (HYDE 2023, Gapminder 2022, UN WPP 2024), interpolated between published years. Common ancestry: Rohde, Olson and Chang, Nature 2004.
Questions
- Two parents, four grandparents, eight great-grandparents: the count doubles with every generation. Ten generations back there are 1,024 positions in that generation alone, and 2,046 across all ten. Those are positions in a tree, and past a certain depth many of them are the same people.
- Your 3× great-grandparents, also written great-great-great-grandparents. Grandparents are generation 2, and each generation after that adds one “great”, so the number before the × is always the generation minus two.
- Positions. Your parents and grandparents are almost certainly all different people, but far enough back the same person fills many positions in your tree. That has to happen: by generation 29 there are more positions than people alive at the time.
- Probably not. If two of your ancestors were related, the people they shared appear in two places. Enter the repeat in the tree above and the tool reports it as pedigree collapse, which is also called implex.
- Yes, and more recently than most people expect. Rohde, Olson and Chang modelled human migration and mating in Nature in 2004 and put the most recent common ancestor of everyone alive just a few thousand years ago.
- Your numbers stay in your browser and are gone when you close the page. Copy a link to this tree keeps them for later: the link holds your counts, your birth year and your generation length, and no names, because the tool never asks for any.
Method & sources
How it computes
Direct-ancestor slots at generation n back = 2^n; all generations to n = 2^(n+1) − 2. Year at generation n = birth year − n × years per generation, both entered by the reader. World population at that year is interpolated geometrically between the Our World in Data points. Tree completeness = positions found ÷ slots; pedigree collapse = repeats ÷ positions found. All computed in your browser.
What this tool implements
- Ancestor slots double each generation: 2^n at generation n; all generations to n 2^(n+1) − 2 (computed in your browser).
- Generation length is the reader's input, 20 to 35 years, default 28. Wang et al. (2023) estimate 26.9 years on average, fathers 30.7 and mothers 23.2, across the past 250,000 years; Fenner (2005) finds the male interval longer than the female across cultures.
- Counts are theoretical slots, not distinct individuals. Pedigree collapse is stated and measured on the reader's own tree, within a generation only, and the page says the true figure can be higher.
- Corrected 2026-11-02: removed "about 28–32 years (Fenner 2005)". That range is not in the paper's abstract, the only part of it we can read; the two figures now printed are from Wang et al. (2023).
Sources
- Fenner JN. Cross-cultural estimation of the human generation interval for use in genetics-based population divergence studies. Am J Phys Anthropol 2005;128(2):415-423: https://doi.org/10.1002/ajpa.20188
- Wang RJ, Al-Saffar SI, Rogers J, Hahn MW. Human generation times across the past 250,000 years. Sci Adv 2023;9(1):eabm7047: https://doi.org/10.1126/sciadv.abm7047
- Rohde DLT, Olson S, Chang JT. Modelling the recent common ancestry of all living humans. Nature 2004;431(7008):562-566: https://doi.org/10.1038/nature02842
- Our World in Data, Population (HYDE 2023; Gapminder 2022; UN WPP 2024), read 2 Nov 2026: https://ourworldindata.org/grapher/population
- Population Reference Bureau. How Many People Have Ever Lived on Earth? (15 Nov 2022, ~117 billion): https://www.prb.org/articles/how-many-people-have-ever-lived-on-e…