In the Gregorian calendar, the current standard calendar in most of the world, most years that are multiples of 4 are leap years. In each leap year, the month of February has 29 days instead of 28. Adding an extra day to the calendar every four years compensates for the fact that a period of 365 days is shorter than a tropical year by almost 6 hours. This calendar was first used in 1582.
Some exceptions to this basic rule are required since the duration of a tropical year is slightly less than 365.25 days. Over a period of 4 centuries, the accumulated error of adding a leap day every 4 years amounts to about 3 extra days. The Gregorian calendar therefore removes three leap days every 400 years, which is the length of its leap cycle. This is done by removing February 29 in the three century years (multiples of 100) that cannot be exactly divided by 400.[3] The years 2000 and 2400 are leap years, while 1800, 1900, 2100, 2200, 2300 and 2500 are common years. By this rule, the average number of days per year is 365 + 1⁄4 − 1⁄100 + 1⁄400 = 365.2425.[4] The rule can be applied to years before the Gregorian reform (the proleptic Gregorian calendar), if astronomical year numbering is used.[5]