Bearing Calculator
Enter two places or click a map and get the true and magnetic bearing from one to the other, the bearing on arrival, the back bearing and the constant-heading rhumb line.
Or click the map: first click sets A, second sets B. Solid line: shortest path. Dashed: the straight line on this map, which is the constant-heading rhumb line.
How to find the bearing between two points
- Enter both places. Type addresses, place names or coordinates for A and B, then press 'Get bearing'. Or click the map twice.
- Read the true bearing. The headline gives the direction to set off from A, in degrees clockwise from true north, with its compass point.
- Use the magnetic bearing with a compass. It subtracts today's magnetic declination at A, from the World Magnetic Model.
- Check the other bearings. The arrival bearing, the back bearing and the constant-heading rhumb line are listed below.
When you need a bearing
Taking a compass heading on a hike
Use the magnetic bearing; the compass needle points to magnetic north, not true north.
Aiming a satellite dish or antenna
The initial true bearing is the azimuth to the other station along the shortest path.
Boating and flying
The rhumb line is the single heading that gets you there without turning; the great-circle bearing is shorter but changes.
Orienteering and map work
Compare the map bearing with the magnetic one before setting the compass.
Surveying a property line
Get the bearing between two corner coordinates.
Ham radio beam headings
Point a directional antenna toward a distant station.
Solar and wind site planning
Find the direction from a site to a landmark or obstruction.
Drone flight planning
Set a heading between two waypoints.
How the bearings are calculated
The initial and final bearings come from Vincenty's inverse formula on the WGS84 ellipsoid — the shortest path over the surface (a geodesic). Bearings are measured clockwise from true north, 0° to 360°.
Magnetic declination is the angle between true north and the direction a compass needle points. It is computed for point A at sea level and today's date from the World Magnetic Model 2025, the model published by NOAA's National Centers for Environmental Information and the British Geological Survey and used by GPS receivers and smartphones. Magnetic bearing = true bearing − declination, with east declination positive. Local rocks, buildings and vehicles can deflect a real compass beyond the model.
The rhumb line keeps one compass heading the whole way. It is a straight line on a Mercator chart but longer than the shortest path, especially at high latitudes and over long distances. It is computed with the spherical formulas in Ed Williams' Aviation Formulary.
All calculations run in your browser. Place names are looked up with the Photon geocoder (OpenStreetMap).
Frequently asked questions
What is the difference between true and magnetic bearing?
A true bearing is measured from true (geographic) north. A magnetic bearing is measured from where a compass needle points, which differs by the magnetic declination — from zero to more than 20° depending on where you are.
Why is the bearing on arrival different?
The shortest path over a sphere or ellipsoid curves relative to the meridians, so the heading changes along the way. Only routes along a meridian or the equator keep the same bearing.
What is a back bearing?
The bearing from B back to A along the same path. It is the arrival bearing plus 180°.
Which bearing should I follow?
For short distances they are nearly the same. Over long distances, a constant heading (rhumb line) is simpler to steer but longer; great-circle routes are shorter but need the heading updated as you go.
How accurate is the magnetic declination?
WMM2025 models the Earth's main field, which changes slowly; local anomalies from rocks, steel and power lines are not in the model and can be larger than its own error. Near the magnetic poles compasses are unreliable and the page warns you.
Does it account for elevation?
No. Bearings are on the ellipsoid surface; height makes no practical difference to the direction.
Related tools
As the Crow Flies Distance Calculator
Enter two places and get the straight-line distance between them in miles, kilometres and nautical miles, measured on the WGS84 ellipsoid, with the compass bearing and the route on a map.
Vincenty (1975) geodesic on the WGS84 ellipsoid
Halfway Point Between Two Cities Calculator
Enter two cities or addresses and get the exact halfway point between them — or any split you choose — with the nearest named place and the distance from each side.
Vincenty (1975) geodesic midpoint on WGS84, OpenStreetMap place names
Random Location Generator
Generate truly uniform random coordinates anywhere on Earth, inside a box, or within a radius of a place — with an option to skip open sea and the points shown on a map.
Uniform sphere point picking (MathWorld) with Web Crypto randomness
Radius Map
Draw one or more true-distance circles in miles or kilometres around any address on a map, see the area each covers, and check whether another place falls inside.
Geodesic circles on WGS84 over OpenStreetMap tiles
Distance Between Two Places
Enter any two addresses or places and get both the straight-line distance and the driving, cycling or walking distance and time, drawn on a map.
Vincenty on WGS84; OSRM routing over OpenStreetMap (FOSSGIS)
Distance Between Cities
Pick any two US cities or towns from the Census list of 32,000 places and get the miles between them in a straight line and by road, plus the distance to the largest US cities.
Census 2024 Gazetteer place points; OSRM driving routes







