Leap day is added to the calendar to account for the fact that it takes the Earth 365.24 days to orbit the Sun. Without the leap day, our calendar would slowly drift out of sync with the seasons. The leap day is added to the calendar every four years, with the exception of years that are evenly divisible by 100 but not by 400. This is known as the leap year rule, or the Gregorian calendar.