What the day logo
What the Day
LearnPracticePlayDailyGuides
LearnGuidesPracticePlayDaily challengeLeaderboardAboutContactPrivacy
Copyright © 2026 Jesper Kiledal
All rights reserved
☕Buy me a coffee
What the day logo
What the Day
LearnPracticePlayDailyGuides
Learn / Calculating a year's doomsday

Calculating a year's doomsday

Step 5 of 6

Calculating the doomsday for a year

We can now use this knowledge to calculate which weekday the doomsday is for any year.

To do this efficiently, you must hold a few values in your short-term memory. Don’t worry if you find this a bit tricky to start with, this will be much easier with practise.

Example year: 1966.

Anchor
Twelves
Mod12
Fours
Sum
Answer

Step 1 – Find the anchor day

Determine the anchor day for the date and store the number 3 in your memory bank. Then discard the century, you won’t need it any more. The remaining calculations concerns only the last two digits of the year.

Anchor
–3–
Twelves
Mod12
Fours
Sum
Answer

Step 2 – Multiples of 12

Find the highest multiple of 12 for the last two digits of the year. You can do this by dividing the number by 12 and round the answer down to the nearest whole number. Another way to think about this is to count how many times you can add 12 before reaching this number. In our example the answer is 5, because 5 × 12 = 60 and 6 × 12 is 72, which is higher than 66, so we can only fit five 12s into 66. Let’s add 5 to our working memory.

Anchor
–3–
Twelves
–5–
Mod12
Fours
Sum
Answer
Test your skills on twelves
Play Divisor of 12

Step 3 – Modulo 12

This step involves finding the remainder when the last two digits of the year are divided by 12. The modulo operation, as previously discussed, helps in dealing with cycles, such as the 7-day week cycle in the Doomsday rule. For the year 1966, we take the last two digits, which are 66, and perform a modulo 12 operation. When you divide 66 by 12, the remainder is 6. Therefore, the modulo 12 of 66 is 6. This number is important as it tells us how many years we are ‘over’ after fitting in as many complete cycles of 12 years as possible. Add 6 to your mental tally.

Anchor
–3–
Twelves
–5–
Mod12
–6–
Fours
Sum
Answer
Test your modulo skills
Play Modulo 12

Step 4 – Count of fours

The final number to keep in mind is the count of fours within our modulo 12 result. Since we have determined that our modulo 12 number is 6, we now need to calculate how many full sets of four can be found in this number. This step is essential because every leap year cycle, which occurs every four years, influences the weekday pattern. For the number 6, there is only one full set of four, as 4 can be subtracted from 6 once, leaving a remainder of 2. So, we will remember the number 1 for this step. This count of fours represents the leap year adjustments needed for our calculation.

Anchor
–3–
Twelves
–5–
Mod12
–6–
Fours
–1–
Sum
Answer
Test your skills
Play Divisor of 4

Step 5 – Sum and modulo 7

Now, it’s time to combine the numbers we’ve collected and use the modulo 7 operation to determine the Doomsday of the year 1966. This step is crucial because it ties together all the individual calculations we’ve done so far.

Start by summing the numbers from our previous steps: the anchor day (3), the highest multiple of 12 (5), the modulo 12 result (6), and the count of fours (1). In our case, this adds up to 3 + 5 + 6 + 1 = 15. Now, to find the Doomsday of the year, we apply the modulo 7 operation to this sum. This is done because there are 7 days in a week, and this operation helps us to cycle back to the correct weekday.

Anchor
–3–
Twelves
–5–
Mod12
–6–
Fours
–1–
Sum
–15–
Answer

Performing the modulo 7 operation on 15, we get 1; therefore, the Doomsday for 1966 is Monday.

Anchor
–3–
Twelves
–5–
Mod12
–6–
Fours
–1–
Sum
–15–
Answer
–1–
PreviousLeap yearsNextFinding the weekday
← Back to the overview