Works on this device
Astronomical Twilight Calculator
Find when the sky gets fully dark at your place: the times of civil, nautical and astronomical dusk in the evening and dawn the next morning, and how many hours the sun stays more than 18° below the horizon. See the dark hours night by night for a season.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Twilight and dark hours for one night or Dark hours night by night.
- Type the latitude and longitude in decimal degrees (north and east are positive) and the date of the evening, or the first and last night.
- Type the time zone as hours from UTC, for example 1 for UTC+1. In summer time, count the extra hour.
- Choose Calculate. Morning times after midnight are marked as the next day.
How twilight is measured
- Sunset and sunrise: the centre of the sun is 0.833° below a level horizon, so its top edge just shows (34′ of refraction and 16′ for the radius of the sun).
- Civil twilight: the sun is between 0.833° and 6° below the horizon. Nautical twilight: from 6° to 12°. Astronomical twilight: from 12° to 18°.
- Astronomical dusk is when the sun reaches 18° below the horizon in the evening; astronomical dawn when it rises past 18° below in the morning. Between them the sky is fully dark: the dark hours.
- The night runs from the solar noon of the date to the solar noon of the next day. At the solar midnight between them the sun is lowest.
- Sun position: the solar equations of the NOAA Solar Calculator, which NOAA says are based on Astronomical Algorithms by Jean Meeus, the same as in the Day Length Calculator.
Worked example
Berlin (52.52° N, 13.405° E) on the evening of 14 November 2026, at UTC+1: the sun sets at 16:14:44, civil dusk is at 16:52:34, nautical dusk at 17:34:10 and astronomical dusk at 18:14:18. Astronomical dawn the next morning is at 05:28:00 and sunrise at 07:27:59. The sky is fully dark for 11 h 13 min 41 s; at the solar midnight, 23:50:51, the sun is 55.90° below the horizon.
On 21 June 2026 the sun at Berlin only goes down to 14.04° below the horizon, so there are no dark hours. From 1 May to 31 August 2026 (UTC+2), 70 nights have no fully dark sky: from the night of 17 May to the night of 25 July.
Limits you should know
- The times are for a level horizon at sea level. Hills and buildings change what you see, but not when the sky gets dark.
- The tool counts the sun only. The Moon and city lights also brighten the sky.
- The time zone is the one you type. The tool does not know the summer time rules of your country.
- The years 1901 to 2099 can be used. Near the poles, where the sun moves almost level with the horizon, the times are less certain.
- For the length of the day and twilight on one date, use the Day Length Calculator. For hours of daylight over months, use the Daylight Availability Calculator. For the blue hour of photographers, use the Blue Hour Calculator.