Two clocks that do not match
A calendar tries to match two natural rhythms that have nothing to do with each other: the day, set by Earth's spin, and the year, set by its orbit around the Sun. The year that matters for the seasons, called the tropical year, is measured from one March equinox to the next and lasts about 365.2422 days, or 365 days, 5 hours, 48 minutes and 45 seconds. A calendar of exactly 365 days would fall behind by almost a quarter of a day every year. After a century the seasons would arrive about 24 days late on the calendar, and after roughly 750 years summer would fall in what the calendar called winter.
The Julian fix
Ancient Egyptian astronomers knew the year was about a quarter-day longer than 365 days. When Julius Caesar reformed the Roman calendar in 46 BC, advised by the astronomer Sosigenes of Alexandria, he adopted a simple rule: three years of 365 days followed by one of 366. That gives an average year of exactly 365.25 days. It was a great improvement but slightly too long, by about 11 minutes a year. Small as that is, it accumulates. By the sixteenth century the calendar had drifted about ten days since the fourth-century Council of Nicaea, and the March equinox, used to set the date of Easter, was falling around 11 March.
The Gregorian rule
In 1582 Pope Gregory XIII introduced a reform. Ten days were removed at once, so that Thursday 4 October was followed by Friday 15 October in the countries that adopted it immediately. A new rule then trimmed the overcorrection: years divisible by 4 are leap years, except century years, which are leap years only if divisible by 400. So 1700, 1800 and 1900 were not leap years, 2000 was, and 2100 will not be. This gives 97 leap days every 400 years and an average year of 365.2425 days, only about 0.0003 days longer than the tropical year, an error that builds up to one day in roughly 3,300 years.
Slow adoption
Catholic countries such as Spain, Portugal and the Italian states switched in 1582, but many others were slow. Britain and its colonies changed only in 1752, by which time they had to drop 11 days: Wednesday 2 September was followed by Thursday 14 September. Russia adopted the Gregorian calendar in 1918, which is why the October Revolution of 1917 is remembered in November by today's calendar. Greece switched in 1923. Many religious calendars still use other systems. The Gregorian calendar is now the international standard for civil purposes, including in the UAE and across the Gulf, alongside the Islamic Hijri calendar for religious dates.
Other calendars, other fixes
Not every calendar needs leap days. The Islamic calendar is purely lunar, with 12 months of 29 or 30 days, totalling about 354 days, and it deliberately drifts through the seasons. Tabular versions of it add an extra day in 11 years of every 30 to stay aligned with the Moon rather than the Sun. The Hebrew and traditional Chinese calendars are lunisolar: they add a whole leap month about seven times every 19 years to keep lunar months roughly in step with the seasons. Leap seconds are a separate correction, added occasionally to clock time because Earth's spin is irregular; international timekeepers have agreed to stop adding them by 2035.
Living with a leap day
Leap days create small practical oddities. People born on 29 February, often called leaplings, celebrate their exact birthday only every four years, and the chance of being born on that date is about one in 1,461. Software must handle the century rule correctly; programs that wrongly treated 2000 as a non-leap year caused minor problems. Salaried workers may effectively work an extra day for the same monthly pay. Proposals for permanent calendars, in which every date falls on the same weekday each year, have surfaced repeatedly, but none has displaced the Gregorian system. Its rules, devised over 440 years ago, still keep the equinox reliably close to 20 March.
Sources & further reading
Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.



