# 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
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}\\\hspace{30} atan2(x,y)=atan(\large\frac{y}{x})$

Distance and azimuth between two cities
 [1-10] /17 Disp-Num5103050100200
[1]  2019/01/20 06:47   Male / 60 years old level or over / A retired person / Very /
Purpose of use
Find direction of distant location so that HF radio antenna can be rotated to point at target city/country.
[2]  2019/01/09 05:38   Male / 40 years old level / Others / Very /
Purpose of use
Direction to the Holy Land for prayer.
Comment/Request
Praise the Lord God.
[3]  2018/12/28 01:13   Male / 60 years old level or over / A retired person / Very /
Purpose of use
Finding relative location of city I will be flying to Jan 2018...
Surprising...thought more Southwesterly..
Thank you...Scott
[4]  2018/08/27 04:50   Male / 60 years old level or over / An engineer / Very /
Purpose of use
Find direction to aim antenna for amateur radio
Comment/Request
Suggestion: Allow typing the name of a city or a state/province postal abbreviation, sometimes that''s faster than finding a name on a menu.
[5]  2018/05/28 03:37   Male / 60 years old level or over / A retired people / - /
Purpose of use
Educational
Comment/Request
Casa Grande, Az to MIlford, Ct
[6]  2018/03/28 01:51   Male / 40 years old level / An office worker / A public employee / Very /
Purpose of use
Needed to know the exact bearing to flip off some annoying coworkers in our overseas office.
[7]  2018/02/22 23:01   Male / 50 years old level / An office worker / A public employee / Useful /
Purpose of use
Curiosity
[8]  2017/08/18 17:24   Male / 20 years old level / An engineer / Useful /
Purpose of use
Project
Comment/Request
[9]  2017/02/15 06:30   Male / 60 years old level or over / High-school/ University/ Grad student / Very /
Purpose of use
to compute the azimuth betwen Casablanca (Great Mosque Hassan II) and Mecca
[10]  2016/08/30 06:42   Male / 60 years old level or over / A retired people / A little /
Purpose of use
calculate the angle in degree between two locations.
Comment/Request
Could you please help me with this problem. I need a way to calculate the angle between two cities like Los Angles and New York. Calculators show the azimuth not the angle. Some cities have a 30 degree angle between them etc. I need a calculator not a mathematical formula. Does one exist. Thanks, al

Sending completion

To improve this 'Distance and azimuth between two cities Calculator', please fill in questionnaire.
Male or Female ?
Age

Occupation

Useful?

Purpose of use?