InputTestHub

Day Length Calculator

Shows how daylight changes across a whole year at any latitude, finds the longest and shortest days, and locates the true twelve-hour day.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Positive north, negative south.
Positive east, negative west.
The offset in force on that date. Daylight saving is not applied for you.
Optional. Height lowers the horizon and moves sunrise earlier.
Enter your figures and press Calculate.
In short Day length is set by your latitude and the sun declination, and how much it swings across the year is almost entirely a question of how far you are from the equator. At the equator the difference between the longest and shortest day is barely a minute. In London it is close to nine hours — 16h 38m on the June solstice against 7h 50m in December. At the Arctic circle it is the full twenty-four. The thing worth knowing is that the equinox is NOT the twelve-hour day, and this is not a rounding detail. The equinox is the instant the sun CENTRE crosses the celestial equator. Sunrise and sunset are defined on the upper LIMB and include atmospheric refraction, and both of those lengthen the day — so the equinox day runs over twelve hours everywhere on earth. Measured for March 2026 that excess is about 6.7 minutes at the equator, 8.4 minutes at 40 degrees and 15.1 minutes at 65 degrees. The day that really is twelve hours long has its own name, the equilux, and it falls a few days before the equinox in spring and a few days after it in autumn, further away the higher your latitude. One more thing people get backwards: day length changes fastest at the EQUINOXES, not at the solstices. Around a solstice the sun declination is barely moving, so day length is nearly flat for a fortnight either side — which is why late June feels like it stays light forever and then collapses in September.

How to use the Day Length Calculator

  1. Enter the year and your coordinates.
  2. Set the UTC offset.
  3. Read the monthly table, the extremes, and the equilux date.

About the Day Length Calculator

A whole year of daylight at one latitude, swept day by day, with the longest, shortest and true twelve-hour days.

What people use it for

  • Seeing how much daylight you gain or lose in a month.
  • Comparing the seasonal swing between two latitudes.
  • Finding the actual twelve-hour day, which is not the equinox.

Details

London swing16h 38m to 7h 50m across 2026
Equator swingbarely a minute all year
The equinox dayruns OVER twelve hours everywhere
At the equator in March 202612h and about 6.7 minutes
At 65° in March 202612h and about 15.1 minutes
Day length changes fastestat the equinoxes, not the solstices
PrivacyEverything runs in your browser. No location lookup, nothing sent anywhere
The year is swept day by day rather than assuming the extremes fall on the solstices — near the equator they do not, and assuming they do gives the wrong date by weeks.

Where this tool stops

Every time here is computed from your latitude, longitude and the UTC offset you enter — nothing is looked up and no location is guessed. Daylight saving is NOT applied: enter the offset that is actually in force on the date you are asking about, or add the hour yourself. Times assume a flat sea-level horizon, so hills, buildings and trees will move sunrise and sunset by minutes. This is astronomy, not weather: it tells you where the sun and moon are, never whether you will be able to see them.

Frequently asked questions

Is the equinox a twelve-hour day?
No, and it is longer everywhere. The equinox is when the sun centre crosses the celestial equator, but sunrise and sunset are defined on the upper limb and include refraction, both of which add daylight. In March 2026 the equinox day runs about 6.7 minutes over twelve hours at the equator and 15.1 minutes over at 65 degrees.
What is an equilux?
The day that really does have twelve hours of daylight. It falls a few days before the March equinox and a few days after the September one, and the gap grows the further you are from the equator.
When does day length change fastest?
At the equinoxes. The sun declination moves fastest then, so you gain or lose the most minutes per day. Around a solstice declination is almost stationary and day length barely moves for a fortnight.
How much daylight does the equator get?
About twelve hours and a few minutes, all year round, varying by barely a minute. The extra few minutes are refraction and the sun own disc.
Why is the longest day not the earliest sunrise?
Because the equation of time shifts solar noon through the year. The earliest sunrise comes several days before the June solstice and the latest sunset several days after it, and the same happens in reverse in December.
Does this handle the midnight sun?
Yes. Inside the polar circles it counts the days on which the sun never sets and the days on which it never rises, and reports both.
Is the Day Length Calculator free, or is there a paid tier?
Free, unlimited, and no email address required. You can use it a hundred times a day and nothing changes.
Is the Day Length Calculator safe to use with private information?
No. The Day Length Calculator runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
What problem does the Day Length Calculator solve?
The jobs it is built for: seeing how much daylight you gain or lose in a month. Comparing the seasonal swing between two latitudes. Finding the actual twelve-hour day, which is not the equinox. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
What are the limits of the Day Length Calculator?
Every time here is computed from your latitude, longitude and the UTC offset you enter — nothing is looked up and no location is guessed. Daylight saving is NOT applied: enter the offset that is actually in force on the date you are asking about, or add the hour yourself. Times assume a flat sea-level horizon, so hills, buildings and trees will move sunrise and sunset by minutes. This is astronomy, not weather: it tells you where the sun and moon are, never whether you will be able to see them. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What are the reference figures here?
London swing is 16h 38m to 7h 50m across 2026. Equator swing is barely a minute all year. The equinox day is runs OVER twelve hours everywhere. These are printed on the page itself, so you do not have to take them on trust.
How precise is the result?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…