Calculate Sunrise and Sunset v.05

year month day
deg min
deg min

Result Times given in UTC
Sunrise h.m   Sunset h.m
Azimuth deg Azimuth deg
Dawn ~ ±5 min


This program calculates the times of sunrise and sunset in terms of UTC (=Universal Time Coordinated). Times are displayed e.g. as "17.32 h.m" = 17 hours and 32 minutes. UTC corresponds to winter-time in London. For time-zone Berlin add 1 hour, add 2 hours in summer. For New York subtract 5 hours, in summer 4 hours. The precision of the times for sunrise and sunset is about 1 minute, for duration of dawn 5 min. At positions beyond 60 degrees latitude precision of dawn decreases. Longitude is positive for East, negative for West. Latitude is positive for North, negative for South.

Results were checked against Nautisches Jahrbuch 2020 by Bundesamt für Seeschifffahrt und Hydrographie and against the NOAA Solar Calculator An explicit program can be found at where reference is made to Roland Brodbeck. The formulas have been checked with See also the book Astronomical Algorithms by Jean Meeus.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License 3. Use it at your own risk, no liablility accepted. We give no guarantee whatsoever.   − H. Müller-Krumbhaar
last update 4. may 2023