Daylight Calculator

Daylight (estimate)—
Daylight in hours—
Night length—
Difference from equinox (12h)—

How Daylight Calculator is calculated: Estimate from the standard solar-position approximation: day length = twice the sun's hour angle at your latitude on that date, from the sun's declination. An estimate — usually within a few minutes — not an almanac value.

What is a daylight calculator?

A daylight calculator finds how many hours of daylight a date has at a given latitude. Enter a date and a latitude, and it gives you the day length, the same length in hours, the length of the night, and how the day compares with the 12-hour equinox day. The default example is Delhi — latitude 28.61 — on 21 June 2026, the longest day of the year: 13 hours and 58 minutes of daylight, a night of 10 hours and 2 minutes, and 1 hour and 58 minutes more daylight than the equinox.

Day length is the simplest fact about a date and a place. It decides how long the light lasts for work, sport, photography, and travel, and it changes every day — growing towards the summer solstice and shrinking towards the winter one. The change is fastest near the equinoxes and slowest near the solstices.

One honest limit up front: this is an estimate, not an almanac value. The page uses the standard solar-position approximation, which is usually within a few minutes of the published day length. It does not account for hills, buildings, or weather, and it measures the astronomical day — sunrise to sunset — not the visible light, which lasts a little longer at dawn and dusk.

How day length is estimated

The calculation starts with the sun's declination — how far north or south of the equator the sun sits on the date you enter. On 21 June the declination is about +23.4 degrees, the sun's furthest north, which is why the northern hemisphere gets its longest day. On 21 December it is about -23.4 degrees, and the northern hemisphere gets its shortest day.

Then it works out the hour angle: how far the sun travels from noon to the horizon at your latitude. The day length is twice that angle, turned into hours — 15 degrees of travel is one hour. At the equator the sun rises almost straight up, so the day stays near 12 hours all year. At higher latitudes the sun takes a longer, flatter path, so summer days stretch and winter days shrink. The formula is: day length = twice the sun's hour angle at your latitude on that date, from the sun's declination.

The night is what is left of the 24 hours: 24 hours minus the day length. On 21 June in Delhi the day is 13 hours and 58 minutes, so the night is 10 hours and 2 minutes. The difference from the equinox is the day length minus 12 hours — plus 1 hour and 58 minutes in June, minus 1 hour and 41 minutes in December.

Latitude — the input that decides everything

Latitude is the only input that matters for the answer, and the effect is large. Delhi, at 28.61 degrees north, gets a longest day of 13 hours and 58 minutes. London, at 51.5 degrees north, gets 16 hours and 38 minutes on the same date. A place on the equator gets about 12 hours and 7 minutes all year — the sun is almost overhead at noon, and the day barely changes.

The effect grows with latitude. At 60 degrees north the longest day is over 18 hours, and above the Arctic Circle — 66.5 degrees north — the sun does not set at all in midsummer and does not rise at all in midwinter. At 78 degrees north on 21 December the calculator shows a polar night, 0 hours of daylight, and on 21 June it shows midnight sun, 24 hours.

The second point is the date. The longest day is the June solstice in the northern hemisphere and the December solstice in the southern one — the seasons are reversed. A latitude of -28.61, in the southern hemisphere, gets its longest day on 21 December, not 21 June. A sleep calculator plans the night around the same light, and a day of week calculator gives the weekday of any date you plan around.

A worked example: Delhi on the longest day

Run the default example. Date 21 June 2026, latitude 28.61. The sun's declination is at its northern extreme, and the hour angle at 28.61 degrees north gives a day of 13 hours and 58 minutes — 14.0 hours rounded to one decimal. The night is 24 hours minus 13 hours and 58 minutes, which is 10 hours and 2 minutes, and the difference from the 12-hour equinox day is plus 1 hour and 58 minutes.

Now try the shortest day. Date 21 December 2026, same latitude. The declination is at its southern extreme, and the day is 10 hours and 19 minutes — 10.3 hours — with a night of 13 hours and 41 minutes and a difference from the equinox of minus 1 hour and 41 minutes. The swing between the longest and shortest day in Delhi is 3 hours and 39 minutes.

A third case shows the equator. Date 20 March 2026, latitude 0 — the March equinox. The day is 12 hours and 7 minutes, the night is 11 hours and 53 minutes, and the difference from the equinox is plus 7 minutes. The day is a little longer than 12 hours even on the equinox, because the calculation counts the sun's upper edge at the horizon, not its centre.

Why day length matters

Outdoor work and sport run on it. A runner, a cyclist, a construction crew, or a farmer wants to know how much light the day holds, and the answer moves by minutes every day. A plan made for June light fails in December, because Delhi loses 3 hours and 39 minutes of daylight between the solstices.

Health and mood follow it too. Short winter days mean less daylight, and the change is steepest near the equinoxes — around late March and late September the day length moves by two or three minutes a day in Delhi, and faster further north. A sleep cycle calculator plans the night in 90-minute cycles, and the night length this calculator gives is the frame it plans inside.

Then there are the practical routines. School runs, evening walks, and outdoor dinners all sit inside the daylight, and the day length tells you how much room there is. A time converter changes the result between units afterwards, if you need the day in minutes rather than hours — 13 hours and 58 minutes is 838 minutes.

Daylight calculator vs sunrise sunset calculator

These two tools answer different questions about the same sun. The daylight calculator gives the length of the day — 13 hours and 58 minutes — from a date and a latitude, with no clock times and no time-zone offset. The sunrise sunset calculator gives the clock times — sunrise at 5:23 AM, sunset at 7:22 PM in Delhi on 21 June — plus the day length, from a date, a latitude, a longitude, and a time-zone offset.

Use this calculator when the question is 'how long is the day'. Use the sunrise sunset calculator when the question is 'what time does the sun rise and set'. The two agree with each other, because the day length is the gap between the sunrise and sunset the other calculator gives.

For the weekday of a date, the day of week calculator is the specialist tool. For the moon on a date, a moon phase calculator gives the phase, the age, and the illumination. The daylight, the sun times, and the moon are separate facts about the same sky, and each tool gives the one it is built for.

Common daylight mistakes

The most common mistake is assuming the day is 12 hours long everywhere. It is close to 12 hours at the equator all year, but in Delhi it swings from 10 hours and 19 minutes in December to 13 hours and 58 minutes in June, and in London it swings further still.

Second: the hemisphere. The longest day is in June in the northern hemisphere and in December in the southern one — a latitude of -28.61 gets its longest day on 21 December, not 21 June. Third: treating the estimate as exact. The approximation is usually within a few minutes, but hills and weather move the visible sunrise and sunset, and the page does not model them.

Fourth: forgetting the polar cases. Above the Arctic Circle the day is 24 hours in midsummer and 0 hours in midwinter — the calculator shows midnight sun and polar night, not a clock time. Fifth: reading the rounded hours as exact. 14.0 hours is 13 hours and 58 minutes rounded to one decimal, not exactly 14 hours.

How to use this daylight calculator

Using it takes about ten seconds. The date is set to 21 June 2026 and the latitude to 28.61, so the worked example shows at once. Change the date with the date picker, type the latitude of the place — a map or a search gives it in seconds — and the answer appears: the day length, the hours, the night length, and the difference from the equinox.

If the place is near the poles, expect a polar night or midnight sun result in the extreme seasons instead of a normal day length — the sun genuinely does not rise or set on those dates. If the place is in the southern hemisphere, remember the seasons are reversed: the longest day is in December.

Everything runs in your browser, so nothing you enter is uploaded or stored. One practical tip: for anything that decides a plan — a trip, a shoot, a training block — check the day length a few days either side of your date too. Near the equinoxes it moves by two or three minutes a day, and a plan made for one day can be minutes out a week later.

Frequently Asked Questions

13 hours and 58 minutes — 14.0 hours rounded to one decimal — with a night of 10 hours and 2 minutes. That is 1 hour and 58 minutes more daylight than the 12-hour equinox day. This is an estimate, usually within a few minutes of published values.

Because the calculation counts the sun's upper edge at the horizon, not its centre, and the atmosphere bends the light. On the March equinox at the equator the day is 12 hours and 7 minutes, not exactly 12 hours.

3 hours and 39 minutes. The longest day, 21 June 2026, is 13 hours and 58 minutes, and the shortest, 21 December 2026, is 10 hours and 19 minutes. The change is fastest near the equinoxes and slowest near the solstices.

In midsummer the sun does not set — midnight sun, 24 hours of daylight — and in midwinter it does not rise — polar night, 0 hours. At 78 degrees north on 21 December this calculator shows a polar night.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.