Skip to content
Tutorials Center
My learning

Topics

Lesson 6 of 37 Β· The Night Sky

Day, Night, and the Seasons

Understand day and night, Earth's 23.4 degree tilt, solstices and equinoxes, and calculate noon Sun height and day length for any latitude with Python.

Every day the Sun rises, crosses the sky, and sets. Every year the days grow long and short again, and weather changes with them. Both rhythms come from the motion of one planet: Earth spins on its axis and orbits the Sun.

This lesson separates the two motions, clears up a very common misconception about seasons, and gives you formulas to calculate the Sun's noon height and the length of the day.

Day and night: rotation

Earth rotates once about every 24 hours (more exactly, 23 h 56 min relative to the stars, and 24 h from one noon to the next). Half the planet faces the Sun and has day; the other half is in shadow and has night. From the ground, this rotation makes the Sun, Moon, and stars appear to move across the sky from east to west. Earth turns toward the east, so the Sun rises in the east.

The year and the tilt: revolution

Earth orbits the Sun once in about 365.25 days. Its orbit is a slightly stretched circle (an ellipse), with distance varying between about 147.1 million km (early January) and 152.1 million km (early July).

Here is the surprise: that distance change does not cause the seasons. Earth is closest to the Sun in January, during northern winter. The real cause is the axial tilt: Earth's axis is tilted by about 23.4Β° from the perpendicular to its orbit, and it keeps pointing toward the same place in space (near Polaris) all year.

A common myth says summer happens because Earth is closer to the Sun. If that were true, the whole planet would have summer at the same time. But when it is summer in the Northern Hemisphere, it is winter in the Southern Hemisphere.

Why tilt makes seasons

When the Northern Hemisphere leans toward the Sun:

  1. Sunlight strikes the ground at a steeper angle, so each square meter receives more energy.
  2. The Sun stays above the horizon longer, so days are longer and there is more time to heat the ground.

Both effects together make summer. Six months later the Southern Hemisphere leans toward the Sun, and the north has winter.

flowchart LR
    A["Axis tilted 23.4 degrees"] --> B["Hemisphere leans toward Sun"]
    B --> C["Higher Sun in sky"]
    B --> D["Longer days"]
    C --> E["Summer"]
    D --> E

Summer needs both a higher Sun and longer days.

Solstices and equinoxes

Event Approx. date What happens
March equinox about 20 March Sun directly over the equator; day and night nearly equal
June solstice about 21 June Sun directly over 23.4Β° N; longest day in the north
September equinox about 22-23 September Sun over the equator again
December solstice about 21 December Sun over 23.4Β° S; shortest day in the north

At each solstice, one pole has 24 hours of daylight and the other has 24 hours of darkness for those within the polar circles, at latitudes beyond about 66.6Β°. Equinox means "equal night".

Two motions, two cycles

Rotation Day and night
Revolution The year
1 / 2

How high is the noon Sun?

The Sun's declination Ξ΄ (its latitude on the celestial sphere) swings between βˆ’23.4Β° and +23.4Β° during the year. At local noon, the Sun's altitude is

altitude = 90Β° βˆ’ |latitude βˆ’ Ξ΄|

This is the same formula you used for stars. The rule is useful: at the equator on an equinox, the noon Sun is at the zenith (90Β°).

A good approximation for the Sun's declination on day N of the year is

Ξ΄ β‰ˆ βˆ’23.44Β° Γ— cos(360Β° / 365 Γ— (N + 10))

It is accurate to within roughly a degree, which is fine for learning.

Python Noon Sun height through the year

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

At 40Β° N around 21 June, the noon Sun is near 73Β° high; around 21 December it is only about 26.6Β°. A big difference.

How long is the day?

Day length depends on latitude and the Sun's declination. Ignoring the bending of light by the atmosphere, the Sun's half-day arc H satisfies

cos(H) = βˆ’tan(latitude) Γ— tan(Ξ΄)

and the day lasts 2H / 15 hours (H in degrees). If the value on the right is above 1, the Sun never rises (polar night). If it is below βˆ’1, the Sun never sets (midnight sun).

Python Length of the day

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

On the equator the day is about 12 hours all year. At latitude 70Β° N, the model says 24 h in June and 0 h in December. Real days are slightly longer because the atmosphere bends sunlight and because the Sun's disk has width.

Check your understanding

Quick check Β· 4 questions

of 4 answered You scored / 4 Β· perfect!

  1. 1. What is the main cause of the seasons?

    The tilt changes the Sun's height in the sky and the length of daylight. Distance varies only a few percent.
  2. 2. When is Earth closest to the Sun?

    Earth is nearest the Sun in early January, during northern winter, which shows distance does not cause the seasons.
  3. 3. The noon Sun at latitude 40Β° N is directly over 23.4Β° N. How high is it?

    Altitude = 90 βˆ’ |40 βˆ’ 23.4| = 90 βˆ’ 16.6 = 73.4Β°.
  4. 4. What does the word equinox mean?

    At an equinox, day and night are close to equal in length everywhere.

Summary

  • Rotation causes day and night; revolution around the Sun takes a year.
  • The 23.4Β° axial tilt causes seasons through Sun height and day length.
  • Earth is closest to the Sun in January, so distance is not the cause.
  • Noon Sun altitude = 90Β° βˆ’ |latitude βˆ’ Sun's declination|.
  • Day length can be calculated from latitude and the Sun's declination.

Next: The Moon: Phases and Eclipses