Advertisement
Advertisement
SURVEYING

Triangulation Calculator — locate a point from two known stations

Enter a baseline and the two angles or bearings measured to an unknown point, and get its distance from each station and its position relative to the baseline.

Angles mode uses the angle between the baseline and the sighting at each station. Bearings mode works out those angles for you.
The measured distance between the two known stations, in whatever unit you are working in.
Between the baseline A→B and the sighting A→P.
Between the baseline B→A and the sighting B→P.
These three fields are used only in bearings mode. Measure all three from the same north reference.
Distance from station A to the point
 
Distance from station B
Angle at the point
Perpendicular offset from the baseline
Along the baseline from A
Coordinates:
Advertisement

The triangulation calculator solves the oldest problem in surveying: fixing the position of a point you cannot reach by measuring angles to it from two points you can. You supply the distance between the two known stations and the angle measured at each one, and the tool returns the distance from each station to the unknown point together with its position relative to the baseline.

Arb Digital publishes it as part of a free measurement and geometry library. The method underlies classical land survey networks, ship and aircraft position fixing from two shore stations or beacons, forest fire spotting from paired lookout towers, and the geometry inside a great deal of modern positioning hardware. The arithmetic is the law of sines; the value of a dedicated page is in getting the angle conventions, the degenerate cases and the error behaviour right.

What This Triangulation Calculator Does

Given a baseline and two angles, it computes the third angle of the triangle, then both unknown sides. It also resolves the point onto the baseline: how far along the baseline from station A the point sits, and how far off it perpendicularly. Those two figures are usually more useful in the field than the raw distances, because they translate directly into a local coordinate pair, which the tool prints with station A at the origin and station B on the positive horizontal axis.

The bearings mode exists because field notebooks rarely record interior angles directly. If you have three compass bearings — from A to B, from A to the point, and from B to the point — the tool derives the two interior angles itself, which removes the most common arithmetic slip in the whole procedure.

Where the boundary sits with our existing tools: the law of sines calculator and the law of cosines calculator solve a general triangle from whatever combination of sides and angles you have. This page is the specific surveying case — two known stations, one unknown point, angles only, no measured distance to the target — and it reports the results in the offsets a surveyor actually wants.

How to Use It

  1. Measure your baseline between two stations you can occupy, and enter its length. Any unit works, as long as you stay in it.
  2. Measure the angle at each station between the baseline and the line of sight to the target point.
  3. Or switch to bearings mode and enter the three compass bearings instead, all referenced to the same north.
  4. Read the two distances from the hero figure and the grid, then use the perpendicular and along-baseline offsets to plot the point.
  5. Check the angle at the point. If it is very small, the fix is weak — see the section on geometry below.

The Formula

Label the stations A and B, the unknown point P, the baseline length c, the angle at A as α and the angle at B as β. The angles of a triangle sum to 180°, so the angle at P is γ = 180° − α − β. The law of sines, stated by Wolfram MathWorld as a/sin A = b/sin B = c/sin C on its law of sines page, then gives both unknown sides directly:

AP = c × sin(β) / sin(γ) and BP = c × sin(α) / sin(γ)

The offsets follow from simple trigonometry at station A: the perpendicular distance from P to the baseline is AP × sin(α), and the distance along the baseline from A to the foot of that perpendicular is AP × cos(α).

Work the defaults through by hand. With c = 100, α = 60° and β = 45°, the angle at P is 75°. So AP = 100 × sin45° / sin75° = 100 × 0.707107 / 0.965926 = 73.2051, and BP = 100 × sin60° / sin75° = 89.6575. The perpendicular offset is 73.2051 × sin60° = 63.3975, and the along-baseline distance is 73.2051 × cos60° = 36.6025. As an independent check, the same offset computed from the other station is 89.6575 × sin45° = 63.3975, which agrees exactly. Those are the values the calculator loads with.

Advertisement

Why the Angle at the Point Decides the Quality of the Fix

Both computed distances have sin(γ) in the denominator. When γ is close to 90°, sin(γ) is close to one and small angular errors produce correspondingly small distance errors. When γ is small — that is, when the two sightings are nearly parallel because the point is far away compared with the baseline — sin(γ) is close to zero and the division amplifies every error in the measured angles.

This is the same effect navigators call a poor cut and satellite positioning calls dilution of precision. A tenth of a degree of instrument error might move the fix by a few centimetres when the intersection angle is healthy, and by many metres when it is five degrees. The practical rules that follow are always the same: lengthen the baseline, choose stations that put the target roughly abeam rather than dead ahead, and treat any solution with a very small angle at the point as indicative rather than final. The calculator reports γ in the grid precisely so this check is in front of you.

Angle Conventions and the Bearings Trap

Interior angles are measured at each station between the baseline and the sighting, and both are taken as positive quantities between 0° and 180°. The angle at B is measured from the direction B→A, not B→the far horizon — taking it from the wrong end of the baseline is the classic error and gives a supplementary angle, which quietly produces a plausible but wrong answer.

Bearings avoid that by being absolute, but introduce their own trap. Every bearing must be referenced to the same north. Mixing a magnetic bearing at one station with a grid bearing at the other injects the magnetic declination difference straight into the interior angle, and declination varies by location and drifts over time. Convert everything to one reference before you start. The tool computes each interior angle as the smaller rotation between two bearings, so a reading of 350° against 10° correctly yields 20° rather than 340°. If you are converting between coordinate systems as part of the same job, the coordinates converter and the azimuth calculator handle those steps.

When There Is No Solution

Two configurations have no answer, and the tool says so in writing rather than printing a number. If the two angles sum to 180° or more, the sightings never converge on the same side of the baseline — the triangle cannot close. If either angle is zero, the sighting runs along the baseline itself and the point is undefined or infinitely far away.

A third case is subtler and not an error at all: if the two angles are both very small but their sum is just under 180°, the geometry is valid but the point is enormously far away, and the reported distances will be large and extremely sensitive. That is the poor-cut situation above, and it is worth recognising as a measurement problem rather than a calculation one.

Triangulation Versus Trilateration

The two words are often used interchangeably and they describe different methods. Triangulation, the subject of this page, fixes a point from measured angles with one known distance — the baseline. Trilateration fixes a point from measured distances alone, which is what satellite navigation actually does despite the popular description. Historic national survey networks were triangulation networks because angles could be measured accurately with a theodolite long before distances could be measured accurately over kilometres; electronic distance measurement reversed that, and modern control networks are largely trilateration or combined adjustments. Trilateration is solved with the law of cosines rather than the law of sines, because you begin with three sides and recover the angles instead of the other way round.

A related method, resection, inverts the problem: instead of standing at the known points and sighting the unknown one, you stand at the unknown point and sight three known ones. It is the practical choice when the target is somewhere you can occupy and the reference points are not. The arithmetic is different, but the same warning about weak geometry applies with even more force.

Want technical tools like this on your own site?

Arb Digital builds free calculators that earn organic traffic because the method and the caveats are both right. Browse the library, or tell us what your audience keeps searching for.

Browse Free Tools Talk to Arb Digital

Common Mistakes to Avoid

  • Measuring the angle at B from the wrong direction, which gives the supplementary angle and a wrong but believable answer.
  • Mixing magnetic and grid bearings between the two stations, which injects declination into the interior angle.
  • Accepting a fix with a tiny angle at the point without recognising how much it amplifies angular error.
  • Using a baseline that is short relative to the target distance, which guarantees that weak geometry.
  • Reporting distances to more decimal places than the angles justify — the output cannot be more precise than the input.

Related Free Tools From Arb Digital

Solve a general triangle with the law of sines calculator or the law of cosines calculator, scale a figure with the similar triangles calculator, measure a gradient with the slope calculator, and handle long-range positions on the globe with the great circle distance calculator. The free online tools hub lists every geometry and measurement tool we publish.

Frequently Asked Questions

What is triangulation?

A method of fixing the position of a point by measuring the angles to it from two known points a known distance apart. The two angles and the baseline define a triangle, and the law of sines gives the remaining sides.

How many measurements do I need?

Three: the distance between the two known stations, and the angle from the baseline to the target at each station. No distance to the target itself is required, which is the whole point of the method.

What is the difference between triangulation and trilateration?

Triangulation uses measured angles with one known distance. Trilateration uses measured distances only. Satellite navigation is trilateration, despite often being described as triangulation in general writing.

Why does my fix become unreliable at long range?

Because the angle at the target shrinks as the target gets further away relative to the baseline, and that angle appears in the denominator of both distance formulas. A small angle there multiplies any angular measurement error.

Can I use compass bearings instead of interior angles?

Yes. Switch to bearings mode and enter the bearing from A to B, from A to the point, and from B to the point. Every bearing must use the same north reference, magnetic or grid but not a mixture.

What happens if the two angles add up to 180 degrees or more?

There is no solution. The two lines of sight never meet on the same side of the baseline, so no triangle exists and the tool reports a written message instead of a number.

Does the unit of the baseline matter?

No, as long as it is consistent. The results come back in the same unit you entered, because the whole calculation is a ratio of lengths scaled by the baseline.

Advertisement
Advertisement

Take it further