What is a blue hour calculator?
A blue hour calculator works out when the blue hour falls on a date and place you choose — the deep blue light before sunrise and after sunset that photographers prize. Enter the date, your latitude and longitude, and your time zone offset, and it gives you the answer at once. It is the fastest way to answer a question that photographers, walkers, and astronomers ask every day: when is the light blue?
People use it for far more than curiosity. Photographers plan around the blue hour, because it is the best light of the day for cityscapes — the sky turns a deep blue while the city lights are on, and the two balance each other. Walkers and travellers use it to know when the light will be at its most beautiful, and when it will be dark.
The times are estimates from a standard solar calculation, accurate to a few minutes for most places. They come from your latitude, longitude, and time zone, and they assume a flat horizon — hills, buildings, and weather shift the real times by minutes, so treat them as planning figures, not almanac times.
How the blue hour is worked out
The blue hour is the time when the sun is between about 4 and 8 degrees below the horizon, just before sunrise and just after sunset. The sky turns a deep, saturated blue because the remaining sunlight is scattered by the atmosphere, and the city lights are bright enough to balance it. This calculator takes the 40 minutes before sunrise and the 40 minutes after sunset as the blue hour, which is the standard working definition.
The results show the morning blue hour, the evening blue hour, and the sunrise and sunset they are measured from. The blue hour is 40 minutes before sunrise and 40 minutes after sunset, which is the standard working definition.
The calculation is the standard one used by sunrise and sunset calculators everywhere: the sun's declination from the day of the year, the equation of time from the Earth's tilt and orbit, and the hour angle from your latitude. It is accurate to a few minutes — good enough for planning, and honest about its limits.
One detail is worth knowing: the times are for the sun's centre crossing the horizon, with the usual correction for the sun's size and for the bending of light in the air. That correction is why the day at the equinox is a few minutes longer than twelve hours, and why the sun is visible for a minute or two after it has geometrically set.
Latitude and longitude — the inputs that matter
The blue hour depends on where you are, not just when. At the equator the sun drops fast, so the blue hour is short — about 25 minutes — while at high latitudes in summer it can last over an hour, and in the far north it can last all night. Delhi, at 28.6 degrees north, sits in the middle: about 40 minutes, morning and evening.
The longitude and time zone set the clock time. Two places on the same latitude have the same blue hour length, but the clock time shifts with longitude — about four minutes per degree. Delhi is at 77.2 degrees east, and Indian Standard Time is 5 hours and 30 minutes ahead of UTC, which is why the calculator asks for both.
The defaults are Delhi, because it is a useful reference, but change them to your own place. The latitude is positive north and negative south, and the longitude is positive east and negative west — London is 51.5 north and 0.12 west, so its longitude is minus 0.12.
A worked example: Delhi, in June and December
First, the default on this page. Delhi, 21 June 2027: sunrise 05:24, sunset 19:22. The morning blue hour is 04:44 to 05:24 and the evening blue hour is 19:22 to 20:02. That is the longest day of the year in the Northern Hemisphere, and the blue hours are at their earliest and latest.
Second, the same place in winter. Delhi, 21 December 2027: sunrise 07:10, sunset 17:29. The morning blue hour is 06:30 to 07:10 and the evening blue hour is 17:29 to 18:09. The day is more than three and a half hours shorter, and both blue hours move toward the middle of the day.
Third, a different latitude. London, 21 June 2027: sunrise 04:43, sunset 21:21. The morning blue hour is 04:03 to 04:43 and the evening blue hour is 21:21 to 22:01. London is further north, so the sun sets later and rises earlier, and the day is longer — but the blue hour is still about 40 minutes, because the definition is fixed.
Why it matters, and who uses it
Photographers are the main users. The blue hour is the best light for cityscapes, because the sky is a deep blue and the street lights, windows, and signs are on — the two balance each other, and a photograph taken then needs no flash and no filter. The window is short, about 40 minutes, so knowing the exact time is what makes the shot possible.
Travellers and walkers are the second group. The blue hour is the most beautiful light of the day, and knowing when it falls tells you when to be out with a camera — or when to be back before dark. Astronomers are the third: the blue hour ends when the sky is dark enough for stars, so it marks the start of the observing night.
Then there is the simple pleasure of it. A photographer waiting for the sky to turn blue, a walker catching the last light, a traveller watching a city light up — the blue hour is the day's quietest and most beautiful forty minutes.
The answer is also easy to check, which is the point of showing the working. Pick a date you know — the equinox, when the day is about twelve hours, or the solstice, when it is longest or shortest — and the figures should match what you remember. If they do, the calculator is working; if they do not, the latitude or time zone is the first thing to check.
Blue Hour Calculator vs golden hour calculator
These two tools start from the same sun and answer different questions. The golden hour is the hour after sunrise and the hour before sunset, when the sun is low and the light is warm and golden. The blue hour is the forty minutes before sunrise and after sunset, when the sun is below the horizon and the light is deep blue. The two are back to back: the blue hour ends when the sun rises, and the golden hour begins. A photographer plans both — blue hour for the city, golden hour for the landscape — and the two calculators together cover the whole morning and evening.
If the question is 'when is the blue hour', use this calculator. If the question is 'when is the golden hour', use the golden hour calculator instead. Use this calculator for the blue light before sunrise and after sunset, and the golden hour calculator for the warm light just after sunrise and just before sunset.
Both share the same solar maths — the declination, the equation of time, and the hour angle. A sunrise and sunset calculator gives the sun's times for the same date and place, which are the anchors the blue hour is measured from. And a moon phase calculator gives the moon's phase, which matters on a blue-hour night — a full moon washes out the blue, and a new moon leaves it deep.
Common mistakes
The first mistake is expecting the blue hour to last an hour. It is called an hour, but it lasts about 40 minutes at mid-latitudes, and less near the equator. The name is a tradition, not a measurement — the calculator gives the real length, which is 40 minutes by its definition.
Second: the wrong place. The blue hour depends on latitude and longitude, and a calculator left on Delhi's defaults gives Delhi's times, not yours. Always set your own latitude and longitude, or the times will be hours out. Third: forgetting the time zone — a place at the same longitude but in a different time zone has a different clock time for the same sun.
Fourth: arriving late. The blue hour is short, and the best light is in the first twenty minutes, when the sky is deepest blue. Arrive half an hour early, set up, and wait — the light changes fast, and the shot is gone in minutes.
How to use this blue hour calculator
Using it takes seconds. Enter the date, then your latitude, longitude, and time zone offset. The defaults are Delhi — 28.6 degrees north, 77.2 degrees east, UTC plus 5.5 hours — so change them to your own place for your own times. The results update live as you type.
The results show the morning blue hour, the evening blue hour, and the sunrise and sunset they are measured from. The blue hour is 40 minutes before sunrise and 40 minutes after sunset, which is the standard working definition.
Everything runs in your browser, and nothing is stored. One practical tip: for a cityscape, be in place at the start of the evening blue hour, when the sky is deepest blue and the lights have just come on — that balance lasts about twenty minutes, and it is the shot.