Triangulation Calculator
Solve triangulation problems step-by-step with our free calculator. See formulas, worked examples, and clear explanations.
Formula
P = P1 + t1 * d1, solving det(d1, -d2) system for intersection
Two rays from known positions are defined by their angles. The intersection point is found by solving the system of parametric equations where both rays meet, using the determinant of the direction vectors.
Worked Examples
Example 1: Basic Triangulation from Two Stations
Problem: Station A is at (0, 0), Station B is at (10, 0). Angle from A to target is 45 degrees, from B is 120 degrees. Find the target.
Solution: From A: direction vector = (cos 45, sin 45) = (0.7071, 0.7071)\nFrom B: direction vector = (cos 120, sin 120) = (-0.5, 0.8660)\nSolve system: t1*0.7071 - t2*(-0.5) = 10, t1*0.7071 - t2*0.8660 = 0\nSolving gives t1 = 7.3205, target position = (5.1764, 5.1764)\nAngle of cut = |120 - 45| = 75 degrees (Strong fix)
Result: Target at (5.1764, 5.1764) | Angle of cut: 75 deg | Strong fix
Example 2: Navigation Triangulation
Problem: A ship observes Lighthouse A at (0, 0) bearing 60 degrees and Lighthouse B at (5, 0) bearing 135 degrees.
Solution: Station A at origin, bearing 60 deg: direction = (cos 60, sin 60) = (0.5, 0.866)\nStation B at (5, 0), bearing 135 deg: direction = (cos 135, sin 135) = (-0.707, 0.707)\nAngle of cut = |135 - 60| = 75 degrees\nSolving intersection gives ship position\nBaseline = 5 units between lighthouses
Result: Position determined with 75 deg cut angle | Good geometric strength
Frequently Asked Questions
How is the baseline important in triangulation calculations?
The baseline is the known distance between the two observation stations and serves as the foundation of all triangulation calculations. A longer baseline generally produces more accurate results because it creates a larger triangle with better-defined intersection geometry. The baseline must be measured with high precision because any error in it propagates proportionally through all derived measurements. Historically, establishing the first baseline of a triangulation network was the most careful measurement in the entire survey, sometimes taking weeks with specialized equipment. In modern surveying, GPS can establish baselines to millimeter accuracy, making triangulation networks much easier to set up.
What are the practical applications of triangulation?
Triangulation has extensive applications across many fields. In land surveying, it is used to establish control networks and map terrain features. In navigation, ships and aircraft use triangulation with radio beacons or visual landmarks to determine their position. In astronomy, stellar parallax is a form of triangulation using Earths orbit as the baseline to measure distances to nearby stars. In forensic science, gunshot triangulation uses microphone arrays to locate the source of gunfire. Cell tower triangulation estimates mobile phone positions for emergency services. In robotics, triangulation sensors use laser or structured light to create 3D models of environments.
How does triangulation differ from trilateration?
Triangulation determines position by measuring angles from known points, while trilateration determines position by measuring distances from known points. Triangulation requires angle-measuring instruments like theodolites and computes the target position using trigonometric relationships. Trilateration requires distance-measuring capabilities and computes position by finding the intersection of circles (in 2D) or spheres (in 3D) centered on the known points. GPS uses trilateration with satellite distances, not triangulation with angles. In practice, modern surveying often combines both methods: electronic total stations measure both angles and distances simultaneously, using the redundant measurements to improve accuracy and detect errors.
What errors can affect triangulation accuracy?
Several types of errors can affect triangulation accuracy. Instrumental errors arise from imperfect calibration of angle-measuring devices like theodolites or compasses. Personal errors occur from imprecise sighting or reading of instruments. Environmental factors like atmospheric refraction can bend lines of sight, causing angular errors, especially over long distances or in hot conditions. Station position errors in the baseline coordinates propagate through all calculations. The geometric configuration also matters: poor angles of cut amplify all other errors. Modern surveying mitigates these errors through redundant measurements, least-squares adjustment, and electronic instruments with sub-arcsecond precision.
How do you extend triangulation to three dimensions?
Three-dimensional triangulation adds elevation measurements to the horizontal angle measurements, requiring vertical angles (zenith or elevation angles) in addition to horizontal bearings. With two stations, you need both horizontal and vertical angles from each station to uniquely determine a 3D point. The mathematics involves solving systems of equations in three unknowns (x, y, z) using direction cosines derived from both sets of angles. Alternatively, you can decompose the problem into a horizontal triangulation for (x, y) coordinates and then use vertical angles to compute the z-coordinate. Photogrammetry uses this principle with photographs from two viewpoints to create 3D models.
What is resection and how does it relate to triangulation?
Resection is the inverse of triangulation: instead of finding an unknown target from known stations, you determine your own position by measuring angles to three or more known landmarks. In triangulation you stand at known positions and observe the unknown point. In resection you stand at the unknown position and observe known points. Resection requires at least three known points (not two, because two points create an ambiguous solution lying on a circle). The solution uses the measured angles between the known points and involves solving a system that produces a unique position. Resection is commonly used by hikers with a compass and map, by military personnel for position fixing, and in photogrammetry for camera positioning.