A number of websites offer tools for calculating "TMRCA", or more exactly, the number of generations to the most recent common ancestor.
Category: Genealogical Methods