Calendar basics: mod 7 and leap years
The three facts behind every calendar trick: weekdays as numbers, keeping only the remainder after 7, and which years are leap years.
Best for: Calendar tricks · Planning ahead · Birthdays · Mental maths warm-up
Why it works
The week repeats every 7 days, so day 8 is just day 1 again. That means you never care about big numbers, only the remainder after dividing by 7. Every calendar trick in this section is small additions plus that one habit.
The idea in one line: turn days into numbers, add, then throw away the 7s.
Step by step
-
Give every weekday a number. Sunday 0, Monday 1, Tuesday 2, Wednesday 3, Thursday 4, Friday 5, Saturday 6.
Learn it as "Sunday is zero, the week counts up". Saturday is the biggest: 6.
-
Take "mod 7": keep only the remainder. Divide by 7 and keep what is left over.
Take away the biggest multiple of 7 23 − 21 = 221 = 3 × 730 − 28 = 228 = 4 × 745 − 42 = 342 = 6 × 714 − 14 = 014 = 2 × 7Know the multiples of 7 up to 70 by heart: 7, 14, 21, 28, 35, 42, 49, 56, 63, 70.
-
Spot leap years. A year divisible by 4 is a leap year. Century years are the exception: they must be divisible by 400.
Year Divisible by 4? Century rule Leap year? 2024 yes not a century yes 2026 no no 2000 yes 2000 ÷ 400 works yes 1900 yes 1900 ÷ 400 does not no -
Know the year shift. The same date moves forward 1 weekday in a normal year and 2 when a 29 February sits in between.
18 October, year by year 2026 Sunday2027 Monday+ 1: a normal year2028 Wednesday+ 2: 29 February 2028 came in between
Worked example
Question: a deadline is 100 days after Monday. Which weekday is it?
You never counted 100 days. You only needed 98 = 14 × 7 and one small addition.
What made it work
- Numbers, not names. Adding 1 + 2 is easier than counting "Tuesday, Wednesday…".
- Throwing away 7s early. 100 became 2 before you did anything else.
Try it now
2-minute drillFind the remainder after dividing by 7, then decide if each year is a leap year (type yes or no).
Subject examples
Planning: the same weekday every time
Anything that repeats every 7, 14 or 28 days lands on the same weekday forever, because those numbers leave remainder 0. A fortnightly payday on a Friday stays on a Friday.
History: why 2000 surprised people
Many people expected 2000 to skip its leap day, like 1900 did. It didn't: 2000 is divisible by 400, so 29 February 2000 existed.
Birthdays: next year's weekday in one second
Take this year's weekday and add 1, or 2 if a 29 February falls between the two birthdays. 25 December 2026 is a Friday, so 25 December 2027 is a Saturday.
A year from today, five years from today
Each year adds 1, plus 1 more for every 29 February you pass. From 18 October 2026 (Sunday) to 18 October 2031 is 5 years and one leap day (2028):
The calendar switch
These methods use the Gregorian calendar, introduced in 1582. Britain and its colonies only switched in 1752, so very old English dates may be written in the older Julian calendar and give a different weekday.
Common mistakes
- Calling 1900 or 2100 a leap year. Fix: for century years, check divisibility by 400, not 4.
- Counting the start day. "3 days after Monday" is Thursday, not Wednesday. Fix: add the gap to the start number: 1 + 3 = 4 = Thursday.
- Slow mod 7. Fix: drill the multiples of 7 until 49, 56 and 63 come instantly.
Combine with
These three facts power the key-code method and the Doomsday method. To remember dates of events, use the Major system.
Check your understanding
Practise Calendar basics: mod 7 and leap years every day in the Study Cup Software (Software for Memory Tools & Study Management).
Build palaces, plan your exams and track your study time. Apps for Android, iPhone and Windows are coming soon; use it free in your browser now.
Get the app