Bearing Angle Calculator

Initial bearing51.2°
Back bearing231.2°
Longitude difference73.88°
How this was calculated
  1. The points are separated by 73.88 degrees of longitude and 10.79 degrees of latitude, measured on the sphere.
  2. Apply the great-circle initial-bearing formula - atan2(sin dLon x cos lat2, cos lat1 x sin lat2 - sin lat1 x cos lat2 x cos dLon) - which gives 51.2 degrees clockwise from north.
  3. The back bearing for the return leg is 180 degrees away: 231.2 degrees. The bearing changes continuously along a great-circle route, so this is the heading at departure, not a constant course.

The Bearing Angle Calculator gives you the initial bearing between two points: the direction, measured clockwise from north, in which a great-circle route leaves its starting point. Enter the coordinates of your start and end points and the calculator returns that departure angle. The results can surprise people who picture routes on a flat map. A flight from New York (40.7128, -74.0060) to London (51.5074, -0.1278) departs on an initial bearing of 51.2 degrees. Los Angeles to Tokyo departs at 306.1 degrees, which is northwest, because the great circle arcs toward the pole. Sydney to Perth departs at 263.8 degrees, just south of due west. The back bearing is always 180 degrees from the bearing measured at the other end, but a great-circle bearing changes continuously along the route, so the arrival heading differs from the departure heading.

The method behind the calculator is the standard spherical great-circle calculation, which is the accepted approach for this kind of bearing. It treats the Earth as a sphere and measures the departure direction along the shortest path between two points, which is why the results match the headings used in navigation and flight planning rather than the straight lines of a flat map. This page shows the formula the calculator uses, the step-by-step workings, worked examples for the routes described above, and the sources behind the method, so you can check every result yourself instead of taking the number on trust.

Worked examples

New York to London

New York to London departs on an initial bearing of 51.2° - northeast, up over the Atlantic. (40.7128 deg · -74.006 deg · 51.5074 deg · -0.1278 deg)

Initial bearing51.2°
Back bearing231.2°
Longitude difference73.88°

Los Angeles to Tokyo

Los Angeles to Tokyo departs at 306.1°, northwest across the Pacific. (34.0522 deg · -118.2437 deg · 35.6762 deg · 139.6503 deg)

Initial bearing306.1°
Back bearing126.1°
Longitude difference-102.11°

Sydney to Perth

Sydney to Perth crosses the continent on 263.8°, just south of due west. (-33.8688 deg · 151.2093 deg · -31.9505 deg · 115.8605 deg)

Initial bearing263.8°
Back bearing83.8°
Longitude difference-35.35°

What an initial bearing is

A bearing is a heading measured clockwise from north, running from 0 to 360 degrees. North is 0, east is 90, south is 180, and west is 270. The initial bearing is the direction in which a great-circle route leaves its starting point — the heading you would follow at departure if you traveled along the shortest path between two points on the globe. A bearing angle calculator gives you that number for a chosen pair of coordinates, but it is worth understanding what the number describes before you use it.

The key point is that the initial bearing is not a constant course. On a great-circle route, the heading changes continuously as you move along the path. A compass heading that works at the start of the trip will not hold for the whole journey. The initial bearing describes only the departure direction; it is the first instruction, not the full set of directions.

Real routes show how this plays out. From New York (40.7128, -74.0060) to London (51.5074, -0.1278), the departure heading is 51.2 degrees — northeast. From Los Angeles to Tokyo, the initial bearing is 306.1 degrees, which points northwest. That can look wrong on a flat map, where Tokyo sits to the west, but the great circle arcs toward the pole, so the route starts out heading north of west. Sydney to Perth departs at 263.8 degrees, just south of due west.

The back bearing adds another layer. Measured at the other end of the line, the return heading is always 180 degrees from the bearing at that end — but because a great-circle bearing changes along the route, the heading you would use to travel back is not simply the outbound initial bearing plus 180. Each end of the route has its own bearing, and each is correct for its own location.

The initial bearing is the departure heading on the shortest path, not a course you can hold for the entire trip.

The bearing formula

A bearing angle calculator does its work with one compact formula drawn from spherical trigonometry. The formula takes the coordinates of two points on the globe and returns the initial bearing: the direction, measured clockwise from north, in which a great-circle route leaves its starting point. The expression is usually written with the atan2 function, which takes two arguments and returns an angle in the correct quadrant, so the result covers the full circle from 0 to 360 degrees rather than only half of it.

The two arguments to atan2 are built from the latitudes and longitudes of the start and end points. The first argument is the sine of the longitude difference multiplied by the cosine of the destination latitude. The second is the cosine of the starting latitude times the sine of the destination latitude, minus the sine of the starting latitude times the cosine of the destination latitude times the cosine of the longitude difference. The bearing is the arctangent of the first argument divided by the second, evaluated with atan2 so the signs of both arguments set the quadrant.

Read piece by piece, the formula mirrors the geometry of a route on a sphere. The longitude difference captures how far east or west the destination lies. The destination latitude term accounts for how far north or south it sits, and because latitude lines shrink toward the poles, the cosine factors correct for that narrowing. The subtraction in the second argument compares the two starting and ending positions in a way that keeps the result anchored to north, which is why the output is measured clockwise from north rather than from the x-axis of a flat map.

Worked examples show what the numbers mean. New York (40.7128, -74.0060) to London (51.5074, -0.1278) departs on an initial bearing of 51.2 degrees, a northeast course across the Atlantic. Los Angeles to Tokyo departs at 306.1 degrees, which reads as northwest rather than west because the great circle arcs toward the pole. Sydney to Perth departs at 263.8 degrees, just south of due west. Each figure is the direction the route leaves its starting point, not a constant heading for the whole trip.

That last point deserves emphasis when you use a bearing angle calculator. The back bearing is always 180 degrees from the bearing measured at the other end, but a great-circle bearing changes continuously along the route. A single calculated value describes the departure direction only; it does not stay fixed as you travel.

  • First argument: sin(longitude difference) × cos(destination latitude)
  • Second argument: cos(start latitude) × sin(destination latitude) − sin(start latitude) × cos(destination latitude) × cos(longitude difference)
  • Result: atan2 of the first argument over the second, giving a bearing clockwise from north
The formula returns the initial bearing — the direction the route leaves its starting point. On a great circle, the bearing keeps changing as you move, so the departure value is not a constant heading.

Worked examples

A bearing angle calculator turns two sets of coordinates into a single number: the direction a great-circle route leaves its starting point. The three routes below show how that number behaves, and why the reverse direction is not simply the outbound figure plus 180 degrees.

New York (40.7128, -74.0060) to London (51.5074, -0.1278) departs on an initial bearing of 51.2 degrees. That is northeast, the expected direction across the North Atlantic, and it matches the picture most people carry of a flight from the East Coast to Britain. The number describes only the departure: a great-circle bearing changes continuously along the route, so 51.2 degrees is the heading at New York, not a fixed course for the whole crossing.

Los Angeles to Tokyo departs at 306.1 degrees — northwest, because the great circle arcs toward the pole. On a flat map this looks wrong, since Tokyo sits far to the west and only slightly north of Los Angeles. The route bends north over the Pacific instead of running straight across the page, so the airplane leaves heading northwest and gradually turns as it goes. This is the example that most often sends people looking for a bearing angle calculator, because the answer contradicts what a straight line on a wall map suggests.

Sydney to Perth departs at 263.8 degrees, just south of due west. The two cities sit at similar latitudes, so due west is the intuitive guess, but the great circle dips slightly south before curving back. The gap between 263.8 degrees and 270 degrees is small, yet it is the kind of detail a calculator surfaces and an eyeball estimate misses.

Back bearings need care. The back bearing is always 180 degrees from the bearing measured at the other end — but a great-circle bearing changes continuously along the route, so the outbound number is not a reliable basis for the return leg. The correct return bearing is measured at the destination, from that point's own coordinates, and then compared with the reciprocal of the outbound figure. For New York to London, 51.2 degrees plus 180 gives 231.2 degrees as the reciprocal, but the true London-to-New York bearing should be calculated from London's position. The same applies to Los Angeles to Tokyo and Sydney to Perth: treat each endpoint as a fresh starting point.

  • New York (40.7128, -74.0060) to London (51.5074, -0.1278): initial bearing 51.2 degrees (northeast).
  • Los Angeles to Tokyo: initial bearing 306.1 degrees (northwest, arcing toward the pole).
  • Sydney to Perth: initial bearing 263.8 degrees (just south of due west).
  • Back bearing: always 180 degrees from the bearing measured at the other end, which must be computed at that endpoint.
The initial bearing describes the departure only. Because a great-circle bearing changes continuously along the route, compute the back bearing at the destination rather than adding 180 degrees to the outbound figure.

Great-circle vs rhumb line

A bearing angle calculator answers a simple question: which way do I point when I leave? The answer depends on the kind of path you follow. A great-circle route is the shortest path between two points on a sphere. Its initial bearing is the direction, measured clockwise from north, in which a great-circle route leaves its starting point. A rhumb line takes a different approach: it holds one constant bearing for the whole trip. That consistency is convenient, but it costs distance. The great circle is shorter, and the price of that savings is a bearing that keeps changing as you travel.

Real routes show how much the starting direction can differ from what a flat map suggests. New York (40.7128, -74.0060) to London (51.5074, -0.1278) departs on an initial bearing of 51.2 degrees, a northeast heading. Los Angeles to Tokyo departs at 306.1 degrees, which is northwest, because the great circle arcs toward the pole. Sydney to Perth departs at 263.8 degrees, just south of due west. Each number is the direction at the start only. Follow the route and the bearing drifts, sometimes by a lot.

This is why flight routes look curved on flat maps. A flat map stretches the sphere onto a rectangle, and a great circle drawn on that rectangle bends. The curve is not the airplane wandering; it is the shortest path projected onto a flat surface. A rhumb line, by contrast, draws as a straight line on many common maps because it keeps one bearing. The straight-looking line is the longer route. The curved-looking line is the shorter one, and its bearing is the one your calculator reports at departure.

The back bearing is always 180 degrees from the bearing measured at the other end, but a great-circle bearing changes continuously along the route. That distinction matters when you reverse a trip. The bearing you would use to fly home is not simply the outbound bearing plus 180 degrees, because the great circle's direction at the far end differs from its direction at the start. A bearing angle calculator gives you the departure direction; a rhumb line gives you a heading you can hold. Knowing which one you need keeps the numbers honest.

A rhumb line holds one bearing but is longer; a great circle saves distance by letting the bearing drift.

FAQs

What is a bearing angle?

A bearing angle is a direction measured clockwise from north, running from 0 to 360 degrees. North is 0, east is 90, south is 180, and west is 270. Because it always starts from north and turns clockwise, a bearing gives a single unambiguous heading rather than a compass point you have to interpret.

How do you calculate the bearing between two points?

Use the great-circle formula, which takes both latitudes and the difference in longitude between the two points. For example, New York to London gives an initial bearing of 51.2 degrees. The calculator applies this formula to the coordinates you enter and returns the starting heading in degrees.

What is the difference between bearing and back bearing?

The back bearing is the return heading from the destination, 180 degrees away from the initial bearing measured there. In other words, it tells you which way to face to head back to where you started. The calculator reports the initial bearing first, and the back bearing describes the trip in reverse.

Why does the bearing change along a flight?

A great circle is not a line of constant heading. As you travel along it, the bearing shifts, so the heading you start with is not the heading you finish with. Only at the equator or along a meridian does the bearing stay fixed. This is why the initial bearing and the final approach differ.

Is the bearing the same in both directions?

No. The return initial bearing is generally not simply the outward bearing plus 180, because it is measured from the other endpoint's meridian. Each endpoint has its own reference direction, so the two headings are not exact opposites. The calculator computes each bearing from its own starting point.

What coordinates does the calculator need?

Enter latitude and longitude in decimal degrees for both points. Use negative values for south and west, and positive values for north and east. For example, a western longitude is written with a minus sign. With both coordinate pairs entered, the calculator returns the initial bearing between the two locations.

Sources

Related calculators

Angle Between Two Vectors Calculator
The angle between two 3D vectors from their dot product — in degrees and radians, with the cosine shown.
Polar Coordinates Calculator
Convert points between rectangular (x, y) and polar (r, theta) coordinates, both directions, with the angle in degrees and radians.
Chebyshev Distance Calculator
Chebyshev (chessboard) distance between two points: the larger of the horizontal and vertical gaps - the number of moves a chess king needs.