HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
The Seasons and the Sun Through the Year
  1. 1Why the Earth has seasons
  2. 2Solstices, equinoxes and the noon Sun
  3. 3The Sun's daily path and the length of the day
  1. Space Science and Astronomy
  2. /The Seasons and the Sun Through the Year
  3. /The Sun's daily path and the length of the day

Course 3.1·Lesson 3 of 3

The Sun's daily path and the length of the day

Each day the Sun follows a circle parallel to the celestial equator. In summer more than half of that circle is above the horizon, so the day is long. The day length comes from cos⁡H=−tan⁡φtan⁡δ\cos H = -\tan\varphi \tan\deltacosH=−tanφtanδ

Lesson 3 of 3Show all lessonsHide
The Seasons and the Sun Through the Year
  1. 1Why the Earth has seasons
  2. 2Solstices, equinoxes and the noon Sun
  3. 3The Sun's daily path and the length of the day

Try the code and the simulations beside the lesson.

Bright nights in the north

In late June in Oslo, the sky is still bright at eleven at night. In Reykjavik the Sun barely sets at all. Six months later the same places see only a few hours of daylight. In Singapore, near the equator, the day stays close to twelve hours all year. Why do the days change so much in some places and so little in others?

The Sun's circle in the sky

As the Earth spins, the Sun seems to move round the sky once a day. Its path is a circle parallel to the celestial equator. The Sun's declination sets how far north or south that circle is.

A drawing of the sky seen from latitude 51.5 degrees north, looking south, with the horizon as a straight line marked E on the left, S in the middle and W on the right. Three arcs show the Sun's path across the sky in one day. The June solstice path is the highest and longest: it starts on the horizon well to the left of E, towards the north-east, climbs to 62 degrees above the south point at noon, and ends well to the right of W. The equinox path starts exactly at E, reaches 38.5 degrees at noon and ends exactly at W. The December solstice path is short and low: it starts south of E, reaches only 15 degrees at noon and ends south of W. The three arcs are parallel to each other.

The picture shows the three paths for London.

  • At an equinox the circle is the celestial equator itself. The horizon cuts it exactly in half. The Sun rises due east, sets due west, and is up for about 121212 hours.
  • At the June solstice the circle is 23.44∘23.44^\circ23.44∘ further north. More than half of it is above the horizon. The Sun rises in the north-east, climbs high and sets in the north-west.
  • At the December solstice the circle is 23.44∘23.44^\circ23.44∘ south. Less than half of it is above the horizon. The Sun rises in the south-east, stays low and sets in the south-west.

For a place in the southern half of the Earth, swap June and December.

The length of the day

From sunrise to noon the sky turns through an angle HHH. A rule from the geometry of the sky gives it:

cos⁡H=−tan⁡φtan⁡δ\displaystyle \cos H = -\tan\varphi \tan\deltacosH=−tanφtanδ

The Sun is up for 2H2H2H, and the sky turns 15∘15^\circ15∘ an hour, so

day=2H15∘ hours\displaystyle \text{day} = \dfrac{2H}{15^\circ} \text{ hours}day=15∘2H​ hours

Worked example. London is at 51.5∘51.5^\circ51.5∘ N.

  1. June solstice. cos⁡H=−tan⁡51.5∘×tan⁡23.44∘=−0.545\cos H = -\tan 51.5^\circ \times \tan 23.44^\circ = -0.545cosH=−tan51.5∘×tan23.44∘=−0.545, so H=123.0∘H = 123.0^\circH=123.0∘.
  2. The day. 2×123.0∘/15∘=16.42 \times 123.0^\circ / 15^\circ = 16.42×123.0∘/15∘=16.4 hours.
  3. December solstice. Now tan⁡δ\tan\deltatanδ is negative, so cos⁡H=+0.545\cos H = +0.545cosH=+0.545 and H=57.0∘H = 57.0^\circH=57.0∘. The day is 7.67.67.6 hours.
  4. Check. 16.4+7.6=2416.4 + 7.6 = 2416.4+7.6=24 hours. A long day in June goes with a long night in December.

Printed tables give a little more daylight, about 161616 h 383838 min and 777 h 505050 min for London. The air bends sunlight and lifts the Sun by about half a degree near the horizon. Sunrise also counts from the top edge of the Sun, not its centre.

On the equator tan⁡φ=0\tan\varphi = 0tanφ=0, so cos⁡H=0\cos H = 0cosH=0, H=90∘H = 90^\circH=90∘ and the day is 121212 hours on every date.

Try the latitude 70∘70^\circ70∘ in June. The blue circle stays inside the horizon all day. What does that mean?

The midnight Sun and the polar night

If tan⁡φtan⁡δ\tan\varphi \tan\deltatanφtanδ is more than 111, the formula has no answer, because no angle has a cosine above 111. Then the Sun never sets, or never rises.

  • The midnight Sun. The Sun stays up all day when φ≥90∘−δ\varphi \ge 90^\circ - \deltaφ≥90∘−δ (in the north). At the June solstice this starts at the Arctic Circle, 66.56∘66.56^\circ66.56∘ N.
  • The polar night. At the December solstice the Sun stays below the horizon all day north of the Arctic Circle.
  • At the North Pole the Sun is up from the March equinox to the September equinox, about six months, and then down for six months.

The same happens round the South Pole, six months later.

Where the Sun rises

The direction of sunrise, measured from north through east, is AAA, where

cos⁡A=sin⁡δcos⁡φ\displaystyle \cos A = \dfrac{\sin\delta}{\cos\varphi}cosA=cosφsinδ​

For London at the June solstice, cos⁡A=sin⁡23.44∘/cos⁡51.5∘=0.639\cos A = \sin 23.44^\circ / \cos 51.5^\circ = 0.639cosA=sin23.44∘/cos51.5∘=0.639, so A=50.3∘A = 50.3^\circA=50.3∘, in the north-east. At the December solstice A=129.7∘A = 129.7^\circA=129.7∘, in the south-east. Over half a year the sunrise point swings along the horizon by almost 80∘80^\circ80∘. Ancient builders lined up stones and doorways with these sunrise points.

Practise with new numbers

Try it in Python

The program works out the length of the day on the first day of each month, using the simple rule for the declination.

Predict first. Which month starts with the longest day, and how long is it? Then run it. Check with Show the answer.

1. Change latitude = 51.5 to latitude = 1.35. How much do the days change through the year?

2. Change it to latitude = 70.0. Which months have a midnight Sun?

Common mistakes

  • Using HHH as the whole day. HHH is from sunrise to noon. The day is 2H2H2H.
  • Dropping the minus sign. cos⁡H=−tan⁡φtan⁡δ\cos H = -\tan\varphi\tan\deltacosH=−tanφtanδ. In summer the right side is negative, so HHH is more than 90∘90^\circ90∘ and the day is longer than 121212 hours.
  • Thinking the Sun always rises due east. Only on the two equinoxes.
  • Thinking the midnight Sun is seen everywhere in the far north all summer. Just inside the Arctic Circle it lasts only a few days round the solstice.

Remember these

  • The Sun's daily path is a circle parallel to the celestial equator.
  • cos⁡H=−tan⁡φtan⁡δ\cos H = -\tan\varphi\tan\deltacosH=−tanφtanδ, and the day lasts 2H/15∘2H/15^\circ2H/15∘ hours.
  • On the equator, and on an equinox, the day is about 121212 hours.
  • North of 90∘−δ90^\circ - \delta90∘−δ the Sun does not set. Beyond the polar circles there is a midnight Sun at one solstice and a polar night at the other.
  • Sunrise: cos⁡A=sin⁡δ/cos⁡φ\cos A = \sin\delta / \cos\varphicosA=sinδ/cosφ, north of east in June and south of east in December, for any latitude.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. On which two days of the year does every place on the Earth have close to 121212 hours of daylight?
  1. Why does the formula cos⁡H=−tan⁡φtan⁡δ\cos H = -\tan\varphi\tan\deltacosH=−tanφtanδ give no answer at 75∘75^\circ75∘ N in late June?
  1. Lucía has 141414 hours of daylight on a day in June. Is she north or south of the equator?
  1. How does the place on the horizon where the Sun rises move between March and June, for someone in Japan?

References

  • OpenStax Astronomy 2e, Chapter 4 Earth, Moon, and Sky, section 4.2 The Seasons.
  • OpenStax Astronomy 2e, Chapter 4 Earth, Moon, and Sky, section 4.3 Keeping Time.

Enroll free in The Seasons and the Sun Through the Year

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A town is at latitude 60.0° N. (a) How many hours is the Sun above the horizon on the June solstice? …Easy · High School (9–10) · by StemPy Lab
The Sun stays above the horizon all day when φ ≥ 90° - δ in the north…Medium · High School (9–10) · by StemPy Lab
An ancient stone circle stands at latitude 40.0° N…Hard · High School (9–10) · by StemPy Lab
That was the last lessonBack to the course: take the test
← The Seasons and the Sun Through the Year
← Solstices, equinoxes and the noon SunNext →

Discussion (0)

Log in to join the discussion.

Loading…

. Beyond the polar circles the Sun can stay up, or down, all day.
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Python Labs (1)

Day length and sunrise in codePython Lab · by StemPy Lab

Question Sets (1)

The Seasons: Check Your Understanding10 questions · by StemPy Lab

Notes (1)

The Seasons and the Sun's Path: Quick RevisionNote · by StemPy Lab