Science & engineering

Vertical-sextant-angle coastal-distance calculator for visible top and base

Distance is obtained from the observed angle between a visible landmark top and its visible base, including eye height..

Your numbers

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 vertical sextant angle can estimate distance to a landmark when its observed top and base heights are known on a common datum. This calculator uses their angular separation in a local flat geometry, with observer eye height included explicitly. It does not silently substitute a sea-horizon angle or a lighthouse geographic-range formula for the measured top-to-base angle.

THE FORMULAVertical angle=atan((top−eye)/D)−atan((base−eye)/D); invert the monotone supported branch.

A worked example

The prefilled example gives Coastal horizontal range m = 5729.079098. This demonstration uses supplied example data, not an approved vessel operating condition.

Good to know

Local flat visible-top-and-base geometry, all heights on one datum. Observer height restricted between base and top for a unique monotone branch. Entered maximum range is a user validity bound; curvature, refraction, hidden bases and horizon methods excluded.

Use a visible vertical extent, not a horizon shortcut

A vertical sextant angle can estimate distance to a landmark when its observed top and base heights are known on a common datum. This calculator uses their angular separation in a local flat geometry, with observer eye height included explicitly. It does not silently substitute a sea-horizon angle or a lighthouse geographic-range formula for the measured top-to-base angle.

The distinction matters when the base is hidden. An observed angle between a lighthouse top and the sea horizon is not the angle between that top and the lighthouse base. Feeding the former into a visible-top-and-base model can produce a plausible distance for the wrong geometry. Record which two points were actually contacted by the sextant.

Visible top and base define a vertical angle100 m1°Horizontal range = 5728.996 mLocal flat geometry; no curvature correction
Scroll across to see the full diagram.
For top100m,base0m,eye0m and measured angle1°,flat horizontal range is100/tan1°=5728.996m. A hidden base or sea horizon changes the geometry.

For a related navigation or vessel calculation, use the Three-point horizontal-sextant-angle position-fix calculator. Compare the model and input conventions before combining results.

Choose one height and distance reference

Enter top height, base height and eye height above the same level datum. Their differences determine the two sight-line elevation angles. A chart height measured above one reference level should not be combined casually with an observer height above another water level, especially when tide or the structure's foundation reference changes the relationship.

Horizontal distance is the unknown local range. It differs slightly from slant distance along the upper sight line. This version is a flat-plane model; it does not automatically include Earth curvature, abnormal refraction or a hidden-base reconstruction. Those effects require a separately derived model and should not be implied by the presence of an eye-height field.

Solve the two sight-line angles

At horizontal range D, the upper ray elevation is arctangent of top height minus eye height divided by D. The lower ray elevation uses base height minus eye height over the same D. Their difference is the measured positive vertical angle when the stated endpoint and observer-height conditions apply.

If eye height equals base height, the lower ray is horizontal and the equation simplifies to D equal to top-minus-base height divided by tangent of the angle. In the general visible-endpoint case a positive-distance root can be solved numerically. The admissible geometry should be checked first rather than assuming every angle-and-height combination defines one unambiguous distance.

A simple one-degree reference

Take top height 100 meters, base height zero and eye height zero on the same illustrative datum. Let the observed top-to-base angle be one degree. The flat reference range is 100 divided by tangent one degree, approximately 5,728.996 meters. Substitution into the sight-line equation recovers the original one-degree separation exactly.

These intentionally simple inputs isolate the trigonometric calculation. They do not assert that a sea observer at that range has an unobstructed base view or that curvature is negligible for every required precision. A real use must verify endpoint visibility and decide whether the local flat approximation is adequate for its distance, heights and accuracy objective.

Observer height can change uniqueness

When eye height lies between the two endpoint heights, the angle decreases from a large nearby value toward zero as distance increases, giving the familiar monotonic range relationship. If the eye is above both endpoints or below both, the angular separation can increase and then decrease, allowing two distances to produce the same observed angle.

A supported-domain restriction or explicit multiple-root treatment is therefore necessary for those outside-height-span cases. Choosing whichever distance happens to be near a starting guess does not establish uniqueness. The calculator should expose the geometry limitation rather than label a candidate as a definitive distance simply because the numerical iteration stopped successfully.

Sensitivity to small angular errors

At small angles, range is approximately landmark vertical extent divided by angle in radians. That inverse relationship means a small error in a small angle can cause a substantial range error. A rounded degree entry is especially inappropriate for a fine sextant measurement, so preserve the observation's actual angular precision and its unit conversion.

Uncertainty in top or base height also changes inferred range. Tide, an incorrectly identified feature or a chart datum mismatch can matter more than the last displayed distance digit. The equation cannot distinguish those input errors from a genuine observation. Retaining the physical endpoint descriptions makes a distance estimate easier to assess than an isolated numerical result.

State the model beside the result

Save the landmark, observed endpoints, height datum, eye height and angular convention with the calculated range. Label it as a local flat top-to-base estimate. If curvature or atmospheric refraction needs consideration, use a method that actually includes those effects and verify that it corresponds to the same measured angle rather than adding an unexplained correction afterward.

This page is an educational coastal angular-range calculation. It does not certify visibility, replace chart information or approve a navigation decision. Its purpose is to make the measured vertical extent and the trigonometric geometry explicit, allowing the observer to check the height references, endpoint visibility and limits of the approximation before using the estimate elsewhere. Local flat visible-top-and-base geometry, all heights on one datum. Observer height restricted between base and top for a unique monotone branch. Entered maximum range is a user validity bound; curvature, refraction, hidden bases and horizon methods excluded.

A few questions, answered

Can I use an angle from the landmark top to the sea horizon?

Not as a top-to-base angle unless the base and horizon geometry coincide under a justified model. The observed endpoints must match the calculation.

Does this include Earth curvature and refraction?

The stated implementation is local flat geometry. Those effects need a separately validated model when they matter.

Why can some height arrangements give two ranges?

When the eye is above both endpoints or below both, the same angular extent can occur on two sides of its maximum with distance.

Is the returned range a slant distance?

No. It is horizontal range in the selected local geometry, not distance along the sight line to the landmark top.

Find your calculator

Start typing to explore the library.