Bearing Calculator

Find the exact compass angle and cardinal direction between any two points on Earth.

Initial Compass Bearing
North
Start: --
End: --

What is a Compass Bearing?

In navigation, a bearing is the horizontal angle between a reference direction (usually True North or Magnetic North) and a destination object. It is measured in degrees from 0° to 360° in a clockwise direction. Calculating the exact bearing between two coordinates allows pilots, sailors, and hikers to chart a direct line of travel.

Bearing vs. Heading: What is the Difference?

How to Calculate the Bearing Between Two Coordinates

Because the Earth is a sphere, you cannot use standard flat-plane geometry (like the Pythagorean theorem) to calculate accurate long-distance bearings. Instead, we use spherical trigonometry to calculate the initial bearing (forward azimuth).

The mathematical formula used by our calculator to find the angle (\theta) between Point 1 (φ1,λ1) and Point 2 (φ2,λ2) is:

θ=atan2(sin(Δλ)cos(φ2​),cos(φ1​)sin(φ2​)−sin(φ1​)cos(φ2​)cos(Δλ))

Note: φ is latitude, λ is longitude, and Δλ is the difference in longitude. The result must be converted from radians back to degrees and normalized to a 0-360° compass rose.

Degrees to Cardinal Direction Conversion

While degrees provide pinpoint accuracy, human communication often relies on the 16-point compass rose. Our tool automatically converts the calculated mathematical degree into its corresponding cardinal or ordinal direction (e.g., North, North-Northeast, Southwest).

For quick reference, the primary cardinal points are mapped as follows:

North (N): 0° / 360°
East (E): 90°
South (S): 180°
West (W): 270°

Frequently Asked Questions

Is this compass completely free?

Yes, our digital compass is 100% free to use directly in your browser.

Do I need to download an app?

No app download is required. It works directly in Chrome, Safari, and Edge.

Why is my compass pointing the wrong way?

Magnetic interference can distort readings. Move your device in a figure 8 pattern to calibrate it.