What is the problem?
A calendar is a promise that the seasons will arrive on the same dates every year. But the Earth does not cooperate. The time from one March equinox to the next — the tropical year, which governs the seasons — is about 365.2422 days: 365 days, 5 hours, 48 minutes and 45 seconds. If every calendar year has 365 days, the calendar drifts against the seasons by almost a quarter of a day each year — about a day every four years, a month every 120 years. Within a few centuries, midsummer would fall in spring.
What did Julius Caesar do?
The Roman republican calendar was a mess. It had 355 days, and priests were supposed to insert an extra month every few years to keep it aligned — but they often did so for political reasons, lengthening the terms of allies or shortening those of enemies. By the time Julius Caesar took power, the calendar was about three months out of step with the seasons.

Advised by the Alexandrian astronomer Sosigenes, Caesar introduced a new calendar in 46 BCE. To realign the seasons, that year was given 445 days — Romans called it the "year of confusion". From 45 BCE, years had 365 days, with an extra day added every fourth year. This Julian calendar assumed a year of 365.25 days. (The priests initially got it wrong and added the leap day every three years; Augustus fixed it.)
Why wasn't that enough?
Because 365.25 is slightly too long. The real year is about 11 minutes shorter. That error adds up to about one day every 128 years. By the sixteenth century, the Julian calendar had drifted ten days: the spring equinox, which the Church used to calculate the date of Easter, was falling around 11 March instead of 21 March.
What did the Gregorian reform change?
In 1582, Pope Gregory XIII issued a bull, Inter gravissimas, implementing a reform designed largely by the Italian physician Aloysius Lilius and the Jesuit mathematician Christopher Clavius. It did two things:
- It deleted ten days: Thursday 4 October 1582 was followed by Friday 15 October.
- It refined the leap-year rule. A year is a leap year if it is divisible by 4 — except century years, which are leap years only if divisible by 400.
So 1700, 1800 and 1900 were not leap years, but 1600 and 2000 were. This removes three leap days every 400 years and gives an average year of 365.2425 days — wrong by only about 27 seconds a year, or one day in roughly 3,200 years.
Did everyone switch at once?
No. Catholic countries such as Spain, Portugal and the Italian states switched in 1582. Protestant and Orthodox countries were suspicious of a papal reform. Britain and its colonies, including America, switched only in 1752, by which time they had to skip eleven days: Wednesday 2 September was followed by Thursday 14 September. Russia adopted the Gregorian calendar only after the 1917 revolution — which is why the "October Revolution" happened in November by the Gregorian reckoning. Some Orthodox churches still use the Julian calendar for religious festivals, so their Christmas falls on 7 January.

Do other calendars have leap years?
Yes, in different forms. The Islamic calendar is purely lunar, with 354 or 355 days, and deliberately drifts through the seasons — which is why Ramadan moves earlier by about 11 days each year. Lunisolar calendars such as the Hebrew, Chinese and traditional Hindu calendars add a whole leap month about seven times in every 19 years to keep lunar months aligned with the solar year. India's official national calendar, the Saka calendar adopted in 1957, has leap years matching the Gregorian ones.
And leap seconds?
Those fix a different problem: the Earth's rotation is irregular and very slowly getting slower, so atomic time and solar time drift apart. Since 1972, 27 leap seconds have been added. In 2022, the world's metrologists voted to abolish leap seconds by 2035, because they cause headaches for computer systems.
The short answer
We have leap years because a year is not a whole number of days. Adding 29 February almost every four years, with the century exception, keeps the calendar in step with the Sun. Explore Earth's orbit on Titan and the history of the calendar on Europa.

_(cropped).jpg?width=500)
