🧮
🧮 Math & statistics

Triangulation Calculator (distance to a point from two observation angles)

Results update as you type.

Your numbers

Understanding the triangulation calculator — concept and principle

This calculator locates a target from two observation points a known distance apart, using the angle each observer measures between the baseline and the line of sight. It gives the distances from both observers, the perpendicular distance from the baseline (for example an aircraft's height), the angle at the target, where the perpendicular meets the baseline and the triangle's area. Use it for surveying exercises, navigation, radar and trigonometry homework.

Triangulation from a baselineSight the target from both endsABtarget15°35°baseline 20dd = 20 · sin15° · sin35° ÷ sin130°Distance from baseline3.87582A → target 14.975 · B → target 6.75729
Two angles and the baseline fix the triangle; the third angle is 180° − 15° − 35° = 130°.

How it is calculated

With baseline b and angles α (at A) and β (at B):

Both angles are measured on the same side of the baseline.

The principle

A triangle is fixed by one side and the two angles next to it (ASA). The angles of a triangle add to 180°, which gives the third angle. The law of sines says each side is proportional to the sine of the opposite angle, so knowing b and its opposite angle γ lets you scale to the other sides. This idea, measuring angles instead of long distances, was the basis of national surveys for centuries and is still used in navigation and positioning.

Worked example

Default inputs: b = 20 (for example miles), α = 15°, β = 35°.

  1. γ = 180° − 15° − 35° = 130°.
  2. AT = 20 × sin 35° ÷ sin 130° ≈ 20 × 0.5736 ÷ 0.7660 ≈ 14.975.
  3. BT = 20 × sin 15° ÷ sin 130° ≈ 6.75729.
  4. Perpendicular distance d = 14.975 × sin 15° ≈ 3.87582.
  5. Foot from A = 14.975 × cos 15° ≈ 14.4648; area = ½ × 20 × 3.87582 ≈ 38.7582.
How Distance from the baseline to the target changes with Baseline length between observers A and BHow Distance from the baseline to the ta…024685101520253040Example: 3.87582Baseline length between observers A and B
Each point is the calculator re-run with only “Baseline length between observers A and B” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Baseline length between observers A and BDistance from the baseline to the target
50.968955
101.93791
152.90686
203.87582
254.84477
305.81373
407.75164

How to read the result

All lengths are in the unit of the baseline. In the radar example, the aircraft is about 15 miles from the first station and about 3.9 miles high. When the angle at the target is very small (the two sight lines are almost parallel), small angle errors cause large distance errors, so a longer baseline gives more reliable results.

Common mistakes

Keep in mind: Real surveying needs calibrated instruments, corrections for refraction and Earth curvature over long distances, and qualified surveyors. Use these results for learning and estimates only.

Frequently asked questions

What is the difference between triangulation and trilateration?

Triangulation uses measured angles; trilateration uses measured distances, as in GPS.

Why use the law of sines here?

You know one side and all three angles, which is exactly what the law of sines needs.

How can I reduce the error?

Use a longer baseline and aim for an angle at the target that is not too small.

Sources: OpenStax, Precalculus 2e (2021), §8.1 Non-right Triangles: Law of Sines

Checked 9 Nov 2026. OpenStax, Precalculus 2e (2021), §8.1 Non-right Triangles: Law of Sines (sin α/a = sin β/b = sin γ/c; worked example of two radar stations 20 miles apart observing an aircraft at 15° and 35° — about 14.98 miles away and 3.9 miles high; area = ½·ab·sin γ), as published on Mathematics LibreTexts.

🧮 All math & statistics tools →🌍 Calculators by country →