Triangulation Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Measure a baseline between two points A and B, sight the same target from each end, and enter the two angles to get the distance to the target.
Result
Perpendicular distance from the baseline to the target (same unit)
Angle at the target C = 180° − A − B (degrees)
- Distance from A to the target (same unit)
- Distance from B to the target (same unit)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Baseline length AB (any length unit): enter 0 or more.
- Angle at A between the baseline and the target, in °: enter a number from 0 to 180.
- Angle at B between the baseline and the target, in °: enter a number from 0 to 180.
- Read the result: Perpendicular distance from the baseline to the target (same unit); the panel also shows Angle at the target C = 180° − A − B (degrees), Distance from A to the target (same unit) and Distance from B to the target (same unit).
How this calculator works
Triangulation fixes a point by the angles it makes with the two ends of a known baseline. The three points form a triangle whose third angle is C = 180° − A − B.
The law of sines gives the sides: AC = AB × sin B ÷ sin C and BC = AB × sin A ÷ sin C. The perpendicular distance from the baseline is d = AB × sin A × sin B ÷ sin(A + B). Lengths come out in the unit of the baseline.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Baseline length AB | any length unit | |
| Angle at A between the baseline and the target | ° | |
| Angle at B between the baseline and the target | ° | |
| Angle at the target C = 180° − A − B | degrees | |
| Perpendicular distance from the baseline to the target | same unit | |
rad(x) | the angle x, converted from degrees to radians. |
Worked example
| Baseline length AB (any length unit) | 100 |
|---|---|
| Angle at A between the baseline and the target | 60 ° |
| Angle at B between the baseline and the target | 60 ° |
| Angle at the target C = 180° − A − B (degrees) | 60 |
|---|---|
| Distance from A to the target (same unit) | 100 |
| Distance from B to the target (same unit) | 100 |
Perpendicular distance from the baseline to the target (same unit) 86.6025
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How far is a target seen at 60° from both ends of a 100 m baseline?
The triangle is equilateral: the target is 100 m from each end and about 86.6025 m from the baseline.
Why do the two angles have to add up to less than 180°?
Otherwise the two sight lines never meet on the same side of the baseline, so no triangle exists and the calculator shows a dash.