Earth's mean radius #51

kretz opened this Issue Mar 2, 2012 · 3 comments

2 participants


Hi there,

I recently moved from my own distance calculating code to geokit and found that the calculations differ on one point - the earth's mean radius.

Geokit uses a mean radius of 6376.77 km / 3963.19 mi

Wikipedia says 6371 km / 3959 mi (

What do you base the current geokit numbers on? Would you be open to changing it?

Keep up the good work!

geokit member

I'm not sure where this data came from, but certainly open to change it. Can you find me another piece of evidence to back it up, and i'll change it? :)



I found may different sources, stating a bit different numbers. The reason is probably that the earth is not perfectly spherical, and that people state the minimum, maximum and average. The one we are after should probably be the average, which is 6371 km.

More sources:'s_radius

geokit member

OK. i will make this change in the release after the next one. I want to make sure that people are aware of this, as it's possibly going to break tests/expectations on that data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment