Clock of the World
English
NorskEnglishDeutschEspañolFrançaisSvenska

Articles

Leap years and leap seconds

Why 29 February exists, how the Gregorian leap-year rule works, and why leap seconds are due to be phased out.

Updated 22 November 2026

Contents

A year is not a whole number of days

The Earth takes about 365.2422 days to orbit the sun. A calendar year has 365 days. So the calendar falls almost a quarter of a day short every year. Without a correction the seasons would slowly drift away from the dates, and after a few centuries Christmas would arrive in midsummer.

The solution is to add an extra day at regular intervals: the leap day. You can see which years are leap years in the calendar.

From Julius Caesar to Pope Gregory

In 46 BC Julius Caesar introduced a simple rule: every fourth year is a leap year. That gives an average year of 365.25 days, which is slightly too long, by about 11 minutes a year. Over many centuries the error grew to several days.

In 1582 Pope Gregory XIII introduced a revised calendar. Ten days were skipped to correct the accumulated drift, and a more precise leap-year rule took over. Catholic countries adopted the Gregorian calendar at once, and others followed. Denmark-Norway switched in 1700, and Britain and its colonies in 1752. Russia waited until after the 1917 revolution.

The rule today

A year is a leap year if it is divisible by 4. There is an exception: if the year is divisible by 100, it is not a leap year, unless it is also divisible by 400. That is why 1900 was not a leap year but 2000 was. The year 2100 will not be one either.

This gives 97 leap years in every 400 years and an average year of 365.2425 days, which is very close to the astronomical year. The error amounts to about one day in just over 3,000 years.

Born on 29 February

About one person in 1,461 is born on 29 February. In ordinary years, many celebrate on 28 February or on 1 March. The law differs from country to country on when such a person legally reaches a given age, so check the local rules if it matters.

Weekdays follow the leap years. A common year has 52 weeks and one extra day, so each date moves one weekday later each year, and two weekdays after a leap day. See also week numbers for how weeks are counted.

The leap second

The Earth's rotation is not perfectly steady. Tides and changes inside the planet make the day slightly longer on average, by some thousandths of a second. Atomic clocks, by contrast, keep perfect pace. So that UTC would not drift too far from the Earth's rotation, leap seconds began to be added as needed in 1972.

Since then 27 leap seconds have been added, the latest at the end of 2016. The clock then ran from 23:59:59 to 23:59:60 before reaching 00:00:00. Leap seconds have caused errors in computer systems, because many programs assume that a minute always has 60 seconds.

The end of the leap second

In 2022 the General Conference on Weights and Measures (CGPM) resolved to stop using leap seconds. The plan is to let the gap between UTC and the Earth's rotation grow for a few decades, with the change to take effect by 2035. That makes life easier for computer systems. A rarer, larger correction might replace it later.

Leap years stay. They are needed for as long as we use a calendar that follows the seasons. You can calculate the time between two dates with the converter, which takes leap years into account.

Related tools