Sunrise and sunset on a ship are estimated from the date, the vessel's latitude and longitude, and the civil UTC offset in force, using the NOAA/Meeus solar-position equations at an apparent zenith of 90.833°. The 90.833° convention folds roughly 34 minutes of arc for atmospheric refraction near the horizon and 16 minutes of arc for the Sun's visible radius into a single assumed zenith, so the minute the page returns is an apparent-horizon estimate rather than the geometric centre crossing zero altitude. The Sunrise Sunset Calculator carries this out locally in the browser, deriving Julian time, geometric solar longitude and anomaly, orbital eccentricity, apparent longitude, corrected obliquity, solar declination, and equation of time from Jean Meeus's astronomical algorithms as documented by NOAA's Global Monitoring Laboratory, then converting solar noon plus or minus the sunrise hour angle into local civil minutes. Because the calculation is fully local, coordinates never reach a remote geocoder, which fits a watch-keeping workflow where the ship's VSAT or Iridium link may be limited or metered. The page rounds clock results to the nearest minute and labels any previous- or next-day marker when the chosen offset pushes the event across midnight.

Why Sunrise and Sunset Matter at Sea
On a vessel at sea the apparent sunrise and sunset times drive several practical decisions. The bridge team uses them to plan watch handovers, set coloured navigation lights per the International Regulations for Preventing Collisions at Sea, schedule deck maintenance, and brief helicopter operations during twilight. Cruise ships, ferries, and expedition vessels hand daily activity schedules printed with local sunrise and sunset, while commercial fishing fleets time their gear handling around low-light windows. Because ships move through several time zones in a single voyage, the civil UTC offset used aboard is a separate input from the longitude — the same longitude can sit in different civil zones on different dates, and a port call in a daylight-saving region can shift the clock by an hour at short notice. A calculator that requests the civil offset directly, rather than guessing from coordinates, fits maritime use better than most online tools and removes a common source of bridge-team confusion during port calls.
Inputs the Calculator Needs at Sea
Four pieces of information are needed for a single date at the ship's position. First, pick a Gregorian date between 1901 and 2099, the range the calculation is tuned for. Second, give latitude in decimal degrees with north positive — the tool accepts values from −89.8 to 89.8, so the poles themselves are excluded to avoid the formula attempting a division by zero. Third, give longitude with east positive, between −180 and 180; this means a New York port is entered as a negative number, while a Sydney port is entered as a positive number. Fourth, type the civil UTC offset that applies on the chosen date, including any daylight-saving adjustment that is in force at that location on that day. The ship's position is normally read from the GPS receiver, the AIS feed, or a noon sight; a city-port coordinate is fine for broad planning, but watch-keeping near a coastline benefits from a higher-precision value taken at the actual pilot station rather than the harbour entrance.
How to Calculate Sunrise and Sunset on a Ship
- Record the ship's position for the planning day — latitude in decimal degrees (north positive) and longitude in decimal degrees (east positive) — from the GPS receiver, a noon sight, or the passage plan.
- Open the Sunrise Sunset Calculator and select the calendar date the bridge intends to plan for, within 1901 to 2099.
- Type the latitude value with north positive into the latitude field, and the longitude value with east positive into the longitude field. A sign slip from positive to negative can move the result by many hours, so confirm both signs before reading the output.
- Enter the civil UTC offset that the watch will actually be using on that specific date — for example, UTC −4 during Eastern Daylight Time, UTC +1 in central European summer, or UTC +9 in Japan Standard Time.
- Read the three clock results: apparent sunrise, solar noon, and apparent sunset, or the polar state if the page reports that the Sun does not cross the apparent horizon on that date.
- If the chosen offset pushes the event across midnight, check the parenthetical previous- or next-day marker beside the time and include it in any handover notes so a colleague across a date line does not misinterpret the entry.
- Record the position, the offset you entered, and the minute values in the bridge log; for voyage planning, repeat the calculation at each waypoint rather than reusing one port's values, because the result moves with latitude and with the UTC offset that applies locally.
Polar Day and Polar Night on Maritime Routes
Once a ship pushes north of the Arctic Circle, or south of the Antarctic Circle, the Sun may stay above the horizon for the entire local date or never rise above it. The calculator decides which state applies from the hour-angle cosine: a value greater than 1 means the Sun's centre cannot reach the 90.833° apparent zenith from that latitude on that date, so the page reports polar night; a value less than −1 means the Sun never falls below the apparent horizon, so the page reports polar day. Independent checks for Tromsø at the June and December solstices confirm continuous daylight and continuous darkness respectively, with no invented clock time. For commercial shipping this is more than a curiosity: Northern Sea Route and Northwest Passage transits plan pilotage and icebreaker windows around weeks of polar day, while Antarctic supply vessels use continuous polar night for visual ice observation from the bridge. When the page reports a polar state, log it directly rather than guessing at a clock minute, because any rising or setting time on that date would be a fabrication.
What Can Shift the Visible Event Away from the Calculated Minute
Several real-world inputs can move the moment the Sun's disk first appears or finally disappears from the calculated minute. The formula treats refraction as a fixed average, so actual weather — sea-level pressure, temperature, humidity, and the precise temperature profile of the lower atmosphere — can shift apparent rise or set by several minutes. Higher decks see a lower horizon and may record sunrise a minute earlier than the chart shows; nearby ice cliffs, container stacks, lifeboat davits, or the ship's own funnel can block the horizon in one direction. Latitude precision matters near the high-latitude tolerances, and coordinate precision near a coastline matters whenever the local horizon is uneven. Within ±72° latitude the model is theoretically accurate to about a minute; beyond that band the error can grow toward ten minutes, and the page will often be reporting a polar state instead of a clock time. Solar declination and equation of time are displayed as diagnostic values alongside the clock results, so a watch officer can compare the implementation against another reference quickly and catch any input mistake by inspection.
When to Trust the Calculator and When to Use a Full Almanac
The estimator is well suited to broad planning, bridge handovers, daylight-saving adjustments in port, and identifying whether the day is a normal daylight day or a polar state. It is not a substitute for a navigation almanac when the result drives a legal hour, a religious determination, or a position line at sea.
| Use case at sea | Calculator suitable? | Why or why not |
|---|---|---|
| Bridge watch handover at moderate latitude | Yes | Within ±72° latitude the model is accurate to about a minute and agrees with published almanacs inside that band. |
| Daylight-saving handover at a port call | Yes | The civil UTC offset is entered manually for the chosen date, so the result tracks the local clock exactly. |
| Polar day or polar night identification | Yes | The hour-angle cosine test triggers the polar regime explicitly instead of an invented clock minute. |
| Expedition or icebreaker transit planning | Yes, for daylight windows | Useful for broad daylight-window planning; not a substitute for navigation-grade twilight definitions. |
| Official sunrise or sunset for legal, visa, or religious purposes | No | Use the published national authority that defines the event and the jurisdiction. |
| Celestial navigation, sextant work, or telescope observations | No | A full ephemeris is required, with elevation, pressure, temperature, and the relevant limb definition. |
Verifying the Result Against an Independent Source
A second source catches both sign errors in your input and any local daylight-saving rule you may have misread. The U.S. Naval Observatory publishes a Sun and Moon rise-and-set API for the same purpose at one-minute resolution, so a direct check at a representative waypoint is straightforward even from a ship with limited bandwidth. NOAA's Global Monitoring Laboratory explanation is also worth reading; it states that refraction is modelled rather than measured, and that accuracy is theoretically to about a minute within ±72° latitude, with possible errors up to ten minutes beyond that range. A log entry that records the position, the UTC offset you entered, and the source you compared against gives the bridge team an audit trail if the question is raised later. For voyages that cross several time zones, repeat the verification at each waypoint rather than reusing one port's confirmation, because the same longitude can sit in different civil zones on different dates and the offset is part of the answer rather than a label.