His life

Eratosthenes was born around 276 BCE in Cyrene, a prosperous Greek colony on the coast of present-day Libya. He studied in Athens with philosophers of different schools, among them the Stoic Ariston of Chios and the Academic Arcesilaus, and trained as a poet, philologist and mathematician all at once. That breadth earned him two nicknames recorded in the Suda: “Pentathlos”, because he competed in everything, and “Beta”, the second letter of the alphabet, because, according to his critics, he was second in every discipline and first in none.
Around 245 BCE, King Ptolemy III called him to Alexandria to head the Library, the greatest archive of the ancient world, and to tutor his son. He spent the rest of his life there, with access to the Babylonian astronomical records, to the works of Euclid and Aristarchus and to the reports of the royal surveyors. He wrote on geography, chronology, mathematics, literary criticism and theater. According to the Suda, he lost his sight in old age and, unable to read or observe, starved himself to death around 194 BCE.
A shadow that measures the Earth

The experiment we remember him for is known to us mainly through Cleomedes, a later author who summarizes it in a few lines. Eratosthenes knew that in Syene (present-day Aswan), at noon on the summer solstice, the Sun stands straight overhead: there is no shadow, and the light reaches the bottom of wells. On that same day, in Alexandria, a gnomon (a vertical post) does cast a shadow, and the angle between the post and the Sun’s ray is one fiftieth of a circle, that is, 7.2°.
If the Earth is a sphere and the Sun’s rays arrive parallel, that angle is the same one that separates the two cities as seen from the center of the Earth. And if Alexandria lies 5 000 stadia north of Syene, the full circle measures fifty times as much:
where is the circumference of the Earth. A slightly larger figure, 252 000 stadia, circulated later, perhaps so that a degree would come out round (700 stadia). How much that is in kilometers depends on which stadion he used: with the Egyptian stadion of about 157.5 m one gets 39 400 km, almost exactly the true circumference (40 008 km through the poles); with the Attic stadion of 185 m, about 46 000 km, 15% too much. Historians are still arguing over which one it was, which is why it is more honest to say that the method was flawless and the result, very good.
Eratosthenes’ two assumptions (that Syene lies exactly on the tropic and that the two cities are on the same meridian) are not exact, but their errors partly cancel. The real merit lies in having turned an impossible question into two simple measurements: an angle and a distance. In the Eratosthenes measures the Earth simulator you can repeat the calculation with any pair of cities.
The Earth drawn on a grid

Eratosthenes did not stop at the size of the planet. In his Geography, in three books, he drew a map of the known world on a network of lines: a main parallel through Rhodes and a meridian joining Alexandria with Syene and Meroë. He divided the Earth into five zones (two cold, two temperate and one torrid) according to the height of the Sun, and collected the positions of more than four hundred cities. The word “geography” appears with him.
He also measured the obliquity of the ecliptic, the angle between the equator and the Sun’s yearly path, and obtained 11/83 of 180°, about 23° 51′ (the value in his day was 23° 43′). And in his Chronography he ordered Greek history from the Trojan War by counting Olympiads, a dating system historians used for centuries. In mathematics he left the sieve, the procedure for finding prime numbers by crossing out multiples, and the mesolabe, a mechanical device for the problem of doubling the cube.
His legacy

Eratosthenes’ calculation is probably the oldest scientific experiment a student can repeat today with their own hands: all it takes is a stick, a noon and a partner in another city. Every year thousands of schools around the world do it in a coordinated way at the equinoxes and solstices, and the portal has its own version in Eratosthenes measures the Earth.
His grid map is the ancestor of the geographic coordinates used by any GPS, and his measurement of the size of the Earth, passed on by Strabo and Pliny, reached the Middle Ages. A lunar crater, an asteroid and the international educational project that repeats his experiment every year bear his name.