Ancestry Calculator: Estimate Your DNA Percentage


Ancestry Calculator

Estimate the percentage of DNA inherited from a specific ancestor.


Enter a whole number (e.g., 1 for a parent, 2 for a grandparent, 3 for a great-grandparent).

Estimated Shared DNA
12.5%

DNA as a Fraction
1 / 8

Ancestors at this Level
8

Visual DNA Contribution

DNA Contribution Chart A bar chart showing your DNA (100%) and the calculated inherited percentage from one ancestor. You (100%) Ancestor


Results copied to clipboard!

Estimated Shared DNA by Relationship
Relationship Generations (n) Average Shared DNA (%)
Parent 1 50%
Grandparent 2 25%
Great-Grandparent 3 12.5%
Great-Great-Grandparent 4 6.25%
3rd Great-Grandparent 5 3.125%
4th Great-Grandparent 6 1.5625%
First Cousin 2 (Common Grandparent) ~12.5%
Second Cousin 3 (Common Great-Grandparent) ~3.125%

What is an Ancestry Calculator?

An ancestry calculator is a tool used to estimate the percentage of your DNA that you statistically inherited from a specific ancestor. It operates on the fundamental principle of genetic inheritance: you receive approximately 50% of your DNA from your mother and 50% from your father. This pattern continues with each preceding generation, with the amount of DNA from any single ancestor being halved. This tool helps visualize how your connection to distant relatives dilutes over time.

This calculator is for anyone curious about genealogy and genetic heritage. Whether you’re building a family tree or trying to understand your results from a commercial DNA test, our ancestry calculator provides a straightforward mathematical estimate. A common misunderstanding is that these percentages are exact. In reality, due to a random process called “recombination,” the actual amount of inherited DNA can vary slightly from these statistical averages.

Ancestry Calculator Formula and Explanation

The calculation is based on an exponential decay formula. For each generation you go back, the amount of genetic material from a single ancestor is halved. The formula used by this ancestry calculator is:

Shared DNA (%) = (1 / 2n) * 100

This formula precisely models the statistical expectation of genetic inheritance from a direct-line ancestor.

Formula Variables

Variables used in the genetic inheritance calculation
Variable Meaning Unit Typical Range
Shared DNA (%) The final percentage of DNA inherited from the ancestor. Percent (%) 0.0001% to 50%
n The number of generations separating you from the ancestor. Generations (unitless integer) 1 to 20+

Practical Examples

Example 1: Calculating DNA from a Great-Grandparent

You want to find out how much DNA you share with one of your great-grandparents. A great-grandparent is 3 generations back.

  • Input (Generations): 3
  • Calculation: (1 / 23) * 100 = (1 / 8) * 100 = 12.5%
  • Result: You share approximately 12.5% of your DNA with a great-grandparent. Our DNA matching guide can help you use this information.

Example 2: Calculating DNA from a 5th Great-Grandparent

This ancestor is much further back in your family tree. A 5th great-grandparent is your grandparent’s grandparent’s grandparent, which is 7 generations back (you=0, parent=1, …, 5th great-grandparent=7).

  • Input (Generations): 7
  • Calculation: (1 / 27) * 100 = (1 / 128) * 100 ≈ 0.78125%
  • Result: You share less than 1% of your DNA with a 5th great-grandparent, specifically about 0.78%. This small amount is why understanding your ethnicity estimate can be complex.

How to Use This Ancestry Calculator

Using our ancestry calculator is simple and intuitive. Follow these steps to get your estimate:

  1. Enter the Number of Generations: In the input field labeled “Generations to Ancestor,” type the number of generations that separate you from the ancestor in question. For example, a parent is 1, a grandparent is 2, and so on.
  2. View Real-Time Results: The calculator automatically updates as you type. There’s no need to press a calculate button.
  3. Interpret the Primary Result: The large percentage displayed is the estimated percentage of DNA you share with that ancestor.
  4. Examine Intermediate Values: The calculator also shows the DNA as a fraction (e.g., 1/16) and the total number of ancestors at that generational level (e.g., 16), providing more context. For more on this, see our guide on how to build your family tree.
  5. Copy or Reset: Use the “Copy Results” button to save your findings or “Reset” to return the calculator to its default state.

Key Factors That Affect Genetic Inheritance

While the ancestry calculator provides a solid statistical model, several factors can influence the actual amount of shared DNA:

  • Genetic Recombination: This is the primary reason for variation. During meiosis, parental chromosomes exchange genetic material before being passed on. This shuffling is random, meaning you won’t get exactly 50% of each of your grandparent’s genes from a parent.
  • Endogamy: If your ancestors are from a small, isolated population (e.g., a specific village or ethnic group) where people married within the community for generations, you may share more DNA with distant relatives than expected.
  • Pedigree Collapse: This occurs when a single person appears in your family tree in multiple places (e.g., your parents are distant cousins). This reduces the number of unique ancestors and increases the percentage of DNA inherited from certain lines.
  • X-Chromosome Inheritance: The X-chromosome follows a different inheritance pattern. Males inherit it only from their mothers, while females inherit one from each parent. This can slightly skew total shared DNA with certain relatives. Explore our resource on exploring maternal and paternal lines.
  • Random Chance: It’s possible, though statistically unlikely, to inherit no DNA from a very distant ancestor (e.g., a 5th great-grandparent) simply due to the random nature of recombination over many generations.
  • DNA Test Accuracy: Commercial DNA tests have limitations. The algorithms they use to determine shared DNA and ethnicity are estimates themselves and can vary between companies. Understanding this can help you better interpret your genetic communities.

Frequently Asked Questions (FAQ)

1. How accurate is this ancestry calculator?

This calculator is 100% accurate for the statistical average. However, the actual biological amount of shared DNA will vary slightly due to the random process of genetic recombination.

2. Why isn’t my DNA exactly 25% from each grandparent?

Because of genetic recombination. Your parent inherited a randomly shuffled 50% of their DNA from each of their parents (your grandparents). When your parent passed their DNA to you, you received a random half of their shuffled DNA, which likely wasn’t a perfect split of your grandparents’ genetic material.

3. Can I use this for cousins?

Yes, but indirectly. For full first cousins, your common ancestors are your grandparents (n=2). You each inherited ~25% from each of them. The total shared DNA between cousins is statistically around 12.5%. For second cousins, the common ancestors are great-grandparents (n=3), and you share about 3.125% DNA.

4. What is the smallest amount of DNA I can share with an ancestor?

Theoretically, it approaches zero. After about 7-10 generations, the percentage becomes so small (less than 1%) that it’s possible for you to have inherited no detectable autosomal DNA from that specific ancestor at all.

5. Does this calculator work for both male and female ancestors?

Yes. This calculator applies to autosomal DNA, which makes up 22 of your 23 pairs of chromosomes and is inherited from both parents regardless of gender. It does not model the specific inheritance paths of Y-DNA (male line) or mtDNA (female line).

6. How many ancestors do I have 10 generations ago?

You have 210, or 1,024 ancestors at that level. Our ancestry calculator shows this in the “Ancestors at this Level” output.

7. Why does my DNA test show relatives I can’t place with this calculator?

A DNA test compares your raw DNA data against others. The “shared cM” (centimorgans) is a more precise measure than percentage. Small shared segments can indicate a very distant common ancestor, potentially 10-12 generations back or more, where the percentage is too small for this calculator to be practical.

8. What is a “unitless” input for this calculator?

“Generations” is a count, not a physical unit like feet or kilograms. It represents a discrete step back in your lineage, so no unit conversion is necessary.

Related Tools and Internal Resources

Deepen your genealogical research with these helpful guides and tools:

© 2026 Your Website. All rights reserved. For educational purposes only.





Leave a Reply

Your email address will not be published. Required fields are marked *