Triangulation Calculator — Find Position from Reference Points

Find an unknown position using triangulation (angles) or trilateration (distances) from 2-3 known reference points. Applications in GPS, surveying, and navigation.

Reference Point 1

Reference Point 2

Reference Point 3

Planning notes, formulas, and examples

About the Triangulation Calculator — Find Position from Reference Points

Triangulation and trilateration are the two fundamental methods for determining an unknown position from known reference points. Triangulation uses measured angles from two known points to compute the target's location using the law of sines. Trilateration uses measured distances from two or three known points and finds the target by intersecting circles.

GPS navigation uses trilateration: each satellite provides a distance (from signal timing), and three or more intersecting spheres pinpoint your location. Land surveying traditionally uses triangulation: a surveyor measures angles to a target from two benchmarks with known coordinates and a known baseline distance. Both methods produce exact solutions in ideal conditions, with the third reference point (in trilateration) resolving the ambiguity between two possible positions.

This calculator supports three modes: two-point trilateration (which yields two candidate positions), three-point trilateration (which resolves the ambiguity), and two-point triangulation (using angles). Enter reference point coordinates, distances or angles, and get the target position, reference point summary, and distance visualization. Presets for GPS, surveying, and cell tower scenarios let you explore immediately.

When This Page Helps

Solving trilateration by hand requires intersecting circles — a process involving quadratic equations and careful algebra. Triangulation requires trigonometric computation with the law of sines. Both methods involve multiple steps where arithmetic errors are common, especially with non-integer coordinates.

This calculator handles the full computation in one place, supports three different methods, shows both candidate solutions for ambiguous cases, and provides visual feedback on the solution quality. It is useful for students learning coordinate geometry, surveyors checking field calculations, and anyone exploring positioning systems.

How to Use the Inputs

  1. Select the method: 2-point distances, 3-point distances, or 2-point angles.
  2. Enter the coordinates of the reference points.
  3. Enter the distances from each reference point to the target (for trilateration) or angles at each reference point (for triangulation).
  4. Or click a preset for a sample configuration.
  5. View the computed target position and distance details.
  6. For 2-point trilateration, two solutions are shown — use a 3rd point to choose.
  7. Review the applications table for real-world uses.
Formula used
Trilateration: intersect circles (x−x₁)²+(y−y₁)²=r₁² and (x−x₂)²+(y−y₂)²=r₂². Solve the linear equation from subtracting to find one coordinate, substitute for the other. Triangulation: use sine rule — d₁ = b·sin(β)/sin(γ), where b = baseline, β = angle at P2, γ = 180°−α−β.

Example Calculation

Result: Target ≈ (2.45, 4.35), Residual error ≈ 0.04

Three circles centered at (0,0) r=5, (10,0) r=6, and (5,8) r=5 are intersected. The first two circles give two candidates; the third circle selects the one with smallest distance error.

Tips & Best Practices

  • For best results with trilateration, place reference points in a triangle around the expected target — not in a line.
  • If two-point trilateration gives two solutions, the third distance measurement should clearly distinguish them.
  • For triangulation, angles must sum to less than 180° (the triangle inequality for angles).
  • Small angles produce large position errors — use reference points that subtend large angles at the target.
  • In real-world applications, measurement noise means the circles or lines may not intersect exactly — least-squares methods handle this.
  • The baseline (distance between reference points) should be comparable to the distance to the target for good accuracy.

How GPS Works

The Global Positioning System (GPS) is the world's most widely used trilateration system. Each GPS satellite broadcasts its position and a precise timestamp. Your receiver measures the time delay of each signal, converting it to a distance (speed of light × time). With distances from three satellites, your 2D position is determined; with four, your 3D position plus clock error are solved simultaneously.

Modern GPS achieves meter-level accuracy in standard mode and centimeter-level with differential corrections (RTK-GPS). The mathematical core is the same circle/sphere intersection implemented in this calculator, extended to three dimensions and augmented with sophisticated error correction.

Surveying and Geodesy

Before GPS, land surveying relied on triangulation networks: a web of points with precisely measured angles and a few precisely measured baselines. The Great Trigonometrical Survey of India (1802–1871) used this method to map the entire subcontinent, including measuring the height of Mount Everest. The mathematical principles are identical to this calculator's angle-based method, scaled to spherical geometry.

Modern Applications

Beyond GPS, triangulation and trilateration appear in: Wi-Fi positioning (using signal strength as a proxy for distance), emergency call location (cell tower trilateration), robot localization (using laser rangefinders or beacons), earthquake seismology (locating the epicenter from seismic wave arrival times), and acoustic source localization (finding a sound source from microphone arrays).

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Triangulation determines position from angle measurements; trilateration determines position from distance measurements. Both use known reference points but different input data.