terican

Last verified · v1.0

Calculator · math

Triangulation Calculator

Calculate the distance to any target using two observation angles and a known baseline — instant, accurate triangulation results.

FreeInstantNo signupOpen source

Inputs

Calculated Value

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Calculated Value

The formula

How the
result is
computed.

What Is Triangulation?

Triangulation is a geometric method for determining the position or distance of an unknown point by measuring angles from two known observation points. By forming a triangle between the two observers and the target, this technique eliminates the need for direct measurement of the distance to the target. The principle underpins land surveying, satellite navigation, astronomy, and search-and-rescue operations across the globe.

The Triangulation Formula

The calculation applies the Law of Sines, which relates each side of a triangle to the sine of its opposite angle. For a triangle formed by Observer A, Observer B, and Target T, the distance from A to the target is:

d_A = (b × sin(β)) / sin(180° − α − β)

By symmetry, the distance from Observer B to the target is:

d_B = (b × sin(α)) / sin(180° − α − β)

Variable Definitions

  • b — Baseline distance: the measured separation between Observer A and Observer B
  • α (alpha) — Angle at Observer A between the baseline direction and the line of sight to the target
  • β (beta) — Angle at Observer B between the baseline direction and the line of sight to the target
  • d_A — Distance from Observer A to the target
  • d_B — Distance from Observer B to the target

Derivation from the Law of Sines

The three points — A, B, and Target T — form a triangle whose interior angles sum to exactly 180°. Since α occupies the corner at A and β occupies the corner at B, the angle at T equals 180° − α − β. The principle of triangulation then applies the Law of Sines: the ratio of each side to the sine of its opposite angle is constant throughout the triangle. Side b is opposite the apex angle at T, and side d_A is opposite β, so the Law of Sines directly yields d_A / sin(β) = b / sin(T). Solving for d_A gives the formula above. Note that sin(180° − α − β) equals sin(α + β), so both expressions are mathematically equivalent.

Worked Example

Two survey stations stand 1,000 meters apart. Station A records an angle of 55° toward a distant water tower; Station B records an angle of 70°. The apex angle at the tower is 180° − 55° − 70° = 55°. Substituting into the formula:

d_A = (1,000 × sin(70°)) / sin(55°) = (1,000 × 0.9397) / 0.8192 ≈ 1,147 meters

The water tower stands approximately 1,147 meters from Station A. For Station B: d_B = (1,000 × sin(55°)) / sin(55°) = 1,000 meters, confirming the isoceles property when α = β.

Real-World Applications

Land Surveying and Cartography

Professional surveyors have relied on triangulation networks since the 18th century. The Principal Triangulation of Great Britain (1783–1853) established a geodetic framework across England and Scotland using a chain of more than 200 triangulation stations. Modern total stations continue to measure horizontal and vertical angles, feeding directly into Law of Sines calculations identical to those above.

GPS Satellite Navigation

GPS receivers extend triangulation into three dimensions. By measuring signal travel time from at least four satellites at known orbital positions, a receiver solves a system of simultaneous distance equations — the 3D generalization of two-angle triangulation. Differential GPS corrections achieve positional accuracy of ±1 centimeter over baselines of tens of kilometers.

Astronomy: Stellar Parallax

Astronomers measure distances to nearby stars using Earth’s orbital diameter (approximately 300 million km) as the baseline. The angular shift of a nearby star against the background of distant stars feeds directly into the triangulation formula. Alpha Centauri, the nearest star system, displays a parallax angle of 0.747 arcseconds, placing it 4.37 light-years away.

Search and Rescue

Emergency services locate distress radio transmitters by placing two or more receivers at known positions, measuring bearing angles, and computing the intersection point using triangulation. The technique requires no cooperation from the transmitter and operates across open terrain, dense forest, and open water.

Accuracy Considerations

Triangle geometry governs result quality. When the apex angle at the target approaches 0° or 180°, the triangle becomes nearly degenerate and small measurement errors produce large distance errors. Optimal accuracy occurs when all three interior angles fall between 30° and 150°. Systematic baseline errors propagate linearly into the final result, while angular measurement errors scale with the square of the target distance — making precise angle measurement the dominant accuracy concern at long range.

Methodology and Sources

This calculator implements the Law of Sines as documented by Wikipedia: Law of Sines and the geometric framework described in Wikipedia: Triangulation. Angles are converted to radians internally before trigonometric evaluation, and all results are expressed in the same linear units as the input baseline distance.

Reference

Frequently asked questions

What is a triangulation calculator used for?
A triangulation calculator computes the distance from one or both observers to an unknown target point, given the baseline distance between the two observers and the angle each observer measures toward the target. Common applications include land surveying, mapping terrain without direct access, locating radio transmitters during search-and-rescue operations, determining star distances in astronomy, and demonstrating Law of Sines principles in geometry courses.
What angles produce the most accurate triangulation results?
The most accurate results occur when the apex angle at the target — equal to 180° minus the sum of the two observation angles — stays between 30° and 150°. Angles near 0° or 180° create a nearly degenerate triangle in which a measurement error of even 1° can translate into hundreds of meters of distance error, particularly when the baseline is long and the target is far away.
What is the difference between triangulation and trilateration?
Triangulation uses angle measurements at two known observation points to locate a third unknown point, applying the Law of Sines to solve the resulting triangle. Trilateration uses known distances from three or more reference points — as GPS satellites do — to locate a receiver by intersecting spheres or circles. Modern GPS receivers technically perform trilateration, but the word triangulation is widely applied to both methods in everyday language.
Can triangulation work if only one observation angle is known?
No. With only one angle and the baseline length, infinitely many target positions satisfy the constraint — the target could lie anywhere along the ray extending from that single observer at the given angle. Both angles α and β are required to define a unique intersection point. Supplying both angles constrains the geometry to exactly one solution, assuming the target lies on the correct side of the baseline between the two observers.
How does the triangulation formula relate to the Law of Sines?
The formula d_A = (b × sin(β)) / sin(180° − α − β) is a direct application of the Law of Sines, which states that in any triangle each side divided by the sine of its opposite angle equals a constant ratio. Here, the baseline b sits opposite the apex angle at the target, and side d_A sits opposite angle β, so the Law of Sines immediately yields the formula without any additional geometric assumptions.
What units should be used for the baseline distance in the triangulation calculator?
The triangulation formula is entirely unit-agnostic: the computed distances d_A and d_B are always returned in the same units as the input baseline b. Enter the baseline in meters and the output is in meters; enter it in feet and the output is in feet; enter it in kilometers and the output is in kilometers. Only the angles require a fixed format — enter them in degrees as the calculator specifies, regardless of which distance unit is chosen.