How this calculation works
Celestial sight reduction compares a corrected observed altitude with the altitude calculated at an assumed position. Their difference gives an intercept toward or away from the body's geographical position. This calculator solves that spherical astronomical triangle and returns calculated altitude, true azimuth and the signed intercept, rather than pretending that one sight determines a unique position.
sinHc=sinφ sinδ+cosφ cosδ cosLHA; intercept=60(Ho−Hc) NM.A worked example
The prefilled example gives Intercept NM toward positive = 6. This demonstration uses supplied example data, not an approved vessel operating condition.
Good to know
Spherical astronomical triangle. Latitude/declination north-positive,longitude east-positive,GHA west-positive. Observed altitude must already be corrected; positive intercept is toward the body. Almanac and time supplied; no ephemeris lookup.
Reference: usno (opens in a new tab) ↗
Turn one altitude into a position line
Celestial sight reduction compares a corrected observed altitude with the altitude calculated at an assumed position. Their difference gives an intercept toward or away from the body's geographical position. This calculator solves that spherical astronomical triangle and returns calculated altitude, true azimuth and the signed intercept, rather than pretending that one sight determines a unique position.
The required body information is Greenwich hour angle and declination at the observation time. Those values are supplied rather than fetched from a live almanac. Corrected observed altitude must already include the intended instrument and altitude corrections. Keeping source data separate from triangle geometry makes both parts of the reduction auditable.
For a related navigation or vessel calculation, use the Sextant altitude calculator with a signed correction ledger. Compare the model and input conventions before combining results.
Read more: usno (opens in a new tab) ↗
Choose the position and angle references
Latitude and declination are positive north, while longitude is positive east in this page. Greenwich hour angle is measured westward, and local hour angle is Greenwich hour angle plus east-positive longitude, wrapped around a full circle. This combination is valid only when the almanac and longitude signs follow those stated conventions.
True azimuth is measured clockwise from north. The algorithm uses separate east and north components with a two-argument arctangent, avoiding the quadrant ambiguity of an ordinary tangent ratio. Internally, trigonometric functions use radians, while entered and displayed celestial angles are in degrees. The conversion must occur consistently rather than being inferred from a value's apparent size.
Read more: corrections (opens in a new tab) ↗
The altitude and azimuth calculation
The sine of calculated altitude is sine latitude times sine declination plus cosine latitude times cosine declination times cosine local hour angle. Taking its inverse sine gives the altitude above the assumed horizontal plane. Roundoff close to an endpoint may need a small numerical tolerance, but genuinely impossible values should not be silently accepted.
Azimuth uses east component minus cosine declination times sine local hour angle and north component cosine latitude times sine declination minus sine latitude times cosine declination times cosine local hour angle. At a zenith or nadir both horizontal components vanish, so azimuth is undefined. Returning an arbitrary north bearing in that case would conceal a geometry singularity.
An independently checkable sight
Choose assumed latitude zero, longitude zero, Greenwich hour angle 60 degrees and declination zero. The body lies on the celestial equator, 60 degrees west of the local meridian. Calculated altitude is 30 degrees, and its horizontal direction is due west, giving true azimuth 270 degrees under the north-clockwise convention.
If corrected observed altitude is 30.1 degrees, the difference is positive 0.1 degree, or six arcminutes. The intercept is therefore six nautical miles toward the body's geographical position. This symmetric synthetic example checks the altitude equation, the azimuth quadrant and the arcminute-to-nautical-mile interpretation without relying on a current ephemeris or a rounded published answer.
Read the intercept as a displacement
A positive observed-minus-calculated altitude means the observer is closer to the body's geographical position than the assumed position predicts. The intercept is plotted toward the body along the computed azimuth. A negative value is plotted away. The line of position lies perpendicular to that azimuth through the displaced intercept point in the local construction.
The intercept is not a range to the body, and the azimuth is not automatically a course to steer. Another independent line or additional information is required to estimate position. When several sights are combined, observation times and vessel motion must be treated consistently rather than plotting every intercept as though it occurred at one stationary assumed position.
Sensitivity and singular geometry
Altitude error maps directly into intercept error through the arcminute relation. A one-arcminute observation error changes the intercept by one nautical mile within the standard local construction. Errors in UTC, hour angle, declination and assumed position also affect the geometry, and the calculator does not infer their uncertainties merely from a small displayed intercept.
Near the zenith, azimuth becomes sensitive because a tiny horizontal component determines its direction. At the poles, familiar longitude and north-reference interpretations also need care. A numerically solvable spherical triangle should therefore be interpreted with its geometry, not with the expectation that every returned bearing is equally well determined or suitable for a plotted fix.
Keep source data with the reduction
Save assumed position, corrected observed altitude, observation UTC, body identification, GHA and declination source with the result. Reusing a GHA value from another time can shift the reduction even when the sextant observation itself is accurate. A transparent calculation includes its angular signs and time basis rather than only the final toward-or-away label.
This page is an educational single-sight reduction. It does not supply a validated almanac, certify an observation or approve a navigational decision. Use it to check the astronomical triangle and intercept convention alongside appropriate observations and vessel procedures, with subsequent running-fix or multi-sight calculations explicitly accounting for their own additional assumptions. Spherical astronomical triangle. Latitude/declination north-positive,longitude east-positive,GHA west-positive. Observed altitude must already be corrected; positive intercept is toward the body. Almanac and time supplied; no ephemeris lookup.
A few questions, answered
Why is east-positive longitude added to westward GHA?
That is the stated local-hour-angle convention: LHA equals GHA plus east longitude, wrapped to a full circle.
What does a positive intercept mean?
Observed altitude exceeds calculated altitude, so the standard intercept is toward the body's geographical position along the computed true azimuth.
Does one sight give my exact position?
No. It provides a line of position under the stated assumed-position and local plotting construction.
Why can azimuth be undefined near the zenith?
At the zenith or nadir the horizontal direction components vanish, leaving no unique azimuth even though altitude is defined.