Bearing & Navigation Calculator

Calculate compass bearings, distances, and new positions using trigonometry. The same math used by sailors, pilots, and land surveyors.

Home / Calculators / Bearing & Navigation Calculator

Bearing & Navigation Calculator

Use trigonometry for real-world navigation. Calculate bearings, distances, and new positions using the same math that sailors, pilots, and surveyors use every day.

Find Bearing & Distance

Given two points, calculate the compass bearing and straight-line distance between them.

N S E W

Results

Calculate New Position

Given a starting point, a compass bearing, and a distance, find where you end up.

Start End

Results

Navigation Triangle

A ship/plane travels on two legs. Enter the bearing and distance for each leg to find the direct return bearing and distance.

Diagram updates on calculate

Results

Compass Bearings Reference

0°/360°
North
45°
NE
90°
East
135°
SE
180°
South
225°
SW
270°
West
315°
NW

Understanding Bearings and Navigation with Trigonometry

Bearings are the standard way to describe direction in navigation, surveying, and aviation. A bearing is measured clockwise from north, ranging from 0 to 360 degrees. Unlike mathematical angles (which start at the positive x-axis and go counterclockwise), compass bearings start at north (up) and rotate clockwise. This convention aligns with how compasses work and how maps are oriented.

Trigonometry is the mathematical engine behind all navigation calculations. Whether you are plotting a course across the ocean, surveying a plot of land, or programming a drone's flight path, the sine, cosine, and tangent functions allow you to convert between bearings, distances, and coordinate displacements. Every GPS device, nautical chart, and aviation instrument relies on these fundamental relationships.

Key Formulas for Bearing Calculations

To find the bearing and distance between two points given their coordinates, use these formulas:

Distance = √(ΔX² + ΔY²)
Bearing = 90° − atan2(ΔY, ΔX) (mod 360°)

To find a new position given a starting point, bearing, and distance:

ΔX = distance × sin(bearing)
ΔY = distance × cos(bearing)

These formulas use the convention that bearings are measured clockwise from north. The atan2 function returns the mathematical angle, which must be converted to a compass bearing by subtracting from 90 degrees and normalizing to the 0-360 range.

Worked Example: Finding the Bearing

A hiker starts at coordinates (0, 0) and walks to (3, 4). What are the bearing and distance?

  1. Calculate ΔX = 3 and ΔY = 4
  2. Distance = √(9 + 16) = √25 = 5 units
  3. Math angle = atan2(4, 3) = 53.13°
  4. Bearing = 90° − 53.13° = 36.87° (just east of north-northeast)

Real-World Applications

Navigation Triangles

When a vessel or aircraft travels on two different headings (legs), the result is a navigation triangle. The starting point, the turning point, and the final destination form the vertices of a triangle. Using component-based vector addition with sine and cosine, you can calculate the direct return bearing and distance without having to retrace the original two-leg path. This technique is fundamental to dead reckoning navigation.

Frequently Asked Questions

What is the difference between a bearing and an azimuth?
In most modern usage, bearing and azimuth are synonymous. Both measure direction clockwise from north, ranging from 0 to 360 degrees. Historically, "bearing" sometimes referred to a quadrant-based system (e.g., N 45° E), while "azimuth" always used the 0-360 system. Today, the 0-360 convention is standard in navigation, surveying, and military applications.
How do compass bearings differ from mathematical angles?
Mathematical angles are measured counterclockwise from the positive x-axis (pointing east), starting at 0°. Compass bearings are measured clockwise from north (pointing up), starting at 0°. To convert a math angle to a bearing, use: bearing = (90° − math angle + 360°) mod 360°. This difference is a common source of errors when programming navigation software.
Can this calculator handle latitude and longitude coordinates?
This calculator works with flat (Cartesian) coordinate systems, which are accurate for short distances. For calculations involving latitude and longitude over long distances, you need the Haversine formula or Vincenty's formulae, which account for Earth's curvature. For distances under a few hundred kilometers, the flat-Earth approximation used here is quite accurate.
What is a back bearing or reciprocal bearing?
A back bearing (or reciprocal bearing) is the reverse direction of a given bearing. It is calculated by adding or subtracting 180 degrees. If the forward bearing is less than 180°, add 180°. If it is 180° or more, subtract 180°. For example, the back bearing of 45° is 225°, and the back bearing of 300° is 120°. Back bearings are essential for return navigation and position fixing by triangulation.
How do I use a bearing with a topographic map?
Place your compass on the map with the direction-of-travel arrow pointing from your current position toward your destination. Rotate the compass housing until the orienting lines align with the map's north-south grid lines. Read the bearing at the index mark. Remember to account for magnetic declination (the difference between true north and magnetic north) for your region when following the bearing in the field.