Calculator · Skills

Sunset & Daylight Calculator

Sunrise, sunset, twilight and a camp timeline: when to stop, build shelter and light the fire.

Sunset and daylight calculator for hikers and campers: pick a location and date to get sunrise, sunset and twilight times and the daylight left, plus a camp timeline that tells you when to stop walking, pitch your shelter and light the fire. What to do in each of those slots is covered in our guide to setting up camp.

Your situation

Sunset 16:01
Sunset 16:01 Berlin
Sunrise 07:45
Daylight 8 h 16 min
Left at 15:00 1 h 1 min ≈ 4.1 fingers

Camp timeline

  1. First light (civil dawn)
  2. Sunrise
  3. Solar noon — sun due south, shadows point north
  4. Start looking for a camp site
  5. Pitch shelter
  6. Gather firewood & water
  7. Fire lit, dinner cooking
  8. Sunset
  9. Headlamp time (civil dusk)

Hand method: daylight left without a watch

  • Stretch your arm, palm towards you, fingers horizontal.
  • Put the bottom finger on the horizon, stack hands up to the sun.
  • Each finger ≈ 15 minutes, a full hand (4 fingers) ≈ 1 hour until sunset.
  • Works best at mid-latitudes; near the poles the sun sets at a shallow angle, so add time.
How is this calculated?

Sun times from the NOAA solar position algorithm (PHP date_sun_info) for the chosen coordinates. Listed places use their real time zone including daylight saving time; custom coordinates use the fixed UTC offset you enter, with no automatic daylight saving. Civil twilight: sun 6° below the horizon. The camp timeline counts back from sunset (3 h, 2 h, 1 h 15 min, 30 min), is sorted by time and leaves out steps that would fall before sunrise. Shadow direction at solar noon: latitude compared with the sun’s declination on that date.

How to use the daylight calculator

  1. Choose a location from the list of 20 places in Europe and North America, or pick custom coordinates and enter latitude, longitude and the UTC offset including daylight saving time. That offset is a fixed number: the tool does not switch to or from daylight saving time for custom coordinates, so enter the value that applies on your date (UK: 0 in winter, 1 in summer; Central Europe: 1 in winter, 2 in summer).
  2. Select the date – today is preset.
  3. Optionally enter the time now to see how much daylight is left. Before sunrise the tool shows the whole day and says the sun is not up yet.

You get sunset, sunrise, the length of the day, the time left until sunset (also in “fingers”) and a camp timeline from first light to headlamp time, sorted by clock time.

Worked example: an October afternoon near London

Select London, the date 17 October 2026 and 15:00 as the time now. The calculator shows:

  • Sunset: 18:03
  • Sunrise: 07:28
  • Daylight: 10 h 36 min
  • Left at 15:00: 3 h 4 min, about 12.2 fingers

The camp timeline counts back from that sunset: start looking for a camp site at 15:03, pitch the shelter at 16:03, gather firewood and water at 16:48, fire lit and dinner cooking at 17:33. Civil dusk – headlamp time – follows at 18:37. In other words, at three o’clock on a mid-October afternoon you should already be looking for a place to stop, not planning another hour of walking.

Run the same check for 21 December and the picture changes completely: sunset in London is at 15:53, the day lasts 7 h 50 min, and at 15:00 only 54 minutes (3.6 fingers) remain. The timeline wants you looking for a site at 12:53. In Edinburgh the sun sets at 15:39 that day after 6 h 58 min of daylight.

How it is calculated

Sun times come from the NOAA solar position algorithm, built into PHP, for your coordinates and time zone. Sunrise and sunset are when the upper edge of the sun touches the horizon. Civil twilight lasts until the sun is 6° below the horizon – after that you need a headlamp. Listed places use their real time zone including daylight saving time; for custom coordinates you set a fixed UTC offset yourself, and the place label in the result repeats it (for example “UTC+2”). If that offset puts solar noon outside 10:30–14:30, the result asks you to check it.

The solar noon entry also says where the sun stands. The tool compares your latitude with the sun’s declination on that date: north of it the sun is due south and shadows point north, south of it the sun is due north and shadows point south – as in the whole southern hemisphere outside the tropics. Within about 2° the sun is almost overhead and there is hardly a shadow to read.

Near the polar circles three special cases are handled. Midnight sun: no sunset, 24 hours of daylight, only solar noon in the timeline. Polar night: no sunrise, 0 hours of daylight; if civil twilight occurs, its start, brightest moment and end are shown as your working window. White nights: the sun sets but civil twilight never ends, so there is no headlamp time and a note says so. Times that fall on the next calendar day are marked “(+1)”.

How much the seasons move these times is easy to underestimate. These are the values the calculator gives for London in 2026:

DateSunriseSunsetDaylightCivil dusk
20 March06:0218:1312 h 11 min18:46
21 June04:4321:2116 h 39 min22:09
17 October07:2818:0310 h 36 min18:37
21 December08:0315:537 h 50 min16:33

Usable twilight after sunset ranges from 33 minutes in March to 48 minutes in June at this latitude. Further north it stretches: in Edinburgh on 21 June the sun sets at 22:02 and civil dusk is not until 23:05.

The camp timeline counts back from sunset with fixed offsets. All entries – sun events and camp steps – are then sorted by time, so solar noon can appear between two camp steps on a short day:

Before sunsetTask
3 hStart looking for a camp site
2 hPitch your shelter
1 h 15 minGather firewood and water
30 minFire lit, dinner cooking
0Sunset – civil dusk follows

A step that would fall before sunrise is left out, and a note names it. Example: Rovaniemi on 21 December 2026 has sunrise at 11:06, sunset at 13:23 and 2 h 16 min of daylight. “Start looking for a camp site” would be at 10:23, before sunrise, so it is dropped. The timeline reads: first light 09:16, sunrise 11:06, pitch shelter 11:23, gather firewood and water 12:08, solar noon 12:15, fire lit 12:53, sunset 13:23, headlamp time 15:13.

Daylight left is the time from “time now” to sunset; before sunrise it is the full length of the day, after sunset the tool says “after sunset”. It is also shown in fingers: minutes divided by 15, so one finger is about 15 minutes.

The hand method without a watch

Stretch your arm out, palm facing you and fingers horizontal. Put your lowest finger on the horizon and stack fingers or hands up to the sun. Each finger is roughly 15 minutes, a full hand of four fingers about one hour until sunset. It works best at mid-latitudes; in the far north the sun sets at a shallow angle, so allow extra time. Use the calculator at home to calibrate your own hand: compare your finger count with the “fingers” value it shows. More sun-and-shadow techniques are in navigation without a compass.

What the times do not cover

  • Your real horizon. The calculation assumes a flat, open horizon at sea level. In a deep valley or on the east side of a ridge the sun disappears much earlier than the stated sunset; on a summit you keep it a few minutes longer.
  • Forest and weather. Under a closed canopy it gets dark 20–30 minutes before the official sunset, and heavy cloud or rain shortens usable light further.
  • Distance from the listed place. Sunset shifts by about four minutes for every degree of longitude and also changes with latitude. If you are far from the nearest town in the list, use custom coordinates.
  • The UTC offset for custom coordinates. It is not looked up for you and it is not adjusted for daylight saving time. A wrong offset – for example forgetting summer time – moves every result by a full hour. The tool only warns when the offset is clearly implausible for the longitude.
  • Your actual pace of work. The timeline offsets are fixed planning values. A group, a hammock setup, wet wood or snow all need more than the slots allow. On very short winter days in the far north the early steps fall before sunrise; the tool leaves them out and tells you which ones.
  • Only civil twilight. Nautical and astronomical twilight are not shown; for camp work, civil dusk is the limit that matters.

Safety margin: take the “start looking” time as your latest, not your target, and move every step half an hour earlier in woodland, in bad weather or on unfamiliar ground.

Practical tips

  • Set up camp in daylight, even if you still feel like walking. Finding a safe pitch – no dead branches overhead, no water channel underneath – is the step that suffers most in the dark; see choosing a camp site.
  • Work backwards from sunset when you plan the day. The hiking time calculator gives you an arrival time; it should fall before the “start looking” slot here.
  • Always carry a headlamp with fresh batteries, and keep it where you can find it without one. Our guide to headlamps and camp lighting explains what to look for.
  • Collect more wood than you think you need while you can still see it. The firewood calculator turns the hours of darkness ahead into an amount.
  • Practise your pitch until it takes minutes, not half an hour. A simple tarp setup you know well beats a clever one tried for the first time at dusk.
  • Prepare tinder and kindling before the light goes; lighting a fire by headlamp with cold hands is much harder.
  • In winter, plan the whole day around the short window: start at first light, eat lunch on the move and expect the long evening in camp.

FAQ

How long after sunset is it still light?
Civil twilight, when you can still see without a lamp in open terrain, lasts roughly 30–50 minutes in Britain and Central Europe depending on the season, and longer in the far north in summer. For London the calculator gives 34 minutes in mid-October and 48 minutes at midsummer. In a forest it gets dark much sooner.
How can I tell how much daylight is left without a watch?
Use the hand method: arm outstretched, palm towards you, and count the fingers between the horizon and the lower edge of the sun. Each finger is about 15 minutes, four fingers about an hour. It is a rough estimate that works best at mid-latitudes with a clear horizon.
When should I stop hiking to set up camp?
Plan to arrive at your camp site at least 2 hours before sunset, and start looking for it 3 hours before. That leaves time to find a safe spot, pitch the shelter, gather wood and water and cook before dark. Our camp setup guide walks through the sequence.
What is civil twilight?
Civil twilight is the period when the sun is between the horizon and 6° below it. In the evening it runs from sunset to civil dusk. In clear weather there is enough light for most outdoor tasks without a lamp. The calculator shows civil dawn as first light and civil dusk as headlamp time.
Does it get dark earlier in the forest?
Yes. Under a closed canopy, and in deep valleys, it gets dark about 20–30 minutes before the official sunset, and the twilight that helps you in open country is of little use. Treat sunset minus half an hour as the real deadline when you camp in woodland.
What time does it get dark in winter?
On the shortest day, 21 December 2026, the calculator gives a sunset of 15:53 for London with civil dusk at 16:33, and 15:39 for Edinburgh after less than seven hours of daylight. Times shift by a minute or two from year to year, so check your own date and location.
Why does the sunset time differ from what I see?
The calculated time assumes a flat horizon at sea level at the exact coordinates of the chosen place. Hills, trees and buildings hide the sun earlier, a high viewpoint keeps it longer, and being east or west of the listed town shifts the time by about four minutes per degree of longitude.