If you know the coordinates of two points, you can work out the azimuth from one to the other. Subtract the start point from the target point, then turn the difference into an angle measured from north. The steps depend on whether your coordinates are grid numbers or latitude and longitude.
What you need
- Coordinates for both points, in the same system. Grid coordinates are easting and northing in meters. Latitude and longitude are in degrees. Do not mix the two.
- A calculator with an inverse tangent button (often labeled tan⁻¹ or atan), or a spreadsheet with an ATAN2 function.
- A clear idea of which point is the start. The azimuth from A to B differs from the azimuth from B to A by 180 degrees.
Method 1: Grid coordinates (easting and northing)
Call the start point (E1, N1) and the target (E2, N2). Work out the two differences:
- ΔE = E2 - E1, the east difference
- ΔN = N2 - N1, the north difference
Then the azimuth is atan2(ΔE, ΔN). If your calculator has no atan2 function, do this:
- Divide ΔE by ΔN and take the arctangent of the result. This gives an angle between -90 and 90 degrees. If ΔN is zero, the target is due east (90 degrees) or due west (270 degrees), depending on the sign of ΔE.
- If ΔN is negative, add 180 degrees.
- If the result is still negative, add 360 degrees.
Example one: The start is easting 500 and northing 1,000, and the target is easting 1,500 and northing 2,000, all in meters. ΔE is 1,000 and ΔN is 1,000. The arctangent of 1 is 45 degrees, so the azimuth is 45 degrees, which is northeast.
Example two: The start is the same, and the target is easting 200 and northing 1,400. ΔE is -300 and ΔN is 400. The arctangent of -0.75 is about -36.9 degrees. ΔN is positive, but the result is negative, so add 360 to get about 323 degrees.
This gives a grid azimuth. For UTM-based grids, grid north matches true north only along the central meridian of the zone, and the gap changes across the map. The declination diagram on your map shows the angles between grid, true, and magnetic north, so use it to convert the number before you set a magnetic compass.
Method 2: Latitude and longitude
Latitude and longitude are angles, not distances, so the east-west difference shrinks as you move away from the equator. Over a few kilometers, a flat approximation is accurate enough for field work:
- Δlat = lat2 - lat1
- Δlon = lon2 - lon1
- x = Δlon × cos(average latitude)
- y = Δlat
- Azimuth = atan2(x, y), using the same steps as method 1, with x as east and y as north.
Use negative numbers for west longitude and south latitude.
Example: The start is 40.00° N, 105.00° W, and the target is 40.01° N, 104.99° W. Δlat is 0.01 and Δlon is 0.01. At about 40 degrees latitude, cos(40°) is about 0.766, so x is about 0.0077. The ratio of x to y is about 0.77, and its arctangent is about 37 to 38 degrees.
Over longer distances, the flat approximation drifts. Navigation software uses the initial great-circle bearing instead:
θ = atan2( sin(Δλ) × cos(φ2), cos(φ1) × sin(φ2) − sin(φ1) × cos(φ2) × cos(Δλ) )
Here φ is latitude and λ is longitude. Set your calculator to degrees, then add 360 to any negative result. This gives a true azimuth at the start point. If you need the place rather than the number, see how to find an address based on latitude and longitude.
Method 3: Plot the points on a map
If both points are on your map, plot them and measure the direction to check your number. Draw a line between the two points, then measure it with a protractor or baseplate compass, using the same steps as how to determine true bearing on a map. Remember that the map’s north lines are grid north, so the same declination correction applies.
Converting the result to a magnetic reading
A calculated number is a true or grid azimuth, but a magnetic compass reads magnetic azimuths. Use the declination diagram on your map, or a declination calculator for the area, to convert. Declination changes slowly over time, so use a current value rather than one from an old printed map.
Many GPS receivers and map apps show a bearing to a waypoint. Check whether the display uses true or magnetic north before you compare it with your own calculation.
Checking your answer
- Quadrant check: If ΔE is positive, the target is on the east side, between 0 and 180 degrees. If ΔE is negative, it is on the west side, between 180 and 360 degrees.
- Sketch check: Draw a north arrow on a scrap of paper and mark the target roughly where it sits. Your number should match.
- Reverse check: Swap the two points. The new azimuth should be 180 degrees away from the first, so 45 degrees becomes 225 degrees.
Common mistakes
- Subtracting in the wrong order. Use the target minus the start, so ΔE = E2 - E1 and ΔN = N2 - N1. Reversing the subtraction flips the answer by 180 degrees.
- Mixing coordinate systems. Grid numbers and latitude-longitude values cannot be combined in the same calculation.
- Losing a negative sign. West longitudes and south latitudes are negative.
- Calculator in the wrong mode. Check that your calculator is set to degrees.
- Treating a grid number as magnetic. Convert the result before you set the compass.