There are various apps, I don’t use them myself, but I’m sure you could google them.... strava, etc.
Various types of gps watches which measure distance, averse speed etc.
Or good old knowing your approx pace per mile and working it out in your head (not quite as accurate unless you’re...