Get the azimuth and quadrant bearing between two survey points or two GPS locations, lay out a new point from a direction and a distance, or convert an azimuth to a bearing.
Azimuth Calculator - From Coordinates, GPS and Bearing
Get the azimuth and quadrant bearing between two survey points or two GPS locations, lay out a new point from a direction and a distance, or convert an azimuth to a bearing.
Parameters
Enter data for calculations
Azimuth from coordinates, from GPS points, or from a bearing
Type the northing and easting of two points and you get the azimuth from the first to the second, the quadrant bearing, the back azimuth and the distance. Point A at N 1,000, E 1,000 and point B at N 1,300, E 1,400 give an azimuth of 53.1301°, which is 53°07'48.4" or the bearing N 53°07'48.4" E, and a distance of 500 in whatever unit the coordinates use. Three more modes sit behind the same form: the azimuth between two latitude and longitude points along a great circle, the coordinates of a new point from a direction and a distance, and a straight azimuth to bearing converter that also works the other way around.
Which mode to pick, and what goes in its boxes
- What do you want to calculate? - "Azimuth from northing and easting" for survey, state plane, UTM or any grid where north is up; "Azimuth from GPS coordinates" for latitude and longitude; "Point B from a direction and a distance" to lay out a new point; "Convert azimuth and bearing" when you only need to switch the notation.
- Northing and easting of A and B - the grid mode. Northing grows to the north (up the map), easting grows to the east (to the right). Large state plane values are fine, with or without commas between thousands: 684,512.37 and 684512.37 read the same.
- Latitude and longitude of A and B - the GPS mode. Decimal degrees straight from a map app (40.7128 and -74.0060) or degrees, minutes and seconds with a letter (40°42'46" N, 74°00'22" W). South and west are negative, or use the letters S and W.
- Northing and easting of A, direction, distance - the point B mode. The direction can be an azimuth (242.2583 or 242°15'30") or a quadrant bearing (S 62°15'30" W); the calculator tells which one it read. The distance must be horizontal and in the same unit as the coordinates.
- Azimuth or bearing - the converter. Type 200 and you get S 20° W; type N 30 W and you get 330°. Spaces, the degree sign and the minute and second marks are all optional.
The four quadrants on one card
An azimuth runs all the way around the circle, clockwise from north. A quadrant bearing never goes past 90°: it starts from north or from south, whichever is closer, and turns toward east or west. The US Navy surveying course uses the same two examples printed in the converter: an azimuth of 135° lies between 90° and 180°, so it is in the southeast quadrant and reads S 45° E, and N 30° W becomes 360° minus 30°, which is 330°. The table collects the rule for every quadrant in both directions, with a worked value next to each.
| Quadrant | Azimuth range | Bearing from azimuth | Azimuth from bearing | Example |
|---|---|---|---|---|
| NE | 0° to 90° | N (Az) E | Az = angle | 53.1301° = N 53°07'48.4" E |
| SE | 90° to 180° | S (180° - Az) E | Az = 180° - angle | 135° = S 45° E |
| SW | 180° to 270° | S (Az - 180°) W | Az = 180° + angle | 200° = S 20° W |
| NW | 270° to 360° | N (360° - Az) W | Az = 360° - angle | N 30° W = 330° |
The four directions that sit exactly on a boundary get a label in the result: 0° is N 00°00'00.0" E (due north), 90° is N 90° E (due east), 180° is S 00° E (due south) and 270° is N 90° W (due west). Some field books write due south as S 0° W or due west as S 90° W; the direction is the same, only the letter convention differs.
The back azimuth is the azimuth plus or minus 180°. The back bearing is even simpler: keep the angle and swap both letters, so N 53°07'48.4" E seen from the other end is S 53°07'48.4" W. That rule holds on a flat grid. Along a long great-circle route it does not, which is the subject of a section further down.
The 16-point compass rose in azimuths and bearings
Every result names the nearest of the 16 compass points. Each point covers a slice of 22.5°, half on each side of its center, so the slice of NE runs from 33.75° to 56.25°. Use the table to sanity-check a result: an azimuth of 202.6199° falls in the SSW slice, and its bearing S 22°37'11.5" W sits right next to the center of that slice, S 22°30' W.
| Point | Name | Azimuth | Bearing | Slice |
|---|---|---|---|---|
| N | north | 0° | N 0° E | 348.75° to 11.25° |
| NNE | north-northeast | 22.5° | N 22°30' E | 11.25° to 33.75° |
| NE | northeast | 45° | N 45° E | 33.75° to 56.25° |
| ENE | east-northeast | 67.5° | N 67°30' E | 56.25° to 78.75° |
| E | east | 90° | N 90° E | 78.75° to 101.25° |
| ESE | east-southeast | 112.5° | S 67°30' E | 101.25° to 123.75° |
| SE | southeast | 135° | S 45° E | 123.75° to 146.25° |
| SSE | south-southeast | 157.5° | S 22°30' E | 146.25° to 168.75° |
| S | south | 180° | S 0° E | 168.75° to 191.25° |
| SSW | south-southwest | 202.5° | S 22°30' W | 191.25° to 213.75° |
| SW | southwest | 225° | S 45° W | 213.75° to 236.25° |
| WSW | west-southwest | 247.5° | S 67°30' W | 236.25° to 258.75° |
| W | west | 270° | N 90° W | 258.75° to 281.25° |
| WNW | west-northwest | 292.5° | N 67°30' W | 281.25° to 303.75° |
| NW | northwest | 315° | N 45° W | 303.75° to 326.25° |
| NNW | north-northwest | 337.5° | N 22°30' W | 326.25° to 348.75° |
Seven inputs and the directions they produce
Each card below is a real run of the calculator. The coordinates in the grid cases are sample numbers of the size a state plane survey in US survey feet produces; the GPS cases use the coordinates a map app shows for the city centers.
A: N 1,000, E 1,000. B: N 1,300, E 1,400.
Latitude 300, departure 400, azimuth 53.1301° (N 53°07'48.4" E), back azimuth 233.1301°, distance 500. The 3-4-5 triangle makes the distance easy to check by eye.
A: N 684,512.37, E 2,051,347.82. B: N 684,398.15, E 2,051,521.44.
ΔN -114.22, ΔE 173.62, azimuth 123.3399°, bearing S 56°39'36.5" E, distance 207.822 ft. Compass point ESE.
A: N 0, E 0. B: N -120, E -50.
Azimuth 202.6199° (S 22°37'11.5" W), back azimuth 22.6199°, distance 130. Both deltas negative, so the quadrant rule is 180° + β.
40.7128, -74.0060 to 51.5074, -0.1278.
Initial azimuth 51.2126° (NE), final azimuth 108.3297°, great-circle distance 3,461.2 mi (5,570.2 km, 3,007.7 nmi).
38.8977, -77.0365 to 38.8893, -77.0502.
Initial azimuth 231.7741° (S 51°46'26.6" W), final 231.7654°, distance 0.938 mi. Over a mile the course barely changes.
A: N 5,000, E 5,000. Direction S 62°15'30" W, distance 248.36.
Read as azimuth 242.2583°; latitude -115.608, departure -219.812; B at N 4,884.392, E 4,780.188.
296.565 in, then N 45°30'15" E in.
296.565° gives N 63°26'06.0" W (WNW). N 45°30'15" E gives 45.5042°, back azimuth 225.5042°.
New York to Los Angeles and back: why the two azimuths are not 180° apart
Run the GPS mode from New York (40.7128, -74.0060) to Los Angeles (34.0522, -118.2437). The initial azimuth is 273.6871°, a hair north of due west, and the final azimuth on arrival is 245.9188°. Swap the points and the trip from Los Angeles starts at 65.9188°. If the Earth were flat, the return azimuth would be 273.6871° minus 180°, which is 93.6871°. It is almost 28° off from that.
The shortest route on a sphere is an arc of a great circle, and the angle it makes with the meridians changes as you travel. Leaving New York, the arc bulges north before it bends down to Los Angeles, so it starts slightly north of west and ends well south of west. The calculator therefore prints three directions in this mode: the initial azimuth, the final azimuth at B, and the azimuth from B back to A. The last one equals the final azimuth plus 180°, which is exactly how Movable Type Scripts defines the final bearing. The distance between the two cities on the 6,371 km sphere is 2,445.6 mi.
For a pilot or a sailor, holding the initial azimuth is not the same as following the great circle. A constant heading is a rhumb line, which is longer on east-west routes. Over a short leg like the National Mall case the difference disappears: initial and final azimuth differ by less than 0.01°.
Grid north, true north and magnetic north
"Azimuth" always needs a north to be measured from, and there are three of them in practice.
Grid north is the direction of the northing axis on a map projection: state plane coordinates, UTM, or a local site grid. The northing and easting mode and the point B mode work in this north, because that is the only north the numbers know about. On a projected grid, grid north and true north differ by the convergence angle, which grows with the distance from the central meridian of the zone. The calculator does not apply it; your survey software or the zone parameters give it when you need true azimuths from grid coordinates.
True north points along the meridian to the geographic North Pole. The GPS mode measures in true north, as stated by Movable Type Scripts, whose formulas it uses.
Magnetic north is where a compass needle points. The angle between it and true north is the magnetic declination, which depends on where you are and drifts from year to year, so a compass reading and a computed azimuth only agree after you add or subtract the local declination. NOAA publishes the current value for any location through its magnetic field calculators.
Azimuth and bearing questions from the field and the classroom
Related tools
Coordinate Calculator
Distance and midpoint between two x, y points - See the calculator
Angle Unit Converter
Degrees, radians, gradians and more, for angles outside the compass - See the calculator
Polygon Area Calculator
Area of a parcel from the same northing and easting corners - See the calculator
Triangle Angle Calculator
Interior angles of a triangle from its sides - See the calculator
Pythagorean Theorem Calculator
The same square root that turns latitude and departure into a distance - See the calculator
Linear Interpolation Calculator
Values between two known points, for stations along a line - See the calculator
Distance Converter
Miles, kilometers, nautical miles and feet - See the calculator