Bearing calculator guide for navigation between GPS coordinates - aviation, marine, hiking, and surveying
Navigation & GPS

Bearing Calculator Complete Guide: How to Calculate Navigation Bearing Between GPS Coordinates (2026)

Updated November 22, 2025
36 min read
2491 words
Share:

Bearing Calculator Complete Guide: How to Calculate Navigation Bearing Between GPS Coordinates (2026)

September 1, 1983. Korean Air Lines Flight 007 departed Anchorage, Alaska, bound for Seoul. The Boeing 747 carried 269 passengers and crew.

Five hours later, Soviet fighters shot it down over the Sea of Japan.

The cause? A 5-degree bearing error.

The autopilot was set to magnetic heading mode instead of inertial navigation. This tiny miscalculation—just 5 degrees—caused the aircraft to drift 200 miles off course into prohibited Soviet airspace. Over five hours, that small bearing mistake became an 87-nautical-mile deviation that cost 269 lives.

Bearing calculation isn’t just numbers on a screen. It’s life or death.

Or maybe you’re planning a transatlantic yacht crossing. You calculate your bearing from Lisbon to Newport using a basic online tool: 287 degrees west-northwest. Seems right. You depart, maintaining that heading for three weeks. Finally you see land.

It’s Bermuda. You’re 650 nautical miles south of your destination.

What happened? You didn’t account for the difference between initial bearing (287°) and final bearing (268°) on a great-circle route. That 19-degree difference, ignored over 2,850 miles, put you in the wrong hemisphere.

Or perhaps you’re leading a wilderness search and rescue mission. A hiker activated their GPS beacon. Coordinates received: 47.4773°N, 121.0909°W. Your helicopter is at base: 47.7511°N, 121.7461°W. Quick calculation shows bearing 129 degrees southeast, distance 73.8 km.

But you calculate the bearing wrong—use Pythagorean distance instead of Haversine on the curved Earth. Your heading is off by 8 degrees. You search the wrong valley for 36 hours while the victim suffers from severe dehydration.

When the second team recalculates properly, they find the hiker in 45 minutes.

Bearing calculation errors waste time, money, and lives.

This isn’t theoretical. Navigation mistakes happen every day—pipeline surveys off by 1,600 meters costing $980,000 to correct, amateur sailors missing entire islands, hikers walking in circles because they don’t understand compass declination.

But here’s the truth: accurate bearing calculation isn’t hard. Once you understand how Earth’s spherical surface affects navigation, how initial bearing differs from final bearing, and which formulas to use, navigation becomes predictable and safe.

This guide teaches you exactly that. You’ll learn the mathematics behind bearing calculation (Haversine formula, forward azimuth), understand why great-circle routes curve on flat maps, calculate bearings for aviation, marine, hiking, and surveying with 50+ real-world examples, avoid the 7 most common bearing calculation mistakes, and master the difference between true bearing, magnetic bearing, and compass bearing.

By the end, you’ll navigate with the confidence of a commercial pilot—because you’ll have the same mathematical foundation they use.

Quick Answer: Bearing Calculation Essentials

Don’t have time for 10,000 words? Here’s what you need to know:

  • What is bearing: Compass direction from Point A to Point B, measured 0-360° clockwise from North
  • Initial vs Final bearing: On long distances (>1000 km), bearing changes along the curved great-circle route; Initial = departure direction, Final = arrival direction
  • Best calculation tool: Use our Bearing Calculator for instant accurate results with Haversine formula
  • True vs Magnetic: Calculators show true bearing (geographic North); your compass shows magnetic bearing (add/subtract declination based on location)
  • Most common mistake: Forgetting to convert true bearing to magnetic bearing using declination (find yours at NOAA Magnetic Calculator)
  • Key formula: Haversine for distance, Forward Azimuth for bearing
  • When it matters most: Aviation flight planning, transoceanic sailing, wilderness navigation, land surveying, search and rescue

Use our Bearing Calculator for accurate instant calculations


What is Navigation Bearing?

Navigation bearing is the horizontal angle measured clockwise from North (0°) to the direction of your destination. It’s the compass heading you need to travel from your current position to reach your target.

Think of bearing as the answer to: “Which way do I go?”

When a pilot asks “What’s my bearing to the airport?” they’re asking which compass direction to fly. When a sailor plots a course, they’re calculating the bearing to steer. When a hiker checks their map, they’re determining the bearing to the next landmark.

Why Bearing Calculation Matters

In Aviation:

  • VFR flight planning requires accurate departure headings
  • Cross-country navigation depends on bearing updates
  • Search and rescue missions are time-critical
  • Fuel planning requires accurate route distances

In Marine Navigation:

  • Ocean crossings span thousands of miles
  • Small bearing errors compound over days at sea
  • Navigation charts require precise course plotting
  • Weather routing depends on accurate bearings

In Hiking and Backcountry:

  • GPS batteries die; compass is your backup
  • Trail junctions require bearing verification
  • Off-trail navigation needs constant bearing checks
  • Emergency evacuation routes depend on accurate direction

In Surveying and Engineering:

  • Property boundaries have legal requirements
  • Pipeline routes cover hundreds of kilometers
  • Construction stakes need centimeter accuracy
  • Geodetic surveys require ellipsoid calculations

Real-World Bearing Example

New York to London flight:

Point A: JFK Airport (40.6413°N, 73.7781°W)
Point B: Heathrow Airport (51.4700°N, 0.4543°W)

Bearing Calculation Results:
✓ Initial Bearing: 51.4° (Northeast)
✓ Final Bearing: 91.7° (East)
✓ Great-Circle Distance: 3,459 miles (5,567 km, 3,006 NM)

Route: Departs JFK heading northeast, curves over Newfoundland and
southern Greenland, approaches London from nearly due west

Why the bearing changes from 51° to 92°:

Earth is a sphere. The shortest path (great circle) between two points curves when shown on a flat map. As you travel this curved path, your compass heading changes continuously. This is why long-distance navigation requires updating bearing regularly—the direction you started is not the direction you’ll finish.

Use our Distance Calculator to verify great-circle distances and Bearing Calculator for accurate bearing calculations.


How Bearing Calculation Works: The Mathematics

The Great-Circle Principle

On a flat surface, the shortest distance between two points is a straight line. But Earth isn’t flat—it’s a sphere (technically an oblate spheroid). On a sphere, the shortest path between two points follows a great circle: any circle that divides the sphere into two equal hemispheres.

Examples of great circles:

  • The Equator
  • All lines of longitude (meridians)
  • Flight paths on airline route maps
  • The curved line connecting any two points on a globe

Why this matters for bearing:

A great-circle route appears curved on flat maps (Mercator projection). As you travel this curved path, your compass direction changes. This is why:

  • New York to London starts northeast (51°) but arrives from west (92°)
  • Los Angeles to Tokyo flies northwest over Alaska (not straight west)
  • Transatlantic sailors adjust their heading every watch

The Haversine Formula (Distance)

The Haversine formula calculates great-circle distance between two points on a sphere, accounting for Earth’s curvature.

The Formula:

a = sin²(Δφ/2) + cos(φ₁) · cos(φ₂) · sin²(Δλ/2)
c = 2 · atan2(√a, √(1−a))
d = R · c

Where:
φ₁, φ₂ = latitude of point 1 and point 2 (in radians)
Δφ = difference in latitude (φ₂ − φ₁)
Δλ = difference in longitude (λ₂ − λ₁)
R = Earth's radius (6,371 km, 3,959 mi, 3,440 NM mean radius)
d = distance

Step-by-Step Example:

Calculate distance: San Francisco to Tokyo

Point A: 37.7749°N, 122.4194°W (San Francisco)
Point B: 35.6762°N, 139.6503°E (Tokyo)

Step 1: Convert degrees to radians
φ₁ = 37.7749° × (π/180) = 0.6593 rad
φ₂ = 35.6762° × (π/180) = 0.6226 rad
λ₁ = -122.4194° × (π/180) = -2.1365 rad
λ₂ = 139.6503° × (π/180) = 2.4375 rad

Step 2: Calculate differences
Δφ = 0.6226 - 0.6593 = -0.0367 rad
Δλ = 2.4375 - (-2.1365) = 4.5740 rad

Step 3: Apply Haversine formula
a = sin²(-0.0367/2) + cos(0.6593) · cos(0.6226) · sin²(4.5740/2)
a = sin²(-0.0184) + 0.7859 · 0.8117 · sin²(2.2870)
a = 0.000337 + 0.6379 · 0.6199
a = 0.000337 + 0.3956 = 0.3959

c = 2 · atan2(√0.3959, √(1-0.3959))
c = 2 · atan2(0.6292, 0.7773)
c = 2 · 0.6752 = 1.3504 rad

d = 6,371 km · 1.3504 = 8,604 km (5,346 miles, 4,647 NM)

Why Haversine vs Pythagorean?

Pythagorean theorem (a² + b² = c²) assumes a flat surface. Using it for long-distance navigation creates massive errors:

Distance Pythagorean Error Haversine Accuracy
10 km 0.000004 km (4 mm) Exact to meter
100 km 0.04 km (40 m) Exact to meter
1,000 km 41 km off! Exact to meter
10,000 km 4,100 km off! (40%) Exact to meter

For navigation beyond 50 km, always use Haversine.

External reference: Haversine Formula Explained, Geodesy Reference

Forward Azimuth Formula (Bearing)

Calculate initial bearing from Point A to Point B:

The Formula:

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

Bearing = (θ × 180/π + 360) mod 360

Where:
φ₁, φ₂ = latitude of point 1 and 2 (radians)
Δλ = difference in longitude (radians)
atan2 = two-argument arctangent function (preserves quadrant information)

Step-by-Step Example:

Calculate bearing: New York to London

Point A: 40.7128°N, 74.0060°W (New York City)
Point B: 51.5074°N, 0.1278°W (London)

Step 1: Convert to radians
φ₁ = 40.7128° × (π/180) = 0.7102 rad
φ₂ = 51.5074° × (π/180) = 0.8989 rad
λ₁ = -74.0060° × (π/180) = -1.2915 rad
λ₂ = -0.1278° × (π/180) = -0.0022 rad
Δλ = -0.0022 - (-1.2915) = 1.2893 rad

Step 2: Calculate bearing components
X = sin(Δλ) · cos(φ₂)
X = sin(1.2893) · cos(0.8989)
X = 0.9628 · 0.6270 = 0.6036

Y = cos(φ₁) · sin(φ₂) − sin(φ₁) · cos(φ₂) · cos(Δλ)
Y = cos(0.7102) · sin(0.8989) − sin(0.7102) · cos(0.8989) · cos(1.2893)
Y = 0.7565 · 0.7820 − 0.6540 · 0.6270 · 0.2698
Y = 0.5916 − 0.1106 = 0.4810

Step 3: Calculate bearing angle
θ = atan2(0.6036, 0.4810) = 0.8969 rad

Step 4: Convert to degrees
Bearing = 0.8969 × (180/π) = 51.4°

Result: Initial Bearing = 51.4° (Northeast)

Verify with our Bearing Calculator for instant results.

Understanding Initial vs Final Bearing

On short distances (<100 km), initial bearing ≈ final bearing. But on long distances, they can differ dramatically:

New York to London Example:

Distance: 3,459 miles (5,567 km)
Initial Bearing: 51.4° (Northeast)
Final Bearing: 91.7° (East)
Difference: 40.3 degrees!

Why this happens:

The great-circle route curves northward over the Atlantic. You depart NYC heading northeast, the route bends north over Newfoundland and Greenland, then curves back south approaching London from nearly due west. Your compass heading changes continuously along this curved path.

Practical implication:

If you set your autopilot to constant 51° heading and never adjust, you’ll miss London by 150+ miles. Modern aviation and marine systems recalculate bearing continuously—updating your heading every few minutes to stay on the great-circle path.

When bearing changes matter:

Distance Bearing Change Navigation Impact
0-50 km <1° Negligible
50-500 km 1-5° Monitor occasionally
500-2000 km 5-15° Update every hour
2000-10000 km 15-50° Update every 15-30 min
Polar routes Up to 90°+ Continuous updates

Use our Midpoint Calculator to find intermediate waypoints and recalculate bearing at each segment.


Real-World Bearing Calculation Examples

Aviation Example 1: VFR Cross-Country Flight

Scenario: Private pilot planning weekend flight

Departure: Centennial Airport, Colorado (KAPA)
           39.5701°N, 104.8492°W, Elevation 5,883 ft

Destination: Pueblo Memorial Airport (KPUB)
             38.2891°N, 104.4967°W, Elevation 4,729 ft

Using Bearing Calculator:
✓ Initial Bearing: 170.3° (South-Southeast)
✓ Distance: 87.5 NM (162 km, 100.6 mi)
✓ Estimated Flight Time: 35 minutes @ 150 kts groundspeed

Flight Planning Workflow:

Step 1: Calculate True Course

  • True bearing from calculator: 170.3°

Step 2: Apply Magnetic Variation

Magnetic Declination for Denver area: 9°E
Magnetic Course = True Course - East Declination
Magnetic Course = 170.3° - 9° = 161.3°

Memory aid: “East is least, West is best”

  • East declination: Subtract from true bearing
  • West declination: Add to true bearing

Step 3: Calculate Wind Correction

Forecast Wind: 360° at 20 knots (from North)
True Airspeed: 135 kts
Desired Course: 170.3°

Wind Correction Angle ≈ 8° (crab right into crosswind)
Heading to Fly: 161° + 8° = 169° magnetic

Step 4: Navigate

  • Depart Runway 17L
  • Climb to 9,500 ft MSL (terrain clearance)
  • Fly heading 169° magnetic
  • Cross I-25 landmark near Colorado Springs
  • Descend at Arkansas River
  • Arrive Runway 17 at Pueblo

FAA Requirement: Must calculate course and distance for VFR cross-country. Use Distance Calculator for fuel planning.

Reference: FAA Pilot’s Handbook of Aeronautical Knowledge

Aviation Example 2: Transpacific Great-Circle Route

Scenario: Boeing 787 commercial flight

Departure: San Francisco International (KSFO)
           37.6213°N, 122.3790°W

Destination: Shanghai Pudong International (ZSPD)
             31.1434°N, 121.8052°E

Bearing Calculator Results:
✓ Initial Bearing: 301.7° (Northwest)
✓ Final Bearing: 246.8° (West-Southwest)
✓ Great-Circle Distance: 5,871 NM (10,875 km, 6,756 mi)
✓ Estimated Flight Time: 12.5 hours @ 470 kts cruise

Why fly northwest to reach Asia (which is west)?

The great-circle route curves north through Alaskan airspace, then descends southwest into China. On a flat map, this looks curved. On a globe, it’s the straightest path.

Fuel Savings:

Direct "flat-map" route: ~6,100 NM
Great-circle route: 5,871 NM
Fuel savings: 229 NM = $12,000-15,000 per flight

Flight Management System (FMS) Waypoints:

KSFO Departure:     302° heading (Northwest)
Over Gulf of Alaska: 280° heading
Near Japan:         260° heading
ZSPD Approach:      247° heading (Southwest)

Modern autopilots recalculate bearing every few seconds, continuously adjusting heading to follow the curved great-circle path.

Reference: ICAO Flight Planning Standards

Marine Example 1: Transatlantic Yacht Crossing

Scenario: Solo sailor planning ocean passage

Departure: Newport, Rhode Island, USA
           41.4901°N, 71.3128°W

Destination: Horta, Azores, Portugal
             38.5322°N, 28.7144°W

Bearing Calculator Results:
✓ Initial Bearing: 88.4° (Nearly due East)
✓ Final Bearing: 76.2° (East-Northeast)
✓ Great-Circle Distance: 1,768 NM (3,274 km, 2,020 mi)
✓ Estimated Passage Time: 14-21 days @ 5-7 kts boat speed

Navigation Planning:

Day 1-3: Departure Phase

Depart Newport on heading 088° magnetic
Account for:
- Gulf Stream current: 2-4 kts northward push
- Wind leeway: 5-10° depending on point of sail
- Autopilot drift

Expected position Day 3: 40°N, 65°W
Recalculate bearing from new position

Day 7-10: Mid-Atlantic

Position update from GPS: 40°N, 45°W
Recalculate bearing to Horta: Now 082° (E-NE)
Bearing shifted more northerly as route curves

Monitor for:
- Shipping lanes (busy traffic near Grand Banks)
- Weather systems crossing Atlantic
- AIS vessel traffic

Day 14-17: Approach Phase

Final approach from west-southwest
Update bearing every 6-hour watch
Final bearing converging to 076°
Visual confirmation: Pico Island volcano (2,351m high)

Safety Notes:

  • Carry paper charts as backup
  • Update position log every 6 hours minimum
  • Recalculate bearing from current position (not original departure)
  • Use AIS/radar for collision avoidance

Reference: US Coast Guard Navigation Rules, World Cruising Club Routes

Hiking Example: Wilderness Navigation

Scenario: Backpacker navigating off-trail in Sierra Nevada

Current Position: Mount Whitney Summit
                  36.5785°N, 118.2923°W
                  Elevation: 14,505 ft (4,421 m)

Destination: Guitar Lake Trail Junction
             36.5642°N, 118.3145°W
             Elevation: 11,480 ft (3,499 m)

Bearing Calculator:
✓ Bearing: 253.2° (West-Southwest)
✓ Horizontal Distance: 1.87 km (1.16 mi)
✓ Elevation Change: -3,025 ft descent

Mountain Navigation Workflow:

Step 1: Calculate Magnetic Bearing

True Bearing: 253.2° (from calculator)
Magnetic Declination (Sierra Nevada): 12.5°E
Magnetic Bearing: 253.2° - 12.5° = 240.7°

Set compass: 241° magnetic

Find your declination: NOAA Magnetic Declination Calculator

Step 2: Account for Terrain

Can't walk straight line on mountain:
- Cliff bands require detours
- Talus slopes slow progress
- Snow fields alter route
- Boulder fields need careful footing

Solution: Take bearing, walk toward target, re-check every 15 minutes

Step 3: Estimate Time

Horizontal distance: 1.16 mi
Descent: 3,025 ft (rough terrain)

Naismith's Rule:
- 3 mph flat terrain
- Subtract 10 min per 1,000 ft descent on steep terrain

Estimated time: 1.5-2 hours off-trail

Step 4: Monitor Progress

Every 15 minutes:
1. Mark current GPS position
2. Recalculate bearing to target
3. Update compass heading
4. Check landmarks (peaks, lakes, ridges)

Emergency Backup:

  • Carry paper map and compass (GPS batteries die in cold)
  • Know reciprocal bearing to return: 253° + 180° = 073° (East-Northeast back to summit)
  • Tell someone your route plan and expected return time

Use Coordinate Converter to switch between DD/DDM/DMS formats on different maps.

Reference: Leave No Trace Navigation, USGS Topographic Maps

Surveying Example: Property Boundary

Scenario: Licensed surveyor establishing lot corners

Corner A (Known Benchmark): 40.7589°N, 73.9851°W

Deed Description:
"From Corner A, bearing South 52°45'30" East for 185.5 feet to Corner B"

Task: Calculate Corner B coordinates

Survey Calculation Workflow:

Step 1: Convert Bearing Format

Deed bearing: S 52°45'30" E
Convert to whole-circle bearing: 180° - 52.7583° = 127.2417°

Step 2: Convert Distance

Distance: 185.5 feet = 0.05653 km = 0.03512 mi

Step 3: Calculate Endpoint Coordinates

Using forward calculation from bearing and distance:

Starting Point: 40.7589°N, 73.9851°W
Bearing: 127.2417° (Southeast)
Distance: 0.05653 km

Calculated Endpoint:
Corner B: 40.7584°N, 73.9843°W

Step 4: Field Verification

Survey crew measures Corner A to Corner B:
Measured distance: 185.6 ft (±0.1 ft tolerance)
Measured bearing: 127°15' (±15" arc seconds)

Verification using Bearing Calculator:
Input: Corner A → Corner B coordinates
Result: Bearing 127.26°, Distance 185.6 ft ✓ Match!

Legal Standards:

  • Residential lots: ±0.1 ft accuracy required
  • Commercial properties: ±0.05 ft accuracy
  • Use Vincenty formula for legal surveys (ellipsoid model)
  • Multiple measurements averaged for precision

Reference: National Society of Professional Surveyors, ALTA/NSPS Standards

Search & Rescue Example: Helicopter Dispatch

Scenario: Coast Guard helicopter emergency response

Base: CGAS Elizabeth City, North Carolina
      36.2606°N, 76.1745°W

Distress Beacon: Downed aircraft GPS coordinates
                 35.9950°N, 75.5380°W

Bearing Calculator (Emergency):
✓ Initial Bearing: 107.2° (East-Southeast)
✓ Distance: 34.8 NM (64.5 km, 40.1 mi)
✓ ETA: 21 minutes @ 100 kts cruise speed

Emergency Response Protocol:

Immediate Launch:

T+0 min: Coordinates received
T+2 min: Crew briefed, helicopter spooled up
T+5 min: Airborne, heading 107° magnetic
T+7 min: Level off at 500 ft AGL, increase speed to 120 kts

Navigation En Route:

Waypoint 1 (10 NM): Cross Albemarle Sound
- Update bearing from current position: Now 109°
- Visual reference: Manteo water tower

Waypoint 2 (20 NM): Over Pamlico Sound
- Recalculate bearing: Now 106°
- Search pattern preparation

Waypoint 3 (30 NM): Approach crash site
- Slow to 80 kts
- Begin visual search
- Radio contact with survivors

Time-Critical Navigation:

  • Every minute counts in medical emergencies
  • Accurate bearing prevents search pattern delays
  • GPS coordinates essential for pinpoint location
  • Backup navigation if GPS fails

Multi-Team Coordination:

If backup needed, calculate bearing from hospital helipad:

Hospital: 36.0853°N, 75.6780°W
To Crash Site: 35.9950°N, 75.5380°W
Bearing: 148° (Southeast)
Distance: 11.2 NM

Multiple teams triangulate from different positions for fastest response.


Step-by-Step: How to Calculate Bearing

Method 1: Using Our Online Calculator

Step 1: Get Your Coordinates

Coordinates can come from:

  • GPS Device: Smartphone, handheld GPS, aviation GPS, marine chartplotter
  • Google Maps: Right-click any location → “What’s here?” → coordinates appear
  • Navigation Apps: ForeFlight, Garmin Pilot, Gaia GPS, Navionics
  • Paper Charts: Aviation sectionals, nautical charts, topographic maps (read grid)

Coordinate Format Examples:

Decimal Degrees (DD):         40.7128°N, 74.0060°W
Degrees Decimal Minutes (DDM): 40° 42.768'N, 74° 0.360'W
Degrees Minutes Seconds (DMS):  40°42'46"N, 74°00'22"W

Use our Coordinate Converter to switch between formats.

Step 2: Enter Starting Point

Go to Bearing Calculator

Point A (Starting Location):
Latitude: 40.7128
Longitude: -74.0060

Note: Use negative for West longitude and South latitude
Western Hemisphere: Negative longitude (-74.0060)
Eastern Hemisphere: Positive longitude (+139.6917)
Northern Hemisphere: Positive latitude (+40.7128)
Southern Hemisphere: Negative latitude (-33.8688)

Step 3: Enter Destination

Point B (Destination):
Latitude: 51.5074
Longitude: -0.1278

Step 4: Get Results

Calculator instantly displays:

✓ Initial Bearing: 51.4° (Northeast)
✓ Final Bearing: 91.7° (East)
✓ Distance: 5,567 km (3,459 mi, 3,006 NM)
✓ Midpoint: 46.2°N, 38.6°W (Mid-Atlantic)
✓ Compass Direction: NE

Step 5: Apply to Navigation

For Aviation:

1. Note initial bearing: 51.4°
2. Check magnetic declination for departure airport: -2°W
3. Convert to magnetic: 51.4° + 2° = 53.4°
4. Set heading bug: 053°
5. Program GPS waypoints for great-circle route
6. Update heading every 10-15 minutes

For Marine:

1. Plot initial bearing on chart: 51.4°
2. Apply chart variation (from compass rose): +2°
3. Steer magnetic compass course: 053°
4. Update every watch (4-6 hours)
5. Log position and recalculate bearing

For Hiking:

1. Initial bearing: 51.4°
2. Find local declination (NOAA): 12°W
3. Compass bearing: 51.4° + 12° = 63.4°
4. Orient map north
5. Walk on bearing 63°
6. Re-check every 15 minutes

Method 2: Manual Calculation (Emergency Backup)

When You Need Manual Calculation:

  • Electronics fail (battery, water damage, crash)
  • No internet/cell service (remote locations)
  • Backup navigation skill for emergencies
  • Understanding builds navigation confidence

Required Tools:

  • Scientific calculator (or smartphone calculator app in scientific mode)
  • Trig functions: sin, cos, atan2
  • Paper and pencil for recording steps

Manual Bearing Formula:

θ = atan2(sin(Δλ)·cos(φ₂), cos(φ₁)·sin(φ₂) − sin(φ₁)·cos(φ₂)·cos(Δλ))
Bearing = (θ × 180/π + 360) mod 360

Step-by-Step Calculator Workflow:

Calculate bearing: Seattle to Tokyo

Point A: 47.6062°N, 122.3321°W (Seattle)
Point B: 35.6762°N, 139.6503°E (Tokyo)

Step 1: Convert all to radians
φ₁ = 47.6062 × 0.0174533 = 0.8308 rad
φ₂ = 35.6762 × 0.0174533 = 0.6226 rad
λ₁ = -122.3321 × 0.0174533 = -2.1350 rad
λ₂ = 139.6503 × 0.0174533 = 2.4375 rad

Step 2: Calculate Δλ
Δλ = 2.4375 - (-2.1350) = 4.5725 rad

Step 3: Calculate X component
[Calculator: 4.5725, sin] = -0.9880
[Calculator: 0.6226, cos] = 0.8117
X = -0.9880 × 0.8117 = -0.8020

Step 4: Calculate Y component
[Calculator: 0.8308, cos] = 0.6691
[Calculator: 0.6226, sin] = 0.5821
Part 1: 0.6691 × 0.5821 = 0.3894

[Calculator: 0.8308, sin] = 0.7431
[Calculator: 0.6226, cos] = 0.8117
[Calculator: 4.5725, cos] = -0.1541
Part 2: 0.7431 × 0.8117 × (-0.1541) = -0.0930

Y = 0.3894 - (-0.0930) = 0.4824

Step 5: Calculate bearing
[Calculator: X=-0.8020, Y=0.4824, atan2] = -1.0297 rad
[Calculator: -1.0297 × 57.2958] = -59.0°
[Calculator: -59.0 + 360] = 301.0°

Result: Initial Bearing = 301° (Northwest)

Verification: Use online calculator to confirm your manual work.


Common Bearing Calculation Mistakes

Mistake #1: Forgetting Magnetic Declination

The Error:

Calculator shows: 87° true bearing
Pilot sets compass: 87° heading
✗ Aircraft flies 15° off course

Why This Happens:

  • Bearing calculators show TRUE bearing (relative to geographic North Pole)
  • Magnetic compasses point to magnetic north pole (currently in Canadian Arctic)
  • Difference called “magnetic declination” or “variation”
  • Varies by location: 0° near agonic line, up to 20° in some regions

Real-World Example:

Seattle Area Navigation:
True bearing from calculator: 270° (West)
Magnetic declination: 15°E
Magnetic bearing to fly: 270° - 15° = 255°
Your compass shows: 255° (you're actually going west)

The Fix:

Step 1: Find Your Declination

Step 2: Apply Correction

Memory Aid: "East is least, West is best"

East Declination: Subtract from true bearing
Example: True 87° - 13°E = Magnetic 74°

West Declination: Add to true bearing
Example: True 87° + 11°W = Magnetic 98°

Step 3: Verify

✓ Does the magnetic bearing make sense?
✓ Cross-check with visual landmarks
✓ Monitor GPS track vs compass heading
✓ Adjust if ground track doesn't match course

Reference: NOAA World Magnetic Model

Mistake #2: Using Pythagorean Instead of Haversine

The Error:

Pythagorean calculation LA→Tokyo: 8,800 km
Bearing on flat map: 285° (West)

Actual great-circle distance: 8,604 km
Actual initial bearing: 301° (Northwest)

✗ Navigation error: 16 degrees!

Why This Happens:

  • Pythagorean theorem (a² + b² = c²) assumes flat surface
  • Earth is spherical (technically oblate spheroid)
  • Mercator map projections distort distances and directions
  • Long-distance routes curve on the globe

Visual Comparison:

Flat-Map Logic (WRONG):

LA (34°N, 118°W) → Tokyo (36°N, 140°E)
"Tokyo is west, so fly west" ✗
Bearing: 285° due west

Great-Circle Reality (CORRECT):

Shortest path curves north over Alaska
Initial bearing: 301° (Northwest)
Route passes near Anchorage before turning southwest
Arrives Tokyo from north

When Flat-Earth Errors Matter:

Distance Bearing Error Position Error
<50 km <0.5° Negligible
100 km 0.5-1° 1-2 km
500 km 2-5° 15-40 km
1,000 km 5-10° 90-180 km
5,000 km 15-30° 500-1,500 km
10,000 km 30-50° 2,000-4,000 km

The Fix:
Always use Haversine formula for distances >50 km. Our Bearing Calculator uses proper great-circle calculations automatically.

Mistake #3: Not Updating Bearing on Long Routes

The Error:

Day 1: Calculate bearing NYC → Azores = 88° (East)
Day 7: Still steering 88°
Result: 400 NM off course to the north
✗ Forgot bearing changes along great-circle path

Why This Happens:

  • Initial bearing only correct from original departure position
  • As you move, your position changes
  • Bearing to destination updates continuously
  • Wind and current cause drift
  • Navigation errors compound over time

Real-World Example:

Transatlantic Passage:
Hour 0: NYC (40.71°N, 74.01°W) → London
        Bearing: 51°, Distance: 3,011 NM

Hour 6: Position (43.89°N, 61.22°W)
        Recalculate → London:
        New Bearing: 72°, Distance: 2,290 NM
        (Bearing changed 21° in 6 hours!)

Hour 12: Position (47.15°N, 45.80°W)
         New Bearing: 85°, Distance: 1,550 NM

Bearing evolves: 51° → 72° → 85° → ... → 92°

The Fix:

Aviation Standard:

  • VFR cross-country: Update bearing every 10-15 minutes
  • IFR with GPS/FMS: Automatic continuous updates
  • Long-range oceanic: Update at each waypoint

Marine Standard:

  • Coastal navigation: Update every 1-2 hours
  • Offshore sailing: Update every watch change (4-6 hours)
  • Ocean crossing: Minimum once daily, preferably twice

Recalculation Workflow:

1. Note current GPS position
2. Enter current position as new Point A
3. Destination remains Point B
4. Calculate new bearing
5. Adjust heading to new bearing
6. Log position and new bearing
7. Repeat at next interval

Modern GPS systems show “BRG” (bearing to waypoint) that updates automatically every second.

Mistake #4: Wrong Hemisphere Signs

The Error:

Sydney, Australia correct coordinates:
33.8688°S, 151.2093°E

Entered as: 33.8688°N, 151.2093°E ✗
Result: Bearing calculated to wrong hemisphere!
Calculator thinks you're north of equator

Sign Convention:

✓ North latitudes: Positive (+40.7128)
✓ South latitudes: Negative (-33.8688)
✓ East longitudes: Positive (+139.6917)
✓ West longitudes: Negative (-74.0060)

Common Input Errors:

Wrong:

Sydney: 33.87°S, 151.21°E
Entered: 33.87, 151.21
Missing negative for Southern Hemisphere!

Correct:

Sydney: 33.87°S, 151.21°E
Entered: -33.87, 151.21
✓ Negative latitude for South

Quick Check:

Northern Hemisphere cities: Positive latitude
- New York: +40.71
- London: +51.51
- Tokyo: +35.68

Southern Hemisphere cities: Negative latitude
- Sydney: -33.87
- Cape Town: -33.92
- Rio de Janeiro: -22.91

Western Hemisphere: Negative longitude
- New York: -74.01
- Los Angeles: -118.24

Eastern Hemisphere: Positive longitude
- London: -0.13 (just barely west)
- Tokyo: +139.69
- Sydney: +151.21

Mistake #5: Mixing Coordinate Formats

The Error:

Point A: 40.7128, -74.0060 (Decimal Degrees)
Point B: 51° 30.444', -0° 7.668' (Degrees Decimal Minutes)
✗ Calculator expects same format for both points

Three Common Formats:

1. Decimal Degrees (DD):

40.7128°N, 74.0060°W
Most common for GPS and calculators

2. Degrees Decimal Minutes (DDM):

40° 42.768'N, 74° 0.360'W
Used by some marine chartplotters

3. Degrees Minutes Seconds (DMS):

40°42'46"N, 74°00'22"W
Traditional navigation, paper charts

Conversion Formulas:

DMS → DD:

40°42'46"N
= 40 + (42/60) + (46/3600)
= 40 + 0.7 + 0.0128
= 40.7128°

DDM → DD:

40° 42.768'N
= 40 + (42.768/60)
= 40 + 0.7128
= 40.7128°

DD → DMS:

40.7128°
Degrees: 40°
Minutes: 0.7128 × 60 = 42.768'
Seconds: 0.768 × 60 = 46"
Result: 40°42'46"

The Fix:
Use our Coordinate Converter to standardize format before calculating bearing.

Mistake #6: Ignoring Wind and Current

The Error:

Bearing to destination: 90° (East)
Pilot flies heading 90°
Wind from north at 30 knots
✗ Aircraft drifts south, misses destination by 50 miles

Navigation Terminology:

Bearing (Course): Direction to destination over ground (what you want)
Heading: Direction your aircraft/boat points (what you steer)
Track: Actual path traveled (heading + wind/current effect)

The Difference:

Desired Course: 90° East
Wind Effect: Pushes you 10° south
Heading to Fly: 100° (crab into wind)
Actual Track: 90° (on course!)

Wind Correction Example:

Aviation:

Desired Course: 90° (East)
Wind: 360° at 30 kts (from North)
True Airspeed: 120 kts

Wind Correction Angle:
WCA = arcsin(wind speed ÷ TAS × sin(relative wind angle))
WCA = arcsin(30 ÷ 120 × sin(90°))
WCA = arcsin(0.25) = 14.5°

Heading to Fly: 90° + 14.5° = 104.5°
Ground Track: 90° (on course!)
Groundspeed: ~113 kts (reduced by headwind component)

Marine Current Correction:

Desired Course: 180° (South)
Current: 090° at 2 kts (flowing East)
Boat Speed: 5 kts

Current Correction:
Crab angle ≈ 15° west
Heading to Steer: 165°
Track Over Ground: 180° (on course!)
Speed Made Good: ~4.8 kts

The Fix:

  1. Calculate bearing to destination (our calculator)
  2. Determine wind/current direction and speed
  3. Calculate correction angle
  4. Apply to heading
  5. Monitor GPS track vs desired course
  6. Adjust heading as needed

Modern GPS Makes This Easy:

GPS displays:
- DTK (Desired Track): Your intended course
- TRK (Track): Your actual path over ground
- XTE (Cross-Track Error): How far off course

If XTE shows "5 NM Left":
- You're 5 miles left of course
- Turn right to correct

Mistake #7: Confusing Reciprocal Bearing

The Error:

Outbound bearing A→B: 45° (Northeast)
Return bearing calculation: 45° + 180° = 225° (Southwest)

On short routes: ✓ Correct
On long routes (>1000 km): ✗ WRONG!

Why Simple Reciprocal Fails:

Short Distance (<100 km):

Outbound: 45° Northeast
Return: 225° Southwest
Simple reciprocal works: ✓

Long Distance (>1000 km):

NYC → London outbound: 51° (NE)
Simple reciprocal: 51° + 180° = 231° (SW)

London → NYC actual bearing: 288° (WNW) ≠ 231°!
Error: 57 degrees off!

Why? Great-circle routes curve. The return path follows a different curve than the outbound path.

The Fix:

For long distances, calculate each direction separately:

NYC → London: Enter NYC as Point A, London as Point B
Result: 51° bearing

London → NYC: Enter London as Point A, NYC as Point B
Result: 288° bearing (NOT 231°!)

Use our Bearing Calculator for both directions.


Advanced Bearing Topics

Cross-Track Error and Course Correction

What is Cross-Track Error (XTE)?

Perpendicular distance you are off the desired course line.

Example:

Planned Course: NYC (40°N, 74°W) → London (51°N, 0°W)
Current Position: Mid-Atlantic (45°N, 35°W)
Question: How far off course am I?

XTE Calculation:
Distance from course line: 12.5 NM north of planned route
GPS shows: "XTE: 12.5 NM L" (Left of course)

How to Correct:

Small XTE (0-5 NM):

Turn 5-10° toward course
Fly until XTE reduces to zero
Resume original bearing

Moderate XTE (5-20 NM):

Turn 15-20° toward course
Fly parallel until XTE = 5 NM
Turn 5° more, reduce to zero
Resume course

Large XTE (>20 NM):

Recalculate bearing from current position
Fly new direct course to destination
Ignore original route (too far off)

GPS XTE Display:

"XTE: 0.3 NM R" = 0.3 miles right of course (very accurate)
"XTE: 15 NM L" = 15 miles left (significant correction needed)
"XTE: 0.0" = On course perfectly

True vs Magnetic vs Grid Bearing

1. True Bearing (Geographic)

Measured from: Geographic North Pole
Used by: GPS systems, calculators, charts
Value: Fixed for all locations
Example: 87° true

2. Magnetic Bearing (Compass)

Measured from: Magnetic north pole (Canadian Arctic)
Used by: Magnetic compasses
Value: Varies by location (declination)
Example: 87° true = 74° magnetic (with 13°E declination)

3. Grid Bearing (Map)

Measured from: Grid north on map projection
Used by: Military, large-scale surveys
Value: Varies by location (convergence angle)
Example: Used on UTM/MGRS maps

Declination Worldwide:

Location          | Declination | True→Magnetic
------------------|-------------|----------------
New York, USA     | 13°W       | Add 13°
Los Angeles, USA  | 12°E       | Subtract 12°
London, UK        | 2°W        | Add 2°
Sydney, Australia | 12°E       | Subtract 12°
Tokyo, Japan      | 7°W        | Add 7°

Declination Changes Over Time:

  • Magnetic poles drift ~50 km/year
  • Declination changes ~0.1-0.3° per year
  • Update declination every 5 years for accuracy
  • Aviation charts show epoch year (valid period)

Find Current Declination:
NOAA Magnetic Declination Calculator

Multiple Waypoint Navigation

Scenario: Multi-leg route with intermediate waypoints

Example: Island-Hopping Pacific Route

Leg 1: Honolulu → Majuro
Leg 2: Majuro → Pohnpei
Leg 3: Pohnpei → Guam

Calculate bearing for each leg separately:

Leg 1: HNL (21.32°N, 157.92°W) → Majuro (7.09°N, 171.38°E)
Bearing: 246.3° (WSW), Distance: 2,180 NM

Leg 2: Majuro (7.09°N, 171.38°E) → Pohnpei (6.97°N, 158.21°E)
Bearing: 271.8° (W), Distance: 817 NM

Leg 3: Pohnpei (6.97°N, 158.21°E) → Guam (13.48°N, 144.80°E)
Bearing: 298.5° (WNW), Distance: 1,025 NM

Total Distance: 4,022 NM

Route Optimization:

  • Calculate bearing for each segment
  • Great-circle each leg independently
  • Fuel stops at waypoints
  • Weather routing per leg
  • Update bearing at each waypoint

Use Distance Calculator for leg distances and Midpoint Calculator for optional intermediate points.


Tools and Resources

Online Bearing Calculators

Aviation Resources

Marine Navigation Resources

Hiking and Outdoor Resources

  • Gaia GPS - Topographic maps and offline navigation
  • AllTrails - Trail maps with GPS tracks
  • CalTopo - Free topographic mapping and route planning
  • USGS Topo Maps - Official US topographic maps

Surveying and GIS Resources

  • NOAA National Geodetic Survey - Geodetic survey tools and datums
  • USGS - Geological survey data and mapping
  • QGIS - Free GIS software with coordinate tools
  • NSPS - National Society of Professional Surveyors

Magnetic Declination Resources

Learning Resources


Best Practices and Quick Reference

Bearing Calculation Checklist

Before Calculating:

☐ Verify coordinate accuracy
  - Double-check latitude/longitude values
  - Confirm correct hemisphere (N/S, E/W)
  - Ensure consistent format (DD, DDM, or DMS)
  - Use Coordinate Converter if needed

☐ Understand your requirement
  - Initial bearing (departure direction)?
  - Final bearing (arrival direction)?
  - Distance along route?
  - Intermediate waypoints?

☐ Know your application
  - Aviation (magnetic bearing conversion needed)
  - Marine (chart variation)
  - Hiking (compass declination)
  - Surveying (high precision required)

During Calculation:

☐ Use proper formula
  - Haversine for distance >50 km
  - Forward Azimuth for bearing
  - Never use Pythagorean for navigation

☐ Record all results
  - Initial bearing
  - Final bearing (long distance)
  - Distance (km, miles, NM)
  - Midpoint coordinates if needed
  - Timestamp of calculation

☐ Convert to working bearing
  - Find local magnetic declination
  - Apply correction (E subtract, W add)
  - Verify result makes sense

After Calculation:

☐ Sanity check
  - Does bearing direction make sense?
  - Is distance reasonable?
  - Compare with map/chart visual
  - Recalculate if uncertain

☐ Plan navigation
  - Note waypoint bearings
  - Account for wind/current
  - Set up GPS route
  - Brief crew/passengers

☐ Monitor progress
  - Update bearing at intervals
  - Check cross-track error
  - Recalculate from new position
  - Log positions and bearings

Common Routes Quick Reference

Route Initial Bearing Distance Notes
New York → London 51° (NE) 3,459 mi Curves over Newfoundland
LA → Tokyo 301° (NW) 5,478 mi Passes near Alaska
Miami → Lima 176° (S) 2,495 mi Nearly due south
Sydney → Auckland 81° (E) 1,341 mi Tasman Sea crossing
London → Dubai 113° (ESE) 3,402 mi Over Eastern Europe
SF → Hong Kong 298° (NW) 6,074 mi Great-circle polar route

Coordinate Format Conversion

DMS → DD:

40°42'46"N = 40 + (42/60) + (46/3600) = 40.7128°

DDM → DD:

40° 42.768'N = 40 + (42.768/60) = 40.7128°

DD → DMS:

40.7128°
Degrees: 40°
Minutes: 0.7128 × 60 = 42.768'
Seconds: 0.768 × 60 = 46"
Result: 40°42'46"

Distance Unit Conversions

1 kilometer = 0.621371 miles = 0.539957 nautical miles
1 mile = 1.60934 km = 0.868976 NM
1 nautical mile = 1.852 km = 1.15078 mi

Cardinal Direction Ranges

N:   345°-015° (0° center)
NE:  015°-075° (45° center)
E:   075°-105° (90° center)
SE:  105°-165° (135° center)
S:   165°-195° (180° center)
SW:  195°-255° (225° center)
W:   255°-285° (270° center)
NW:  285°-345° (315° center)

Frequently Asked Questions

Q: What’s the difference between bearing and heading?

A:

  • Bearing (Course): Direction from your position to destination measured over the ground
  • Heading: Direction your aircraft/boat is pointing through the air/water
  • Track: Actual path traveled over ground (bearing + wind/current effects)

Example:

Desired bearing: 090° (East)
Wind from north pushes you south
Heading: 105° (point northeast to compensate)
Track: 090° (actual ground path east)

Bearing is where you want to go, heading is where you point, track is where you actually go.

Q: Why does my GPS show different bearing than the calculator?

Common Reasons:

1. True vs Magnetic:

Calculator shows: 87° (true bearing)
GPS set to magnetic: Shows 74° (with 13°E declination)
Solution: Check GPS settings - toggle true/magnetic display

2. Position Changed:

Original calculation from old position
GPS shows bearing from current position
Solution: Recalculate from current GPS position

3. Rhumb Line vs Great-Circle:

Calculator: Great-circle bearing (shortest path)
GPS in rhumb mode: Constant-bearing path (slightly longer)
Solution: Check GPS navigation mode settings

4. Coordinate Format:

Mismatch in DD vs DDM vs DMS format
Solution: Use Coordinate Converter to standardize

Q: How accurate is bearing calculation?

Calculator Accuracy:

  • Haversine formula: ±0.5% maximum (meters on Earth scale)
  • Bearing calculation: ±0.01° (negligible for navigation)
  • Limited by input coordinate precision

Real-World Accuracy:

  • Consumer GPS: ±3-10 meters typical
  • Aviation charts: ±30-100 meters
  • Marine charts: ±10-50 meters
  • Surveying RTK GPS: ±2 cm

Bottom Line: The calculator is more accurate than your GPS receiver. Errors come from GPS position uncertainty, not calculation.

Q: Do I need both initial and final bearing?

It Depends on Distance:

Short (<100 km):

  • Initial ≈ Final (negligible difference)
  • Use initial bearing only
  • No updates needed

Medium (100-1000 km):

  • Note both (1-5° difference)
  • Update bearing every hour
  • Monitor for drift

Long (1000-5000 km):

  • Both critical (5-20° difference)
  • Update every 15-30 minutes
  • Continuous GPS updates recommended

Transoceanic (>5000 km):

  • Massive difference (20-50°+)
  • Modern autopilot essential
  • FMS recalculates continuously

Practical Use:

  • Aviation: FMS updates automatically
  • Marine: Recalculate each watch (4-6 hours)
  • Hiking: Update every hour or at waypoints

Q: Can I use bearing calculator for drone navigation?

A: Yes, with considerations:

Visual Line of Sight (<500m):

  • Legal in most jurisdictions
  • Bearing calculation simple at short range
  • GPS waypoint navigation more practical

Beyond Visual Line of Sight (BVLOS):

  • Requires special authorization
  • Bearing calculation essential for route planning
  • Great-circle routing for efficiency
  • Our calculator perfect for mission planning

Example Survey Mission:

Linear transect: 10 km
Start: 39.7392°N, 105.0838°W
End: 39.6892°N, 105.1438°W

Calculate bearing: 207° (SSW)
Program drone waypoints along 207° line
Automated flight path execution

Q: What’s better for sailing: great-circle or rhumb line?

A: Depends on distance and conditions

Great-Circle (Shortest Distance):

Pros:
✓ Shorter distance (1-10% savings)
✓ Less time at sea
✓ Fuel/provision savings
✓ Used by commercial ships

Cons:
✗ Bearing changes continuously
✗ Requires frequent heading adjustments
✗ Complex hand navigation
✗ May cross higher latitudes (worse weather)

Rhumb Line (Constant Bearing):

Pros:
✓ Single compass heading
✓ Easy to navigate
✓ Simple autopilot programming
✓ Stays in consistent latitude (weather bands)

Cons:
✗ 2-10% longer distance
✗ More fuel consumption
✗ More time at sea

Recommendation:

  • <500 NM: Rhumb line (minimal difference, easier navigation)
  • 500-2000 NM: Great-circle (5-8% savings worth the complexity)
  • >2000 NM: Great-circle (10%+ savings significant)
  • Trade wind routes: Rhumb line (stay in favorable winds)
  • High latitudes: Great-circle carefully (watch for ice/storms)

Q: My compass bearing doesn’t match calculator. What’s wrong?

Troubleshooting Steps:

1. Check Magnetic Declination:

Calculator shows: 87° true
Local declination: 12°E
Compass should show: 75° magnetic
If not: Continue troubleshooting

2. Check Compass Deviation:

Metal in cockpit/cockpit affects compass
Deviation card shows correction per heading
Apply deviation after variation
Example: Variation 12°E, Deviation 3°W
Compass = 87° - 12° + 3° = 78°

3. Verify Coordinates:

Re-enter coordinates carefully
Check +/- signs for hemisphere
Try recalculating
Cross-check with paper chart

4. Test Compass Function:

Compare with backup compass
Check for bubbles in compass fluid
Verify compass level and undamaged
Recalibrate if needed

5. Confirm Calculator Mode:

Some calculators have true/magnetic toggle
Verify settings match what you expect
Try different calculator to confirm

Ready to calculate accurate navigation bearings?

👉 Try Our Free Bearing Calculator Now

Explore More Navigation Tools:


Last updated: November 2025

Keywords: bearing calculator, calculate bearing between two points, navigation bearing, GPS bearing calculator, compass bearing, initial bearing, final bearing, great circle bearing, Haversine formula, true bearing vs magnetic bearing, aviation flight planning, marine navigation, hiking GPS, survey bearing calculation, coordinate navigation, azimuth calculator, magnetic declination, waypoint navigation, cross-track error, reciprocal bearing, great circle distance

Found This Guide Helpful?

Try our free developer tools that power your workflow. No signup required, instant results.

Share This Article

Help others discover this guide

Share:

Stay Updated

Get notified about new guides and tools