Bearing & Destination

Calculate bearing and destination point from start, bearing, distance

CRS & Projections

Starting Point

Bearing & Distance

Destination Point

Origin
40.712800, -74.006000
Destination
41.345636, -73.158950
Forward bearing:45.00° (NE)
Return bearing:225.56° (SW)
Distance:100 kilometers
NESW

How It Works

  • Uses geodesic calculations on the WGS84 ellipsoid
  • Bearing is measured clockwise from true north (0°-360°)
  • Return bearing differs due to Earth's curvature
  • Supports multiple distance units including nautical miles

What Is Bearing and Destination Calculation?

Bearing and destination calculation is a pair of navigation primitives that every GIS analyst, surveyor, pilot, and ship's officer needs at some point. Given two latitude/longitude points, the bearing is the compass direction from the first to the second, expressed as an angle from 0° (true north) to 360°. Given a starting point, an initial bearing, and a distance, the destination calculation finds the endpoint — the place you arrive if you travel that far in that direction over Earth's curved surface.

These operations sit at the core of the great-circle navigation toolkit. Before GPS, seafarers and aviators solved these problems with spherical trigonometry; today the same formulas are implemented in Turf.js (turf.bearing, turf.destination), PostGIS (ST_Azimuth, ST_Project), and GeographicLib for ellipsoidal accuracy. Our browser-based bearing calculator gives you the same math without any install, using the haversine / forward azimuth formulas for sphere-based accuracy and Vincenty's direct and inverse formulas for ellipsoidal precision when millimeters matter.

A bearing is sometimes called a heading, azimuth, course, or direction. The "initial bearing" (also called forward azimuth) is the direction at the start of the route; on a long great circle the actual heading changes continuously, so the "final bearing" at the destination is different from the initial one. For rhumb-line navigation (constant heading), initial and final bearings are the same by definition, at the cost of a longer path.

How Bearing and Destination Work

Forward Azimuth (Bearing from Two Points)

Given φ₁, λ₁ at the start and φ₂, λ₂ at the destination, the initial great-circle bearing is:

y = sin(Δλ) · cos(φ₂)
x = cos(φ₁)·sin(φ₂) − sin(φ₁)·cos(φ₂)·cos(Δλ)
θ = atan2(y, x)

θ is in radians; convert to degrees and normalize to [0, 360). This is the "initial bearing" — the direction you head at the start. For the final bearing at the destination, compute the reverse (from destination to start) and add 180°.

Direct Problem (Destination from Start + Bearing + Distance)

Given a start (φ₁, λ₁), a bearing θ, and an angular distance δ (= distance / Earth radius), the destination (φ₂, λ₂) is:

φ₂ = asin(sin(φ₁)·cos(δ) + cos(φ₁)·sin(δ)·cos(θ))
λ₂ = λ₁ + atan2(sin(θ)·sin(δ)·cos(φ₁), cos(δ) − sin(φ₁)·sin(φ₂))

This "direct problem" is used for dead reckoning, radio propagation modeling, search patterns, and any time you need to project a point by a known heading and distance.

Spherical vs Ellipsoidal

Haversine and the simple azimuth formulas assume a spherical Earth and are accurate to about 0.5%. For higher precision use Vincenty's formulas on the WGS84 ellipsoid (millimeter accuracy) or Karney's geodesic algorithm (always convergent, equally accurate).

Key Parameters and Options

Mode

Choose "Bearing from two points" (given A and B, find the heading) or "Destination from bearing and distance" (given A, a heading, and a distance, find B).

Calculation Accuracy

Pick spherical (haversine/azimuth) for speed, or ellipsoidal (Vincenty/Karney) for surveying-grade accuracy.

Angular Format

Bearings can be displayed as decimal degrees, DMS, or compass quadrant (N 45° E). The Coordinate Format Converter is a sibling tool for more format options.

Distance Units

Meters, kilometers, statute miles, nautical miles, or feet. Nautical miles are common in aviation and maritime work.

Practical Applications

Marine Navigation

Bridge officers compute bearings to landmarks and lighthouses for position fixing, and project dead-reckoning positions from the last known fix using a bearing and a speed-times-time distance. Although modern ships have GPS, the mathematical skills are still taught and required for backup. The bearing calculator lets navigators verify GPS answers against manual calculations.

Aviation Flight Planning

Pilots plan great-circle routes by computing bearings between waypoints and projecting legs from one fix to the next. VOR-to-VOR courses, GPS direct-to routes, and holding pattern entries all involve bearing math. The calculator supports nautical miles and true heading output directly.

Search and Rescue Patterns

SAR coordinators dispatch aircraft and vessels along expanding square, sector, and parallel track patterns that are defined by a start point, initial heading, and leg distance. Destination calculation projects each leg's endpoint precisely, which is critical when aircraft fuel is limited.

Radio Propagation Modeling

Amateur radio operators, microwave link engineers, and broadcast engineers need bearings between transmitter and receiver for antenna pointing, path loss calculations, and licensing. A 1° bearing error at 100 km translates to about 1.7 km of offset — enough to miss the target antenna.

Survey Control Networks

Survey crews set up baselines using a known starting monument, a bearing, and a measured distance. On a modern total station this is automatic; on a legacy theodolite or for hand-checking, the bearing/destination math is essential.

Military and Humanitarian Operations

Artillery, drone operations, and humanitarian airdrop planning all use bearing and destination calculations to project positions and validate targeting. The browser tool is ideal for field staff who need quick answers without relying on a desktop system.

Archaeology and Geodesy

Archaeologists laying out excavation grids, surveyors re-establishing obliterated corners, and geodesists verifying control network accuracy all need precise bearing/destination math. Ellipsoidal accuracy matters here.

Step-by-Step Workflow in gis.tools

  1. Open the Bearing & Destination tool in your browser.
  2. Pick the mode — "Bearing from two points" or "Destination from bearing + distance".
  3. Enter the start coordinates in decimal degrees (or paste as DMS).
  4. For bearing mode, enter the end coordinates. For destination mode, enter the initial bearing and distance.
  5. Pick accuracy (spherical or ellipsoidal) and units.
  6. Click Calculate. The result appears with a small map preview showing the start, end, and great-circle path.
  7. Export the computed endpoint as a GeoJSON Point or copy to clipboard.
  8. For visualizing the full route, feed the start/end into the Great Circle Route generator.

Worked Example

A search and rescue planner needs to dispatch a Coast Guard helicopter from Barbers Point Naval Air Station (21.312 N, 158.076 W) on a 215° true heading for 120 nautical miles to investigate a distressed vessel report. She enters the start coordinates, mode "Destination", bearing 215°, distance 120 nm, and picks the ellipsoidal method. The calculator returns the target position at about 19.67 N, 159.25 W — a specific point southwest of Oahu. She copies the result into the flight plan, computes the return bearing (which differs from 215° − 180° because of great-circle curvature), and the helicopter launches. The whole calculation took 30 seconds and ran entirely in her browser — no sensitive operational data went to any server.

Common Pitfalls and Gotchas

  • Confusing true and magnetic bearing: True bearing is from geographic north; magnetic bearing is from magnetic north. The difference (magnetic declination) can be 20° or more in some regions.
  • Initial vs final bearing: On a long great-circle route the heading changes continuously. The "initial" bearing is only the direction at the start.
  • Antimeridian crossing: Routes that cross ±180° longitude need careful handling.
  • Polar paths: Near the poles, small distance errors produce large bearing errors.
  • Units confusion: A 100 km bearing and a 100 nm bearing project to different points. Always verify units.
  • Using rhumb lines when you mean great circles: Rhumb-line bearings are constant but paths are longer; great-circle bearings are shorter but change along the route.
  • Precision mismatch: A bearing reported to four decimal places doesn't make sense if the input coordinates are only accurate to meters.
  • Reverse bearing sign: Some tools return bearings in [-180, 180]; normalize to [0, 360] for compass display.

Tips for Best Results

  • Be explicit about whether you want true or magnetic bearing. This tool returns true bearing; subtract local declination for magnetic.
  • Use ellipsoidal accuracy for anything longer than 100 km if precision matters.
  • Double-check axis order — some inputs expect (lat, lon), others (lon, lat).
  • For continuous heading updates on a long route, re-compute bearing at intermediate waypoints.
  • Cross-reference the destination on a map preview before acting on it.
  • Pair bearing math with the Distance Calculator to verify consistency.

Comparison with Other GIS Approaches

Turf.js turf.bearing() / turf.destination(), PostGIS ST_Azimuth / ST_Project, and GeographicLib all provide the same operations. QGIS has them in its processing toolbox. ArcGIS Pro offers Generate Points Along Lines and Bearing Distance To Line. Our browser tool offers instant startup, both spherical and ellipsoidal modes, and preserves privacy by running entirely client-side.

Performance Considerations

Bearing and destination calculations are trivial — a few trig operations per input. Millions per second are possible. The browser is never the bottleneck.

Data Privacy and Browser-Based Processing

SAR coordinates, military targets, survey control points, and confidential infrastructure are common inputs. All calculation happens locally in JavaScript; nothing is uploaded or logged. Close the tab and the data is gone.

Related GIS Concepts

  • True north vs magnetic north: The difference between the pole of Earth's rotation axis and the pole of its magnetic field.
  • Declination (variation): The angular offset between true and magnetic bearing at a specific location.
  • Rhumb line (loxodrome): A path of constant bearing; longer than a great circle but simpler to follow.
  • Great circle: The shortest path between two points on a sphere.
  • Dead reckoning: Estimating current position from a known starting point, bearing, and distance traveled.

Frequently Asked Questions

How do I calculate the bearing between two points?

Enter both coordinates in the tool, pick "Bearing from two points", and click Calculate. The result is the initial great-circle bearing in degrees from true north.

What's the difference between initial and final bearing?

On a long great-circle route the heading changes continuously. The initial bearing is the direction at the start; the final bearing is the direction at the end. They differ by up to several degrees over long routes.

How do I find a destination point?

Pick "Destination from bearing + distance", enter the start coordinates, bearing, and distance, and click Calculate. The tool returns the endpoint's latitude and longitude.

Is the output true bearing or magnetic?

True bearing (referenced to geographic north). Subtract local magnetic declination to convert to magnetic.

How accurate is the ellipsoidal mode?

Sub-millimeter over any distance on Earth. Suitable for surveying-grade work.

Related Tools on gis.tools

100% client-side processing - your data stays private and never leaves your device