Answer:
In the third century BCE , Eratosthenes, a Greek librarian in Alexandria , Egypt , determined the earth's circumference to be 40,250 to 45,900 kilometers (25,000 to 28,500 miles) by comparing the Sun's relative position at two different locations on the earth's surface.