Bearing Calculator
Distance Calculator
Destination Point
Slope & Angle
Bearing & Distance Calculator — Complete Guide with Formulas, Examples & Step-by-Step Solutions
Whether you are a surveying student, a civil engineer, or someone learning coordinate geometry for the first time, understanding how to calculate bearing and distance between two points is a core skill. This guide explains every formula, walks through real examples, and shows you exactly how to use an online Bearing & Distance Calculator to get accurate results in seconds.
True BearingBack BearingDistance FormulaDestination PointMidpoint & SectionTriangle AreaDMS ConversionTraverse Calculations
📋 Table of Contents
- What Is a Bearing in Coordinate Geometry?
- Types of Bearing — True, Magnetic & Compass
- How to Calculate True Bearing Between Two Points
- What Is Back Bearing & How to Calculate It
- Distance Between Two Coordinates — Euclidean Formula
- Finding a Destination Point from Bearing & Distance
- Midpoint Formula & Section Formula
- Triangle Calculations from Three Coordinates
- Who Uses a Bearing & Distance Calculator?
- Common Mistakes to Avoid
- Frequently Asked Questions (FAQ)
What Is a Bearing in Coordinate Geometry?
A bearing is the angle measured clockwise from the North direction (positive Y-axis) to the line connecting two points. It is always expressed as a value between 0° and 360°, making it universally understood in surveying, navigation, and engineering.
Unlike a standard angle in mathematics (measured anticlockwise from the X-axis), a bearing starts from North and rotates clockwise. This is why a bearing of 0° or 360° means you are heading directly North, 90° means East, 180° means South, and 270° means West.
Key definition: Bearing = the clockwise angle measured from North to the direction of travel. It is expressed in degrees, minutes, and seconds (DMS) format — for example, 045° 30′ 15″ — or in decimal degrees — for example, 045.504°.
0°
North
(True North)
90°
East
180°
South
270°
West
Why Do Bearings Start from North?
Historically, navigation and land surveying used a compass as the primary directional instrument, and a compass needle always points toward magnetic north. This made North the natural reference direction. Today, even in modern GPS and coordinate geometry software, the convention is preserved so that survey data from different centuries can still be compared accurately.
Types of Bearing — True, Magnetic & Compass
Before picking up a calculator, it is important to understand that there are three different types of bearing in common use. Confusing them is one of the most frequent errors made by students and fieldworkers alike.
| Type | Reference Direction | Common Use |
|---|---|---|
| True Bearing | Geographic North Pole | Coordinate geometry, surveying, engineering drawings |
| Magnetic Bearing | Magnetic North (varies by location) | Compass navigation, fieldwork orienteering |
| Grid Bearing | Grid North on a map projection | Topographic maps, military navigation, GIS |
| Compass Bearing | Magnetic North + deviation correction | Marine navigation, aviation |
For coordinate geometry calculations — which is what most students, surveyors, and engineers perform — you will almost always be working with True Bearing, calculated purely from Easting and Northing coordinates.
- True bearing uses the atan2 function applied to ΔEasting and ΔNorthing
- Magnetic declination must be added or subtracted to convert between true and magnetic
- Grid convergence adjusts for the difference between True North and Grid North
- Whole-circle bearing (WCB) is another term for true bearing — both mean 0°–360°
How to Calculate True Bearing Between Two Points
To calculate the true bearing from Point A (X₁, Y₁) to Point B (X₂, Y₂), follow these steps. In surveying notation, X represents Easting and Y represents Northing.
- Calculate ΔX (Departure): ΔX = X₂ − X₁ — this is the difference in Easting between the two points.
- Calculate ΔY (Latitude): ΔY = Y₂ − Y₁ — this is the difference in Northing between the two points.
- Apply the atan2 function: θ = atan2(ΔX, ΔY) — note the order: ΔX comes first, ΔY second. This is different from the standard atan2(y,x) used in mathematics.
- Convert radians to degrees if your calculator returns radians: Degrees = θ × (180 / π)
- Normalise to 0°–360°: True Bearing = (θ + 360) mod 360 — this ensures the result is always positive and within range.
True Bearing (A→B) = ( atan2(ΔX, ΔY) × 180/π + 360 ) mod 360 Where: ΔX = X₂ − X₁ (Departure / Easting difference) ΔY = Y₂ − Y₁ (Latitude / Northing difference)
Worked Example
Suppose Point A has coordinates (100, 200) and Point B has coordinates (350, 500).
- ΔX = 350 − 100 = 250
- ΔY = 500 − 200 = 300
- θ = atan2(250, 300) = 39.8056°
- True Bearing A→B = (39.8056 + 360) mod 360 = 039° 48′ 20″
The bearing of 039.8° tells you that Point B lies in the North-East quadrant, at roughly 40° from North — a gentle northeast heading.
What Is Back Bearing & How to Calculate It
The back bearing (also called the reverse bearing or reciprocal bearing) is the bearing measured from Point B back to Point A. In surveying, this is used to check calculations, close a traverse, and verify fieldwork accuracy.
The formula is remarkably simple:
Back Bearing = (Forward Bearing + 180°) mod 360° Example: Forward bearing A→B = 039.8° Back bearing B→A = (039.8 + 180) mod 360 = 219.8°
Surveying rule of thumb: If the forward bearing is less than 180°, add 180° to get the back bearing. If the forward bearing is greater than 180°, subtract 180°. Both methods give the same result as the mod 360 formula above.
Why Back Bearing Matters
- Traverse closure check — summing all back bearings with their forward counterparts reveals accumulated errors
- Property boundary surveys — legal descriptions require bearings in both directions
- Navigation verification — knowing the return bearing is essential for safe fieldwork in remote locations
- Engineering setting out — construction teams use back bearings to confirm alignment of structures
Distance Between Two Coordinates — Euclidean Formula
The straight-line distance between two coordinate points in a flat (Cartesian) plane is calculated using the Euclidean distance formula, which is a direct application of the Pythagorean theorem. This is the standard formula used in coordinate geometry, plane surveying, and engineering.
Distance = √( ΔX² + ΔY² ) Where: ΔX = X₂ − X₁ ΔY = Y₂ − Y₁ Worked example: ΔX = 250, ΔY = 300 Distance = √(250² + 300²) = √(62500 + 90000) = √152500 ≈ 390.51 m
Multi-Point (Traverse) Distance
When calculating the total distance along a traverse — a series of connected survey lines — you apply the distance formula to each consecutive pair of points and sum all segment lengths:
Total Traverse Distance = d₁₂ + d₂₃ + d₃₄ + … + d(n-1)n Where each segment d = √(ΔX² + ΔY²)
- Metres (m) — standard unit in metric surveying and engineering
- Kilometres (km) — used for longer survey lines and mapping projects
- Feet (ft) — common in US surveying and construction
- Nautical miles (nm) — used in marine and aviation navigation
- Miles (mi) — used in road mapping and geographic studies
Finding a Destination Point from Bearing & Distance
One of the most common tasks in setting out and field surveying is the inverse of the bearing calculation — given a known starting point, a bearing, and a distance, find the coordinates of the destination. This is called the polar-to-rectangular conversion or simply the destination point formula.
ΔX = Distance × sin(Bearing in radians) ΔY = Distance × cos(Bearing in radians) Destination X = Start X + ΔX Destination Y = Start Y + ΔY Example: Start (100, 200), Bearing = 045°, Distance = 150 m ΔX = 150 × sin(0.7854) = 106.07 m ΔY = 150 × cos(0.7854) = 106.07 m Destination = (206.07, 306.07)
Real-World Applications
- Staking out building corners — engineers set out a known peg position using bearing and tape distance from a control point
- GPS waypoint calculation — navigation systems compute the next position from current heading and speed
- Slope distance correction — in hilly terrain, the horizontal distance is derived from slope distance and vertical angle before applying this formula
- Traverse computation — in open traverses, each successive station coordinate is computed using this method from the previous station
Midpoint Formula & Section Formula
The midpoint formula gives the coordinates of the point exactly halfway between two known points. The more general section formula allows you to find any point that divides a line segment in a given ratio — either internally (between the two points) or externally (outside the segment).
Midpoint Formula
Midpoint M = ( (X₁ + X₂) / 2, (Y₁ + Y₂) / 2 ) Example: A(100, 200) and B(350, 500) M = ( (100+350)/2, (200+500)/2 ) = (225, 350)
Section Formula (Internal Division in Ratio m:n)
P = ( (m·X₂ + n·X₁) / (m + n), (m·Y₂ + n·Y₁) / (m + n) ) Example: A(100, 200), B(350, 500), ratio 2:1 P = ( (2×350 + 1×100) / (2+1), (2×500 + 1×200) / (2+1) ) P = ( 800/3, 1200/3 ) = (266.67, 400)
Section Formula (External Division in Ratio m:n)
P = ( (m·X₂ − n·X₁) / (m − n), (m·Y₂ − n·Y₁) / (m − n) ) Note: m ≠ n for external division (denominator cannot be zero)
- Midpoint is a special case of section formula where m = n = 1
- Internal section point lies between A and B on the line segment
- External section point lies outside A and B, on the extension of the line
- Centroid of a triangle is found by applying the midpoint formula three times — it divides each median in ratio 2:1 from the vertex
Triangle Calculations from Three Coordinates
When three points are given as coordinates, a wide range of geometric properties can be computed. The Bearing & Distance Calculator handles all of these automatically — but understanding the formulas helps you verify and interpret results.
Area — Shoelace Formula
Area = ½ × |X₁(Y₂ − Y₃) + X₂(Y₃ − Y₁) + X₃(Y₁ − Y₂)| Example: A(0,0), B(6,0), C(3,4) Area = ½ × |0(0−4) + 6(4−0) + 3(0−0)| = ½ × |0 + 24 + 0| = 12 square units
Interior Angles — Law of Cosines
cos(A) = (b² + c² − a²) / (2bc) A = arccos( result ) Where a, b, c are side lengths opposite to vertices A, B, C respectively.
Centroid
Centroid G = ( (X₁+X₂+X₃)/3, (Y₁+Y₂+Y₃)/3 )
Triangle Type Classification
- Equilateral — all three sides equal length
- Isosceles — exactly two sides equal length
- Scalene — all three sides different lengths
- Right-angled — one interior angle equals exactly 90°
- Obtuse — one interior angle greater than 90°
- Acute — all interior angles less than 90°
Who Uses a Bearing & Distance Calculator?
The Bearing & Distance Calculator serves a wide range of professionals, students, and hobbyists. The combination of bearing, distance, destination point, and geometric calculations in one tool makes it particularly versatile.
🏗️
Civil Engineers
Computing traverse coordinates for road alignments, bridge setouts, and boundary surveys. Converting between grid and true bearing for design drawings.
📐
Surveying Students
Practising bearing calculations for exams, verifying traverse computations, and understanding the atan2 function in a visual way.
🗺️
Land Surveyors
Setting out property boundaries, computing cadastral plans, converting DMS bearings, and checking field measurements against computed values.
⚓
Maritime & Aviation
Computing course headings, ETA waypoints, range and bearing from a vessel or aircraft position to a waypoint or landmark.
🎓
Maths Teachers
Demonstrating coordinate geometry concepts including distance formula, section formula, and angle calculations with real-world context.
🧭
Orienteering & Hiking
Converting map grid references to bearing and distance for navigation, finding destination coordinates from a known camp position and compass reading.
Common Mistakes to Avoid When Calculating Bearing & Distance
Even experienced surveyors and engineers make errors in bearing and distance calculations. Here are the most frequently encountered mistakes and how to avoid them:
- Reversing ΔX and ΔY in atan2 — in geography and surveying, atan2(ΔX, ΔY) is used (not the mathematical atan2(y, x)). Swapping these gives a bearing 90° off.
- Forgetting to normalise to 0°–360° — atan2 returns values between −180° and +180°. Always apply (result + 360) mod 360 to get a true bearing.
- Mixing radians and degrees — the destination point formula requires the bearing in radians. Forgetting to convert degrees to radians with (°× π/180) is a very common error.
- Confusing forward bearing with back bearing — the bearing from A to B is NOT the same as from B to A. They differ by exactly 180°.
- Using collinear points for triangle area — if three points lie on the same straight line, the shoelace formula gives zero, because they do not form a triangle.
- Ignoring unit consistency — mixing metres and kilometres in the same formula gives wildly wrong results. Always convert to one consistent unit first.
- Misinterpreting DMS notation — 045° 30′ is not the same as 45.30°. Degrees, minutes, and seconds must be converted: 045° 30′ = 45.5° (since 30′ = 0.5°).
Frequently Asked Questions (FAQ)
These are the questions people search for most often when looking for bearing and distance calculation help. Each answer is written to be clear, accurate, and directly useful.What is the formula for bearing between two points?+How do I calculate back bearing from forward bearing?+How do I find the distance between two coordinate points?+What is the difference between bearing and azimuth?+How do I find coordinates from a bearing and distance?+How do I convert decimal degrees to degrees minutes seconds (DMS)?+What is departure and latitude in surveying?+How do I calculate the area of a triangle from coordinates?+Can I use this calculator for GPS latitude and longitude coordinates?+What is a traverse in surveying and how does bearing relate to it?+
Summary — Key Formulas at a Glance
Here is a quick-reference summary of every formula covered in this guide. Bookmark this page to use as a revision reference for exams, fieldwork, or professional practice.
| Calculation | Formula |
|---|---|
| True Bearing A→B | ( atan2(ΔX, ΔY) × 180/π + 360 ) mod 360 |
| Back Bearing | ( Forward Bearing + 180 ) mod 360 |
| Distance | √( ΔX² + ΔY² ) |
| Destination X | X₁ + Distance × sin(θ radians) |
| Destination Y | Y₁ + Distance × cos(θ radians) |
| Midpoint | ( (X₁+X₂)/2, (Y₁+Y₂)/2 ) |
| Internal Section (m:n) | ( (mX₂+nX₁)/(m+n), (mY₂+nY₁)/(m+n) ) |
| Triangle Area (Shoelace) | ½ |X₁(Y₂−Y₃) + X₂(Y₃−Y₁) + X₃(Y₁−Y₂)| |
| Centroid | ( (X₁+X₂+X₃)/3, (Y₁+Y₂+Y₃)/3 ) |
| DMS from decimal ° | D = floor(°), M = floor(frac×60), S = frac₂×60 |