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
Months, Years and the Calendar
  1. 1The sidereal month and the synodic month
  2. 2The tropical year and leap years
  3. 3Calendars of many cultures
  1. Space Science and Astronomy
  2. /Months, Years and the Calendar
  3. /The tropical year and leap years

Course 4.3·Lesson 2 of 3

The tropical year and leap years

The tropical year, 365.2422365.2422365.2422 days, is the time for the cycle of the seasons. The sidereal year, 365.2564365.2564365.2564 days, is the time to go once round against the stars, and is about 202020

Lesson 2 of 3Show all lessonsHide
Months, Years and the Calendar
  1. 1The sidereal month and the synodic month
  2. 2The tropical year and leap years
  3. 3Calendars of many cultures

Try the code and the simulations beside the lesson.

A quarter of a day

A year is not a whole number of days. It is about 36514365\frac{1}{4}36541​ days. So if a calendar always had 365365365 days, a quarter of a day would be lost each year. After four years the calendar would be one whole day out. After a few hundred years, the spring festival would fall in winter.

Two kinds of year

  • The tropical year is the time from one March equinox to the next. It is 365.2422365.2422365.2422 days and it is the year of the seasons.
  • The sidereal year is the time for the Earth to go once round the Sun against the far stars. It is 365.2564365.2564365.2564 days, about 202020 minutes longer.

They differ because of precession. The Earth's axis swings round once in about 25 80025\,80025800 years, and this moves the equinox point slowly westwards along the ecliptic, against the stars.

Worked example.

  1. The motion of the equinox. 360∘/25 800=0.01395∘360^\circ/25\,800 = 0.01395^\circ360∘/25800=0.01395∘ a year.
  2. The extra time. The Sun moves 0.98565∘0.98565^\circ0.98565∘ a day, so it takes 0.01395/0.98565=0.014160.01395/0.98565 = 0.014160.01395/0.98565=0.01416 days to move that far. That is 20.420.420.4 minutes.
  3. The result. The sidereal year is 365.2422+0.0142=365.2564365.2422 + 0.0142 = 365.2564365.2422+0.0142=365.2564 days.

A calendar for the seasons follows the tropical year.

Keeping the calendar in step

The Julian calendar was brought in by Julius Caesar. It has 365365365 days, with one leap day every fourth year. Its mean year is 365.25365.25365.25 days, which is 0.00780.00780.0078 days too long. The error is 111 day in about 128128128 years.

By the year 158215821582, the date of the March equinox had slipped from about 21 March to about 11 March, which is 101010 days. In that year Pope Gregory XIII issued the Gregorian calendar. The days from 5 October to 14 October 158215821582 were dropped in the countries that adopted it. Britain and its colonies made the change in 175217521752, and had to drop 111111 days. Other countries changed at other times, up to the twentieth century.

A graph with the number of years from 0 to 2000 across the bottom and the drift of the equinox date, in days, from minus 500 to plus 150 up the side. Four straight lines start at zero on the left. The line for a calendar year of 365 days falls steeply to about minus 484 days at 2000 years. The line for the Julian calendar, 365.25 days, rises slowly to about plus 16 days at 2000 years. The line for the Gregorian calendar, 365.2425 days, rises so slowly that it is almost flat on the zero line, reaching only about plus 0.6 days. A tropical-year line at zero shows a perfect calendar. Marks on the Julian line show the drift of about 10 days between the year 325 and the year 1582.

The Gregorian rule. A year is a leap year if

  • it is divisible by 444, and
  • it is not a century year, unless the century year is divisible by 400400400.

So 190019001900 and 210021002100 are not leap years, but 200020002000 and 202420242024 are. In 400400400 years there are 979797 leap years, so the mean year is

365+97400=365.2425 days\displaystyle 365 + \dfrac{97}{400} = 365.2425\ \text{days}365+40097​=365.2425 days

This is only 0.00030.00030.0003 days too long, which is 111 day in about 330033003300 years.

Set the calendar year to 365.0365.0365.0. By how many days has the equinox moved after 400400400 years? Then try 365.25365.25365.25.

Practise with new numbers

Try it in Python

The program checks the Gregorian rule over 400400400 years and finds its mean year, then the day of the week of a date.

Predict first. How many leap years are there from 1901 to 2000? Then run it. Check with Show the answer.

1. Change the range to 1801 to 2000.

2. Change the date to your own birthday. What day of the week was it?

Common mistakes

  • Counting every century year as a leap year. Only those divisible by 400400400 are.
  • Thinking the year is exactly 365.25365.25365.25 days. It is 365.2422365.2422365.2422 days.
  • Mixing up the tropical and the sidereal year. The calendar follows the seasons, so it follows the tropical year.
  • Forgetting that a drift builds up. A small error each year becomes days over centuries.

Remember these

  • Tropical year: 365.2422365.2422365.2422 days. Sidereal year: 365.2564365.2564365.2564 days.
  • Precession makes the difference, about 202020 minutes.
  • Julian calendar: a leap year every 444 years, mean 365.25365.25365.25 days, off by 111 day in 128128128 years.
  • Gregorian calendar: 979797 leap years in 400400400 years, mean 365.2425365.2425365.2425 days.
  • Century years are leap years only if divisible by 400400400.

Check yourself

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

  1. Which of these years is a leap year in the Gregorian calendar: 180018001800, 201220122012, 210021002100?
  1. Why does a calendar follow the tropical year and not the sidereal year?
  1. By how many days is a calendar with a year of exactly 365365365 days out of step with the seasons after 100100100 years?
  1. What did the Gregorian reform change in 158215821582?

References

  • OpenStax Astronomy 2e, Chapter 4 Earth, Moon, and Sky, section 4.4 The Calendar (the Julian and Gregorian calendars).

Enroll free in Months, Years and the Calendar

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)

Use the Gregorian rule: a year is a leap year if it is divisible by 4, except that a century year…Easy · High School (9–10) · by StemPy Lab
The Julian calendar has a mean year of 365.25 days…Medium · High School (9–10) · by StemPy Lab
Precession turns the Earth's axis once in 25 800 years…Hard · High School (9–10) · by StemPy Lab
Next: lesson 3Calendars of many cultures
← Months, Years and the Calendar
← The sidereal month and the synodic monthCalendars of many cultures →

Discussion (0)

Log in to join the discussion.

Loading…

minutes longer because of precession. A calendar needs whole days, so leap years keep it in step with the seasons.
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)

Leap years in codePython Lab · by StemPy Lab