January 1, 2026, is a Thursday. January 1, 2027, is a Friday. The weekday moves forward by one because 2026 has 52 complete weeks and one extra day.

In the Gregorian calendar, a common year has 365 days and a leap year has 366. Count those elapsed days from one January 1 to the next. Every complete week brings you back to the same weekday; the leftover days move you forward.

A common year has 365 days, or 52 weeks plus one day: Thursday in 2026 becomes Friday in 2027. Leap year 2028 has 366 days, or 52 weeks plus two: Saturday becomes Monday in 2029.
The year between the two January 1 dates determines the shift: one weekday for a common year, two for a leap year.Credit: MathBlog

Take away the complete weeks

Divide the number of days in the year by seven.

\[365=52\times7+1,\qquad366=52\times7+2.\]

The quotient, 52, counts whole weeks. The remainder tells you how many weekdays to move forward after those weeks. A common year advances the next January 1 by one weekday; a leap year advances it by two.

The interpretation of a remainder depends on what you are counting. In a division word problem, it might count leftover objects. Here it counts the days beyond complete seven-day cycles.

Use the year that is ending

To move from January 1, 2027, to January 1, 2028, count the days in 2027. That year is common, so Friday advances to Saturday. The fact that the incoming year, 2028, is a leap year does not affect this step.

January 1 weekdays across three Gregorian year changes
Year being counted Days January 1 of that year Next January 1
2026, common 365 Thursday Friday, 2027
2027, common 365 Friday Saturday, 2028
2028, leap 366 Saturday Monday, 2029

February 29 occurs between January 1, 2028, and January 1, 2029. The two-day shift goes from Saturday through Sunday to Monday.

Check the century exception

For the Gregorian calendar, a year divisible by four is a leap year unless it is divisible by 100 without also being divisible by 400. The National Snow and Ice Data Center’s day-of-year calendars distinguish the two year lengths and state this exception.

  • 1900: divisible by 100 but not 400, so it is common and advances the next January 1 by one weekday.
  • 2000: divisible by 400, so it is leap and advances the next January 1 by two weekdays.
  • 2100: divisible by 100 but not 400, so it is common and gives a one-weekday shift.

These calculations use Gregorian rules throughout. Historical dates may use a different calendar, depending on the place and period.

Why the longer pattern repeats

A full 400-year Gregorian cycle contains 97 leap years. There are 100 multiples of four, but three century years lose their leap day. The total number of days is

\[400\times365+97=146{,}097=20{,}871\times7.\]

That is a whole number of weeks. The leap-year pattern also repeats after 400 years, so the Gregorian arrangement of dates and weekdays repeats on that cycle.

Further reading