perimeter of the earth not 40km man.
The circumference of Earth at the equator is about 24,874 miles (40,030 km), but from pole-to-pole — the meridional circumference — Earth is only 24,860 miles (40,008 km) around. This shape, caused by the flattening at the poles, is called an oblate spheroid.