Somewhat like Eratosthenes, the Iranian polymath Al-Biruni (973-1048) was able to estimate the radius of the earth using just a few measurements and some clear thinking. If h is a mountain with a known height and the distance from the mountaintop A to the horizon C can be established accurately, then angle α is the same as angle AOC at the earth’s center and we have everything we need to calculate leg OC of right triangle AOC, which is the radius of the earth.
Biruni carried this out using a tall mountain near Nandana in present-day Pakistan. He estimated the earth’s radius at 6,339.9 km, which is only 16.8 km less than the current value of 6,356.7 km. This accuracy would not be obtained in the West until the 16th century.
06/22/2017 UPDATE: Wait, he didn’t even need the distance to the horizon, just the mountain height and the dip angle. Details here. (Thanks, Jacob.)