Nobody really knows. They did a bunch of different measures and some came closer to 550 feet:
https://www.mlb.com/cut4/babe-ruth-s-longest-home-run
Either way, thats a long way to hit a ball
EDIT: whats also remarkable a lot of his HR's came in the dead-ball era: https://en.wikipedia.org/wiki/Dead-ball_era