Home · Everyday · Geometry & Coordinates · Triangulation Calculator
Triangulation Calculator
Locates a distant target from a measured baseline and the two angles observed at its ends, using the law of sines.
What this calculator does
Locates a distant target from a measured baseline and the two angles observed at its ends, using the law of sines. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Triangulation fixes a target T from the ends of a known baseline AB: measure the angles at A and B between the baseline and the line of sight to T. The third angle is 180° − A − B, and the law of sines then gives the distance from A as d·sin B / sin(angle at T), and symmetrically from B.
Accuracy collapses when the target angle is small — a distant target nearly in line with the baseline — because the sine in the denominator amplifies small angle errors. Surveyors therefore choose baselines comparable in length to the expected distance and observe angles to arc-second precision; the same geometry underlies parallax distance measurement in astronomy.
Worked example
With the example inputs this page opens with (baseline length d 100, angle at a end (degrees) 60, angle at b end (degrees) 70), the result is 122.6682 — distance from a to target. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| Angle at B end (degrees) | Distance from A to target | Distance from B to target | Angle at target (degrees) |
|---|---|---|---|
| 40 | 65.270364 | 87.938524 | 80 |
| 50 | 81.520747 | 92.160499 | 70 |
| 60 | 100 | 100 | 60 |
| 70 | 122.66816 | 113.051587 | 50 |
| 80 | 153.208889 | 134.729636 | 40 |
| 90 | 200 | 173.205081 | 30 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Why do both angles have to sum to less than 180°?
They are two angles of the same triangle, so together with the target angle they must total exactly 180°; a sum at or above 180° leaves no room for a real target point.
How does the Triangulation Calculator work?
Locates a distant target from a measured baseline and the two angles observed at its ends, using the law of sines. Baseline d · Angle A · Angle B → Distances to target. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Triangulation Calculator need?
Baseline d · Angle A · Angle B → Distances to target. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Triangulation Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.