Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Triangulation Calculator

Baseline length AB (any length unit): enter 0 or more. Prefilled example: 100.

Angle at A between the baseline and the target, in °: enter a number from 0 to 180. Prefilled example: 60.

Angle at B between the baseline and the target, in °: enter a number from 0 to 180. Prefilled example: 60.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Baseline length AB (any length unit): enter 0 or more.
  2. Angle at A between the baseline and the target, in °: enter a number from 0 to 180.
  3. Angle at B between the baseline and the target, in °: enter a number from 0 to 180.
  4. 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

  1. Gc={180−al−beif al+be<180−1otherwise
  2. D=L×sin⁡(rad⁡(al))×sin⁡(rad⁡(be))sin⁡(rad⁡(al+be))+0×Gc
Symbols used in the formula
SymbolMeaningUnit
LBaseline length ABany length unit
alAngle at A between the baseline and the target°
beAngle at B between the baseline and the target°
GcAngle at the target C = 180° − A − Bdegrees
DPerpendicular distance from the baseline to the targetsame 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 target60 °
Angle at B between the baseline and the target60 °
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
  1. Gc=180−60−60=60
  2. D=100×sin⁡(rad⁡(60))×sin⁡(rad⁡(60))sin⁡(rad⁡(60+60))+0×60=86.6025

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.

Questions answered

Related calculators