Likely familiar to this crowd, but Carl Sagan's explanation on Cosmos of Eratosthenes' discovery is great:
https://www.youtube.com/watch?v=G8cbIWMv0rI&ab_channel=carls...
https://www.youtube.com/watch?v=G8cbIWMv0rI&ab_channel=carls...
If you presume the Earth is flat and the Sun not that far away, Eratosthenes was calculating the distance to the Sun.