Hanks is Rogers' sixth cousin -- they share a great-great-great-great-great grandfather named Johannes Mefford, an Ancestry.com representative said. The genealogy site created Hanks' family tree using its database of more than 20 billion online historical records.
Hanks and his wife Rita Wilson learned about the connection during an Access Hollywood segment at the New York City screening for A Beautiful Day in the Neighborhood this week. "It all just comes together, you see," Hanks says after looking at the family tree.
A Beautiful Day in the Neighborhood is a biopic focused on the real-life friendship between Rogers and journalist Tom Junod. Directed by Marielle Heller, it opens in the US on Friday.