InputTestHub

Twilight Times Calculator

Gives the civil, nautical and astronomical twilight times for any place and date, and says when there is no astronomical darkness at all.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
YYYY-MM-DD.
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 The three twilights are angles, not moods. Civil twilight is the sun between the horizon and 6 degrees below it, nautical runs from 6 to 12 degrees below, and astronomical from 12 to 18. Each threshold has a practical reason behind it: civil twilight is roughly the point at which you need a light to work outdoors, nautical twilight lasts while the sea horizon is still visible against the sky for a sextant sight, and astronomical twilight ends when the sky stops contributing any light of its own to a telescope. Below 18 degrees it is as dark as that night is going to get. How long each lasts depends almost entirely on latitude, because what matters is the angle at which the sun descends. At the equator it drops nearly vertically and civil twilight is over in about 22 minutes; the further from the equator, the shallower the path and the longer the sun spends crossing each band. Past roughly 48.6 degrees of latitude the effect becomes absolute: for part of the summer the sun never gets 18 degrees below the horizon at all, so astronomical darkness does not occur on those nights and the sky stays faintly lit right through. That is not a failure of the calculation, and this tool reports it as the answer rather than leaving a blank. Morning and evening twilight are also not exact mirrors, because the sun declination shifts while the night passes.

How to use the Twilight Times Calculator

  1. Enter the date and your coordinates.
  2. Set the UTC offset in force that day.
  3. Read the three twilights at both ends, and the true-darkness figure.

About the Twilight Times Calculator

Civil, nautical and astronomical twilight at both ends of the day, with the high-latitude case handled honestly.

What people use it for

  • Working out when it is actually dark enough for astronomy.
  • Planning a start or finish around usable light rather than around sunset.
  • Understanding why summer nights never get properly dark where you live.

Details

Civil twilightsun 0° to 6° below the horizon
Nautical twilight6° to 12° below
Astronomical twilight12° to 18° below
Above about 48.6° latitudeastronomical darkness disappears in summer
London on 21 Juneno astronomical darkness at all
London on 21 Decemberabout 12 hours of it
PrivacyEverything runs in your browser. No location lookup, nothing sent anywhere
When a twilight has no time, the page says which one and why. That is a real astronomical answer at high latitude, not a gap in the calculation.

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

What is the difference between the three twilights?
Only the sun angle. Civil is 0 to 6 degrees below the horizon, nautical 6 to 12, astronomical 12 to 18. Each was defined for a practical purpose — working light, a visible sea horizon, and a sky dark enough for a telescope.
Why is there no astronomical twilight where I am?
Because the sun does not get 18 degrees below your horizon on that date. Above roughly 48.6 degrees of latitude that happens for part of every summer, and the sky never fully darkens on those nights.
How long does twilight last?
It depends on latitude far more than on the date. Near the equator the sun sets almost vertically and civil twilight lasts about 22 minutes; at high latitude the sun skims down at a shallow angle and twilight can run for hours.
Is dawn the same length as dusk?
Very nearly, but not exactly. The sun declination changes while the night passes, so the two are slightly different, and the difference is largest when declination is moving fastest.
When can I see the stars?
Most stars appear during nautical twilight, but faint objects and the Milky Way need astronomical darkness. If this page says there is none tonight, that is why the sky still looks blue at midnight.
Do these times include daylight saving?
No. Enter the UTC offset that applies on that date and the times will match your clock.
Is the Twilight Times Calculator free, or is there a paid tier?
It is free, with no account, no trial and no daily cap. Every calculators tool on inputtesthub.com works the same way: open the page and use it.
Is the Twilight Times Calculator safe to use with private information?
No. The Twilight Times Calculator runs entirely in your browser using JavaScript. Because the work happens locally, the utility also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
What problem does the Twilight Times Calculator solve?
The most common reasons people reach for it: working out when it is actually dark enough for astronomy. Planning a start or finish around usable light rather than around sunset. Understanding why summer nights never get properly dark where you live. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
What are the limits of the Twilight Times 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?
Civil twilight is sun 0° to 6° below the horizon. Nautical twilight is 6° to 12° below. Astronomical twilight is 12° to 18° below. 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…