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 the Doomsday algorithm

A method for finding the day of the week for any date — entirely in your head.

The Doomsday algorithm, devised by mathematician John Conway, rests on one idea: within any year, a handful of easy-to-remember dates all fall on the same weekday— the year’s “doomsday.” Once you know that day, every other date is a short count away.

The course below builds that skill one piece at a time. Work through it in order, and play the linked practice game at the end of each part to make it stick. Prefer to read it as one continuous article? Start with What is the Doomsday algorithm?

  1. Step 1

    Doomsdays

    The memorable dates that fall on the same weekday every year — the idea the whole method is built on.

  2. Step 2

    Weekday numbers

    Turn weekdays into numbers (0–6) so you can add and subtract them with modulo 7.

  3. Step 3

    Anchor days

    The single weekday per century that anchors every year in it.

  4. Step 4

    Leap years

    Spot leap years quickly — they shift the doomsday dates in January and February.

  5. Step 5

    Calculating a year's doomsday

    Combine the anchor day and the year to find any year's doomsday.

  6. Step 6

    Finding the weekday

    Use the doomsday to count to the weekday for any date in the year.

Try it with your own birthday

A quick taste of what you’ll be able to do.

Select a date(like your birthday)
You can type it or use the calendar selector
Ready to practise?

Drill each step as a quick game, then put it together in play mode.

PracticePlay