Date math

Doomsday Rule: Find the Day of the Week for Any Date

The Doomsday rule is a way to find the day of the week for any date in your head. It was devised by the mathematician John Conway. The idea is that in any year, a set of easy-to-remember dates (4/4, 6/6, 8/8, 10/10, 12/12, the last day of February and a few others) all fall on the same weekday, called that year’s doomsday. Find the doomsday, count from the nearest one, and you have your answer. 2026’s doomsday is Saturday and 2027’s is Sunday. This guide teaches the method step by step, adds Zeller’s formula as a written alternative, and works through real examples. We checked every example and both methods against all 73,414 days from 1900 to 2100.

At a glance

  • Doomsday dates: Jan 3 (Jan 4 in leap years), last day of Feb, Mar 14, Apr 4, May 9, Jun 6, Jul 11, Aug 8, Sep 5, Oct 10, Nov 7, Dec 12.
  • Century anchors: 1900 = Wednesday, 2000 = Tuesday, 2100 = Sunday.
  • Doomsdays: 2025 Friday, 2026 Saturday, 2027 Sunday, 2028 Tuesday.
  • Christmas 2027: December 12 is a Sunday, and 13 days later is a Saturday.
  • Both methods matched Python’s calendar on every day from 1900 to 2100.

Step 1: learn the doomsday dates

Month Doomsday date How to remember it
January 3rd (4th in a leap year) “3 years out of 4 it’s the 3rd, the 4th year the 4th”
February Last day (28th or 29th) The end of February
March 14th (the 7th works too) Pi Day, 3/14
April, June, August, October, December 4/4, 6/6, 8/8, 10/10, 12/12 Even months: day = month
May and September 5/9 and 9/5 “Working 9 to 5”
July and November 7/11 and 11/7 “At the 7-Eleven”

All of these share a weekday because each pair is a whole number of weeks apart. For example, April 4 to June 6 is 63 days, which is exactly 9 weeks. Our script confirmed that, in every year from 1900 to 2100, all twelve dates fall on the same weekday.

Step 2: find the year’s doomsday

Start with the century anchor, the doomsday of the century year: 1800 = Friday, 1900 = Wednesday, 2000 = Tuesday, 2100 = Sunday (the pattern Friday, Wednesday, Tuesday, Sunday repeats every 400 years). Then take the last two digits of the year, y, and add:

  1. a = how many times 12 goes into y
  2. b = the remainder
  3. c = how many times 4 goes into that remainder

The doomsday is the anchor plus a + b + c days, counting round the week (take the total modulo 7). This is the formula given on Wolfram MathWorld’s doomsday page, which cites Conway’s 1973 article “Tomorrow Is the Day After Doomsday”.

Year Anchor a b c Sum Doomsday
2027 Tuesday (2) 2 3 0 2 + 2 + 3 + 0 = 7, 7 mod 7 = 0 Sunday
1990 Wednesday (3) 7 6 1 3 + 7 + 6 + 1 = 17, 17 mod 7 = 3 Wednesday
1969 Wednesday (3) 5 9 2 3 + 5 + 9 + 2 = 19, 19 mod 7 = 5 Friday

(Days are numbered Sunday = 0, Monday = 1, through Saturday = 6.)

Shortcut: the “odd + 11” method

Some people find this easier. Take the two-digit year. If it is odd, add 11. Halve it. If the result is odd, add 11 again. Take the remainder after dividing by 7, then count that many days back from 7. Add the result to the century anchor. For 2027: 27 is odd, so 27 + 11 = 38. Half is 19, which is odd, so 19 + 11 = 30. 30 mod 7 = 2, and 7 − 2 = 5. Tuesday + 5 = Sunday. We checked that this shortcut matches the main formula for every year from 1600 to 2399.

Doomsdays for the next few years

Year 2025 2026 2027 2028 2029 2030
Doomsday Friday Saturday Sunday Tuesday Wednesday Thursday

The doomsday moves forward one weekday each year, and two after a leap day. That is the same reason Christmas shifts, as our post on what day of the week Christmas falls on explains.

Step 3: count from the nearest doomsday

Date Year’s doomsday Nearest doomsday date Count Answer
Fri, Jan 1, 2027 Sunday Jan 3 −2 Friday
Feb 14, 2027 Sunday Feb 28 −14 (two weeks) Sunday
Jul 4, 2027 Sunday Jul 11 −7 Sunday
Dec 25, 2027 Sunday Dec 12 +13 (two weeks − 1) Saturday
Nov 8, 2026 Saturday Nov 7 +1 Sunday
Feb 29, 2028 Tuesday Feb 29 (last day of Feb) 0 Tuesday
Jan 1, 2000 Tuesday Jan 4 (leap year) −3 Saturday
May 15, 1990 Wednesday May 9 +6 Tuesday
Jul 20, 1969 (Moon landing) Friday Jul 11 +9 (one week + 2) Sunday

Tip: drop whole weeks first. +13 is the same as −1, and +9 is the same as +2. With practice, you can find any date this century in a few seconds. To answer “what day of the week was I born?” with no maths at all, enter your birth date in our date calculator. Our today’s date page shows today’s weekday and day of the year.

Zeller’s formula: the written method

If you would rather use pen and paper, Christian Zeller published a formula in 1887 (“Kalender-Formeln”, Acta Mathematica 9). In its common modern form for the Gregorian calendar:

h = (q + ⌊13(m + 1) ÷ 5⌋ + K + ⌊K ÷ 4⌋ + ⌊J ÷ 4⌋ + 5J) mod 7

  • q is the day of the month and m the month, with January and February counted as months 13 and 14 of the previous year.
  • K is the year within the century (the last two digits) and J is the century (the first two digits), both after that adjustment.
  • h = 0 is Saturday, 1 Sunday, 2 Monday, and so on to 6 for Friday.
Date q, m, K, J Terms Total mod 7 Answer
May 15, 1990 15, 5, 90, 19 15 + 15 + 90 + 22 + 4 + 95 = 241 3 Tuesday
Jan 1, 2027 1, 13, 26, 20 (treated as month 13 of 2026) 1 + 36 + 26 + 6 + 5 + 100 = 174 6 Friday

Both methods agree with each other and with Python’s built-in calendar on all 73,414 days from January 1, 1900 to December 31, 2100. That is 0 mismatches.

Common mistakes

  • Forgetting leap years in January and February. In a leap year the January doomsday is the 4th and the February one the 29th. A year is a leap year if it divides by 4, except century years not divisible by 400 (so 2000 was, 1900 and 2100 are not). See leap years explained.
  • Using the calendar year in Zeller for January and February. January 1, 2027 must be entered as month 13 of 2026.
  • Counting the wrong direction. Dates before the doomsday date count backwards.
  • Old dates. Both methods use the Gregorian calendar. Britain and its colonies only adopted it in 1752, under the Calendar (New Style) Act 1750, and other countries switched at other times. Older records may be in the Julian calendar and give a different weekday.

Practice dates

Try these, then check the answers below.

  1. October 26, 1985
  2. August 13, 2027 (the only Friday the 13th of 2027; see our Friday the 13th dates)
  3. March 14, 2027

Answers: (1) 1985’s doomsday is Thursday, and October 26 is 16 days after October 10, so Saturday. (2) 2027’s doomsday is Sunday, and August 13 is 5 days after August 8, so Friday. (3) March 14 is itself a doomsday, so Sunday.

Frequently asked questions

What is the doomsday for 2027?

Sunday. April 4, June 6, August 8, October 10 and December 12, 2027 are all Sundays.

What is the doomsday for 2026?

Saturday. For example, November 7, 2026 and December 12, 2026 are Saturdays.

Who invented the Doomsday rule?

John Horton Conway. Wolfram MathWorld cites his 1973 article in Eureka, “Tomorrow Is the Day After Doomsday”.

Is the Doomsday rule the same as Zeller’s congruence?

No. Both give the same answers, but the Doomsday rule is built for mental arithmetic with small numbers, while Zeller’s formula is a single expression that is easier on paper or in code.

How do I find the day of the week I was born?

Find the doomsday of your birth year with step 2, then count from the nearest doomsday date in your birth month. Or enter the date in our date calculator.

Sources and method

Last checked: November 8, 2026.

Similar Posts