Calculate LAT/LON when given start LAT/LON, azimuth and distance

hamiltow

New Member
Joined
Aug 30, 2009
Messages
11
I need to calculate the end LAT/LON for thousands of lines of data. The existing spreadsheet has the start LAT, start LON, azimuth and distance. Is there a formula so excel can calculate it for me?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Have a look here
http://www.movable-type.co.uk/scripts/latlong.html


d being the distance travelled, R the earth’s radius

Excel: (all anglesin radians)
lat2: =ASIN(SIN(lat1)*COS(d/R) + COS(lat1)*SIN(d/R)*COS(brng))
lon2: =lon1 + ATAN2(COS(d/R)-SIN(lat1)*SIN(lat2), SIN(brng)*SIN(d/R)*COS(lat1))
* Remember that Excel reverses the arguments to ATAN2 – see notes below

For final bearing, simply take the initial bearing from the end point to the start point and reverse it with (brng+180)%360.
 
Last edited:
Upvote 0
Fraid I can't help you.
It's a long, long time since I used trig functions.
 
Upvote 0
Hi hamiltow;

Are the following results OK for you?

Lat2: 33.3247617235927

Lon2: -82.1798292854672
 
Last edited:
Upvote 0
Hi hamiltow;

Are the following results OK for you?

Lat2: 33.3247617235927

Lon2: -82.1798292854672


Thanks for the assistance. It looks like the 2nd positions are only about 3084 meters from the first point at a bearing of 114.5 degrees.
 
Upvote 0
According to my calculations, the travel distance for the second point is: 5.00000047512941 km.
 
Upvote 0
I plotted both sets of coordinates and they come up 3.081 km apart with a bearing of 114.4933 degrees.
 
Upvote 0
Using the online tool I got:

Latitude: 33°17′56″N 33.29886611
Longitude: 82°10′48″W -82.17990242
Final bearing: 145°54′59″ 145.91653196
Back bearing: 325°55′00″ 325.91653196

Those figures check out when they are plotted.

It looks like the LON2 of the calculation you did was correct but the LAT2 wasn't.
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,148
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top