# Earth Distance Calculator

The Earth Distance Calculator is a handy tool for measuring the distance between two points on the Earth's surface, as well as the distance between those two points if they were connected by a straight tunnel through the Earth's core.

### This page exists due to the efforts of the following people:

#### Timur

Created: 2018-02-23 06:54:13, Last updated: 2023-02-18 11:45:45

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/7729/. Also, please do not modify any references to the original work (if any) contained in this content.

To use the calculator, simply enter the latitudes and longitudes of the two points you wish to measure, and the calculator will provide you with the distances in both scenarios.

The Earth Distance Calculator uses the Haversine formula to calculate the distance between two points on the Earth's surface, taking into account the curvature of the Earth. This method provides accurate results for shorter distances, up to a few thousand kilometers. However, for longer distances, the curvature of the Earth becomes more significant, and the result will be less accurate.

For the distance through the Earth's core, the calculator assumes that the Earth is a perfect sphere, with a radius of approximately 6,371 kilometers. It calculates the distance between the two points as if they were connected by a straight tunnel passing through the Earth's core. While this is a theoretical distance that cannot be traveled by humans, it's an interesting way to visualize the distance between two points, for example, on opposite sides of the Earth. I used New York and San Francisco coordinates as default coordinates. Formulas used by the calculator are described here and here.

By the way, the longest distance you can travel on the Earth's surface without crossing water is a journey from Liberia in West Africa to China. This distance covers a total of 13,589 kilometers (8,439 miles), passing through 16 different countries.

#### Distance across the surface vs distance through the Earth

°
°
°
°
Digits after the decimal point: 3
Distance across the surface, km

Distance through the Earth

Difference, km

Difference, %

URL copied to clipboard
PLANETCALC, Earth Distance Calculator