Bearing Between Two Points Calculator

Enter the latitude and longitude of two points to calculate the initial bearing, compass direction, reverse bearing, and great-circle distance.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter the first point's latitude (deg)

    Input the latitude of your starting location in decimal degrees. Positive values are North, negative are South.

  2. 2

    Enter the first point's longitude (deg)

    Input the longitude of your starting location in decimal degrees. Positive values are East, negative are West.

  3. 3

    Enter the second point's latitude (deg)

    Input the latitude of your destination in decimal degrees. This is the point you're orienting towards.

  4. 4

    Enter the second point's longitude (deg)

    Input the longitude of your destination in decimal degrees. Ensure consistency in positive/negative values.

  5. 5

    Review your results

    The calculator displays six result cards: Initial Bearing, Compass Direction, Reverse Bearing, Great-Circle Distance, Distance (Miles), and Latitude Difference.

Example Calculation

A navigator calculates the initial bearing and great-circle distance from Los Angeles (34.05°N, 118.25°W) to Las Vegas (36.12°N, 115.17°W).

Latitude 1

34.05 deg

Longitude 1

-118.25 deg

Latitude 2

36.12 deg

Longitude 2

-115.17 deg

Results

Initial Bearing

49.73° (NE — Eastward heading)

Compass Direction

NE (50° from true north)

Reverse Bearing

229.73° (Return heading: SW)

Great-Circle Distance

362.62 km (Medium-range route)

Distance (Miles)

225.32 mi (≈ 0 days driving at highway speed)

Latitude Difference

2.0700° (Point 2 is further north)

Tips

Account for Magnetic Declination

The calculated bearing is true north. For compass navigation in construction or surveying, adjust for local magnetic declination, which can vary from 0 to 20 degrees depending on your global position.

Use Consistent Decimal Degrees

Always use decimal degrees for latitude and longitude inputs. Converting minutes and seconds to decimals (e.g., 30' = 0.5 degrees) is critical for accuracy, as even small rounding errors can significantly shift a bearing over long distances.

Verify Coordinate Sources

Ensure your latitude and longitude coordinates are sourced from reliable, georeferenced maps or GPS devices. Inaccurate input coordinates, even by a few meters, can lead to a bearing error of several degrees for shorter distances.

Calculating Direction with the Bearing Between Two Points

Accurately determining the direction from one geographic location to another is fundamental in fields ranging from surveying and navigation to urban planning.

The Bearing Between Two Points Calculator provides the precise initial bearing, expressed in decimal degrees, from a starting set of latitude and longitude coordinates to a destination.

This tool is invaluable for professionals who need to establish clear lines of sight or project paths across significant distances, ensuring directional accuracy within a fraction of a degree, which can translate to many meters over a typical construction project spanning several kilometers.

The Spherical Trigonometry Behind Bearing Calculation

The core of determining the bearing between two points on the Earth's surface lies in spherical trigonometry, which accounts for the planet's curvature.

Unlike flat-plane geometry, the shortest path between two distant points on a sphere is a great circle, not a straight line.

The calculation involves complex angular relationships to find the initial direction from the first point along this great-circle path.

The formula used to calculate the initial bearing is derived from spherical trigonometry:

delta_lon = longitude_2 - longitude_1
y = sin(delta_lon_rad) × cos(latitude_2_rad)
x = cos(latitude_1_rad) × sin(latitude_2_rad) - sin(latitude_1_rad) × cos(latitude_2_rad) × cos(delta_lon_rad)
bearing_rad = atan2(y, x)
bearing_deg = (bearing_rad × 180 / PI + 360) % 360

Here, latitude_1 and longitude_1 are the coordinates of the start point, and latitude_2 and longitude_2 are for the end point.

All latitude and longitude values are first converted to radians for calculation, and atan2 is a function that returns the angle in radians between the positive x-axis and the point (x, y).

The final step converts the result back to degrees and normalizes it to a 0-360 degree range.

💡 If you're planning a masonry project, understanding precise alignments is key. Our Brick Calculator can help you estimate material needs once your site layout is established.

Plotting a Course: A Worked Example

Imagine a civil engineer planning a new pipeline.

They need to determine the initial bearing from a pumping station located at Latitude 34.0522° N, Longitude 118.2437° W (Los Angeles) to a distribution hub at Latitude 32.7157° N, Longitude 117.1611° W (San Diego).

Here’s how the calculation unfolds:

  1. Identify Start Coordinates:
    • Latitude 1: 34.0522 deg
    • Longitude 1: -118.2437 deg
  2. Identify End Coordinates:
    • Latitude 2: 32.7157 deg
    • Longitude 2: -117.1611 deg
  3. Calculate Delta Longitude:
    • delta_lon = -117.1611 - (-118.2437) = 1.0826 deg
    • Convert to radians: delta_lon_rad = 1.0826 × (PI/180) ≈ 0.0189 rad
  4. Convert Latitudes to Radians:
    • lat1_rad = 34.0522 × (PI/180) ≈ 0.5943 rad
    • lat2_rad = 32.7157 × (PI/180) ≈ 0.5710 rad
  5. Calculate y and x components:
    • y = sin(0.0189) × cos(0.5710) ≈ 0.0189 × 0.8427 ≈ 0.0159
    • x = cos(0.5943) × sin(0.5710) - sin(0.5943) × cos(0.5710) × cos(0.0189)
      • x ≈ 0.8296 × 0.5395 - 0.5594 × 0.8427 × 0.9998 ≈ 0.4476 - 0.4716 ≈ -0.0240
  6. Calculate Bearing in Radians and Degrees:
    • bearing_rad = atan2(0.0159, -0.0240) ≈ 2.5801 rad
    • bearing_deg = (2.5801 × 180 / PI + 360) % 360 ≈ (147.82 + 360) % 360 ≈ 147.82 deg

The initial bearing from the Los Angeles pumping station to the San Diego distribution hub is approximately 147.82 degrees.

💡 Once you've established your bearing, you might need to plan for structural elements. Our Block / CMU Calculator can assist with estimating the number of concrete blocks required for your project.

Material & Labor Cost Factors

In construction, accurate bearing calculations are just the first step; translating plans into physical structures involves significant cost considerations.

The cost of materials like concrete, steel, and lumber can fluctuate widely, often varying by 5-15% regionally within the same country due to supply chains and local demand.

For instance, structural steel might cost $1,500-$2,500 per ton, while concrete could range from $100-$150 per cubic yard, depending on local suppliers and specific mix designs.

Labor costs also represent a substantial portion of any construction budget.

Skilled labor, such as surveyors or specialized equipment operators, can command hourly rates from $60-$100 or more, often with an additional 20-30% markup for overhead, benefits, and profit.

Unskilled labor, while less expensive per hour (e.g., $25-$40), can still accumulate significant costs on large projects.

Additionally, regional labor markets can see variations of 10-25% in wages, with urban areas typically having higher rates compared to rural locations.

These factors necessitate meticulous budgeting and sourcing to keep projects on track financially.

When bearing between two points gives misleading results

While the Bearing Between Two Points Calculator is highly accurate for most applications, there are specific scenarios where its results can be misleading or require careful interpretation.

First, when the two points are extremely close to each other, within a few meters, the calculator's output might become less precise.

At such short distances, the curvature of the Earth has a negligible effect, and tiny inaccuracies in the input coordinates (e.g., GPS jitter of 1-3 meters) can lead to significant fluctuations in the calculated bearing.

In these cases, using a local survey grid system or simple Euclidean geometry on a projected plane might provide more stable and practically useful results for site-specific measurements.

Second, when the two points are antipodal (directly opposite each other on the globe), the bearing becomes undefined or ambiguous.

For example, if you tried to find the bearing from the North Pole to the South Pole, any direction would theoretically lead you there.

In such rare instances, the formula may return an error or an arbitrary bearing.

Instead of a single bearing, it's more appropriate to understand that there are infinite great-circle paths, or to specify a meridian for travel.

Finally, for navigational purposes where the path crosses the 180th meridian (the International Date Line), the raw bearing calculation will still be mathematically correct, but its interpretation might be counter-intuitive.

The formula calculates the shortest angular difference, which might appear as a drastic change if you're visualizing a continuous path on a flat map projection that splits the globe at the 180th meridian.

For continuous navigation across this line, it's crucial to use navigation software that can correctly handle longitude wraparound and provide a continuous course rather than just an initial bearing.

Frequently Asked Questions

What is an initial bearing in surveying?

An initial bearing in surveying is the angle measured clockwise from true North at the starting point to the great-circle path leading to the destination. It's crucial for establishing baselines and orienting construction projects, typically ranging from 0 to 359.99 degrees.

How does a bearing calculator handle the Earth's curvature?

This calculator determines the initial bearing along a 'great-circle' path, which is the shortest distance between two points on the surface of a sphere. It uses spherical trigonometry to account for the Earth's curvature, ensuring accuracy over long distances rather than assuming a flat plane.

Why is the initial bearing different from the final bearing?

The initial bearing is the direction you start in, while the final bearing is the direction you would be heading if you continued on the great-circle path and arrived at the destination. Due to the Earth's spherical shape, these two bearings are generally different, except when traveling directly North or South along a meridian.

Can this calculator be used for short distances on a construction site?

While suitable for short distances, for very localized construction site layouts, a simpler plane geometry calculation might suffice and be more practical. However, for precise alignment of long structures or property boundaries, even on a site, using a spherical bearing is more accurate, especially if the site covers several acres.