# Distance and azimuth between two cities Calculator

## Calculates the distance and azimuth between two cities.

 Calculation assumes that the Earth is a sphere with a radius of 6378km.Input negative degree for west longtitude and south latitude.
city A:
1.  North Europa West Europa South Europa East Europa North Asia Central Asia West Asia South Asia East Asia Southeast Asia North America Central America Caribbean South America Atlantic Ocean North Africa West Africa East Africa Central Africa Southern Africa Indian Ocean Australia Micronesia Melanesia Polynesia Korea South/Seoul Korea North/Pyongyang Japan/Tokyo China/Beijing China/Harbin China/Shanghai China/Chongqing China/Urumqi China/Kashgar China/Hong Kong China/Macau Taiwan/Taipei
1. Longitude
2. ,
3. Latitude
1.
city B:
1.  North Europa West Europa South Europa East Europa North Asia Central Asia West Asia South Asia East Asia Southeast Asia North America Central America Caribbean South America Atlantic Ocean North Africa West Africa East Africa Central Africa Southern Africa Indian Ocean Australia Micronesia Melanesia Polynesia Georgia/Tbilisi Armenia/Yerevan Azerbaijan/Baku Turkey/Ankara Turkey/Istanbul Cyprus/Nicosia Lebanon/Beirut Israel/Jerusalem Palestine/Gaza Jordan/Amman Syria/Damascus Iraq/Baghdad Kuwait/Kuwait Iran/Tehran Saudi Arabi/Mecca Saudi Arabi/Riyadh Yemen/Aden Bahrain/Al Manamah Qatar/Doha United Arab Emirates/Abu Dhabi United Arab Emirates/Dubai Oman/Muscat
1. Longitude
2. ,
3. Latitude
1. [ Earth's radius r
2. km
3. ]
 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}$

Thank you for your questionnaire.
Sending completion

To improve this 'Distance and azimuth between two cities 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 people Others
Useful?
Very Useful A little Not at All
Purpose of use?
Comment/Request (Click here to report a bug).Bug report (Click here to report questionnaire.）
Calculation bug(Please enter information such as specific input values, calculation result, correct result, and reference materials (URL and documents).)
Text bug(Please enter information such as wrong and correct texts)
Your feedback and comments may be posted as customer voice.