Science & engineering

Three-point horizontal-sextant-angle position-fix calculator

Candidate positions satisfy both unsigned horizontal angles formed by the ordered chart marks.

Your numbers

Numeric JSON array. Follow the displayed column labels and units; example data are synthetic.
Numeric JSON array. Follow the displayed column labels and units; example data are synthetic.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

A horizontal-sextant resection uses angles between three charted landmarks as seen from an unknown position. It does not require the observer to know a compass bearing to each mark. This calculator solves the local planar angular geometry, making the landmark order and the possibility of weak or ambiguous geometry explicit rather than turning two angles into an unjustified unique fix.

THE FORMULAIntersect both circular branches of two constant-subtended-angle loci; reject danger-circle degeneracy.

A worked example

The prefilled example gives Candidate fixes found = 1. This demonstration uses supplied example data, not an approved vessel operating condition.

Good to know

Three chart marks on one local plane, unsigned measured anglesAB andBC. Intersects both constant-subtended-angle circle branches and filters landmark coincidences. No heading measurement is inferred; near-degenerate geometry requires independent checks.

Fix position from two horizontal angles

A horizontal-sextant resection uses angles between three charted landmarks as seen from an unknown position. It does not require the observer to know a compass bearing to each mark. This calculator solves the local planar angular geometry, making the landmark order and the possibility of weak or ambiguous geometry explicit rather than turning two angles into an unjustified unique fix.

The coordinates belong to one consistent local chart plane and distance unit. The observed angles belong to pairs of rays from the observer, usually first-to-middle and middle-to-third landmark. Those are different measurements from three absolute bearings or three ranges, so substituting another type of observation changes the mathematical problem even if the landmarks are the same.

Two measured angles define intersecting circular lociA (0,0)B (10,0)C (10,10)Two subtended angles: 60° each
Scroll across to see the full diagram.
For marks(0,0),(10,0),(10,10)NM and unsigned angles60°,60°, the isolated retained point is(2.11325,7.88675)NM. Other circle intersections are filtered against the original ray angles.

For a related navigation or vessel calculation, use the Vertical-sextant-angle coastal-distance calculator for visible top and base. Compare the model and input conventions before combining results.

Identify landmarks and angle order

Enter three distinct charted points in the order used for the two observations. An unsigned angle normally lies between zero and 180 degrees; a signed clockwise convention needs its own clearly labeled branch treatment. Reversing the landmark order can change a signed observation, so labels should remain attached to the coordinates and angle fields.

The landmarks must not collapse into a degenerate arrangement, and a trial observer position cannot coincide with a landmark because the corresponding ray is undefined. A numerical starting guess can help a nonlinear solver find a candidate, but the guess is not additional observational evidence and must not be used to conceal the existence of other compatible candidates.

Constant-angle circles and residuals

For a fixed pair of landmarks, observer positions that subtend a given nondegenerate angle lie on arcs of a circle through those landmarks. The second observed angle supplies another constant-angle locus. Their useful intersections can identify the observer, while a shared landmark intersection is excluded because an angle measured from that coincident point is undefined.

A numerical formulation evaluates the angle between two landmark vectors using a two-argument arctangent of cross and dot products. Wrapped angular residuals prevent a small difference across the full-circle boundary from becoming an enormous error. The local Jacobian then indicates whether small angle changes produce well-determined position changes or a nearly singular resection.

A right-angle reference construction

Take landmarks A at coordinates zero, zero; B at ten, zero; and C at ten, ten on an arbitrary common distance scale. At observer position five, five, the rays to A and B are perpendicular, and the rays to B and C are also perpendicular. The two observed horizontal angles are therefore each 90 degrees.

The corresponding constant-angle loci are the circles with AB and BC as diameters. They meet at landmark B and at five, five. Excluding the undefined observer-at-B coincidence leaves the useful reference position five, five. This synthetic geometry independently checks the resection without supplying three absolute bearings or using a distance-trilateration formula by mistake.

Why some resections are weak

When the observer and three landmarks fall on or near a danger-circle configuration, the angular observations can become insufficient to locate a stable point. A small angle perturbation may then cause a large positional change. Solver convergence alone does not make such a geometry reliable, and a small residual does not compensate for a nearly singular Jacobian.

Ambiguity can also arise from angle branches or a restricted observation region. A method that searches only near one initial guess may return one candidate without proving that it is unique. Any uniqueness claim needs an appropriate global geometric or multi-candidate analysis, and unresolved cases should be reported rather than hidden behind a single pair of coordinates.

Observation and chart assumptions

The local-plane approximation treats the charted positions as known and the observations as horizontal angles between those marks. An angle taken between features at different heights may require care to ensure it represents the intended horizontal directions. Misidentifying a landmark can produce a mathematically precise resection for the wrong geometry.

Chart uncertainty, observation error and vessel movement during sequential measurements are not automatically removed by the solver. If the two angles were observed at materially different positions, a simultaneous resection no longer describes the observations exactly. Keep measurement times and conditions with the input so those practical limitations remain distinguishable from numerical residual error.

Report candidates rather than false precision

Retain landmark labels, coordinate reference, distance unit, angle convention and solver diagnostics with the candidate position. A result stated only as x and y cannot be interpreted geographically without that chart context. If more than one candidate is consistent with the supplied angles, show the alternatives and the limits of any region-based selection.

This calculator provides educational angular-resection geometry, not a certified navigation fix or a substitute for appropriate chartwork and observations. Use the result to understand the two measured angle constraints, check residuals and inspect geometry. Actual navigational decisions require the vessel's approved procedures and independent information appropriate to the situation. Three chart marks on one local plane, unsigned measured anglesAB andBC. Intersects both constant-subtended-angle circle branches and filters landmark coincidences. No heading measurement is inferred; near-degenerate geometry requires independent checks.

A few questions, answered

Are these angles compass bearings to the landmarks?

No. They are angles between landmark rays as seen from the observer, with the specified landmark order.

Why is the landmark-coincident intersection rejected?

The ray from an observer to a landmark at the same point has no defined direction, so the observed angle cannot be evaluated there.

Does one converged starting guess prove the solution is unique?

No. Other angle branches or compatible candidates may exist; uniqueness needs an appropriate geometric or multi-candidate check.

What is the danger-circle warning about?

Near a degenerate resection geometry, small angular errors can cause large position shifts even when the fitted residuals are small.

Find your calculator

Start typing to explore the library.