Ancestor Count Calculator

Calculate how many direct ancestors you have at any generation.
Great-grandparents, 5th great-grandparents, the numbers grow fast.

Number of Ancestors

Ancestor count is the arithmetic of how many direct ancestors you have in each generation going back. The numbers grow fast. In reality they grow slower than the arithmetic says, because intermarriage within communities puts the same people into several slots at once.

The Formula:

Ancestors in generation N = 2^N

Where N = 1 is your parents, N = 2 is grandparents, etc.

Total ancestors through generation N:

Total = 2^(N+1) − 2

Ancestor Count Reference Table:

Generation Relationship Ancestors in That Generation
1 Parents 2
2 Grandparents 4
3 Great-grandparents 8
4 2× great-grandparents 16
5 3× great-grandparents 32
10 8× great-grandparents 1,024
15 32,768
20 1,048,576
30 1,073,741,824

The Pedigree Collapse Problem:

By generation 30, the arithmetic gives you over a billion direct ancestors. The entire world population around 1100 AD was somewhere near 400 million. So many of those slots must be filled by the same people, which happens whenever distant cousins marry, usually without either of them knowing. This is pedigree collapse, and our pedigree collapse calculator works out how many distinct people are really behind the number below.

How far back is a generation? This page uses 30 years, which is the usual figure for deep genealogy. Anything from 25 to 33 is defensible depending on the population and the era, and the choice matters more than it looks: at 25 years, generation 30 lands around 750 years ago, and at 30 it lands around 900. A century and a half of difference in where your tree bottoms out, from one assumption you probably did not think about.

Worked Example:

How many total direct ancestors do you have through your great-great-grandparents (4 generations)?

Total = 2^(4+1) − 2 = 32 − 2 = 30 people (2 parents + 4 grandparents + 8 great-grandparents + 16 great-great-grandparents)

Practical Tips:

  • Most people can document 5–7 generations before records become sparse
  • Brick walls (missing ancestors) reduce actual documented counts dramatically
  • DNA testing can confirm or discover branches invisible in paper records
  • Online collaborative trees (Geni, WikiTree) can extend your tree beyond what you can document alone

How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.