# Distance between two places on the earth Calculator

## Calculates the distance and azimuth between two places from latitudes and longitudes.

 Calculation assumes that the Earth is a sphere with a radius of 6378km.Input negative degree for west longtitude and south latitude.
 A: Longitude Latitude B: Longitude Latitude [ Earth's radius r km ] 6digit10digit14digit18digit22digit26digit30digit34digit38digit42digit46digit50digit
 Compass from A to Bplace A(x1, y1)、place B(x2, y2)$\normal\\\hspace{10}d=rcos^{\tiny -1}(siny_{\tiny 1}siny__{\tiny 2}+cosy__{\tiny 1}cosy__{\tiny 2}cos\Delta x)\\\phi=90-atan2(sin\Delta x,\ cosy_{\tiny 1}tany_{\tiny 2}-siny_{\tiny 1}cos\Delta x)\\\hspace{30}\Delta x=x_{\tiny 2}-x_{\tiny 1}$
Distance between two places on the earth
 [1-10] /17 Disp-Num5103050100200
[1]  2018/12/26 23:24   Male / 60 years old level or over / A retired person / Very /
Purpose of use
Writing a book.
[2]  2018/10/10 04:22   Male / 20 years old level / High-school/ University/ Grad student / Very /
Purpose of use
Check my distance from an earthquake epicenter.
[3]  2018/08/27 09:00   Male / 30 years old level / An engineer / Useful /
Purpose of use
Measure the distance to an earthquake epicenter and knowing the time I felt it, confirm the speed of the seismic wave
[4]  2018/08/25 11:08   Male / 20 years old level / Elementary school/ Junior high-school student / Very /
Purpose of use
research flat earth
[5]  2018/05/23 11:08   Male / 40 years old level / An office worker / A public employee / A little /
Purpose of use
Twofold. To check if you used altitude in your calculation (you don''t) and to mercilessly rip off your code or formulae if you did. Still, nice bit of code.
[6]  2018/05/12 12:43   Male / 20 years old level / High-school/ University/ Grad student / Useful /
Purpose of use
curiosity
[7]  2018/04/24 23:58   Male / 20 years old level / An engineer / Very /
Purpose of use
To see how far away I moving
[8]  2018/04/18 03:00   Female / Under 20 years old / High-school/ University/ Grad student / Very /
Purpose of use
To check my results of the Law of Cosines that I used to find the distance between two points for my maths exploration.
[9]  2018/01/05 11:36   Male / Under 20 years old / High-school/ University/ Grad student / Very /
Purpose of use
I needed references for scales while worldbuilding.
[10]  2017/08/05 00:57   Female / 30 years old level / A teacher / A researcher / Very /
Purpose of use
Distance between two people traveling to different conferences.
Comment/Request
Great site and public service! Thank you for your work!

Sending completion

To improve this 'Distance between two places on the earth Calculator', please fill in questionnaire.
Male or Female ?
Male Female
Age
Under 20 years old 20 years old level 30 years old level
40 years old level 50 years old level 60 years old level or over
Occupation
Elementary school/ Junior high-school student
High-school/ University/ Grad student A homemaker An office worker / A public employee
Self-employed people An engineer A teacher / A researcher
A retired person Others
Useful?
Very Useful A little Not at All
Purpose of use?