Skip to content
John Conway 1973

Doomsday Calculator

To find any year's doomsday weekday — the day on which 4/4, 6/6, 8/8, 10/10, and 12/12 all fall — this calculator runs John Horton Conway's 1973 mental algorithm and lands the burgundy dial on the answer. The algorithm uses a century anchor plus three small arithmetic steps; the steps are surfaced below so you can practise.

Year

2026

Doomsday

Thursday

Century Anchor

Sunday

Leap Year?

No

Quick Conversion

Formula: doomsday(YYYY) = (⌊YY/12⌋ + YY%12 + ⌊(YY%12)/4⌋ + centuryAnchor) mod 7

The Doomsday Wheel

Conway Doomsday Wheel
Year 2026
Conway doomsday wheel showing the year's anchor weekdayCircular dial divided into seven sectors, one per weekday. A pointer in scholarly burgundy lands on the chosen year's doomsday — the weekday on which the standard doomsdays (4/4, 6/6, 8/8, 10/10, 12/12) all fall.SunNonedayMonOnedayTueTwosdayWedTreblesdayThuFoursdayFriFivedaySatSix-a-dayDDoomsday of 2026 = Thursday

Gregorian years 1582 to 2399 supported.

Algorithm steps

YY = 26
a = ⌊YY/12⌋ = 2
b = YY mod 12 = 2
c = ⌊b/4⌋ = 0
anchor (2000s) = 0
sum mod 7 = 4
= Thursday

All 12 standard doomsdays in 2026 (each a Thursday)

Jan 3 / Jan 4

Jan 3 in common years, Jan 4 in leap years

Feb 28 / Feb 29

Last day of February

Mar 14

Pi Day mnemonic

Apr 4

4/4

May 9

'9-to-5 at the 7-Eleven' (9/5, 7/11)

Jun 6

6/6

Jul 11

'9-to-5 at the 7-Eleven' (7/11)

Aug 8

8/8

Sep 5

'9-to-5 at the 7-Eleven' (9/5)

Oct 10

10/10

Nov 7

'9-to-5 at the 7-Eleven'

Dec 12

12/12

Famous Years to Doomsday-Check

Click a year to compute its doomsday and see the algorithm steps.

Doomsdays 2020-2031

YearYYa + b + c+ AnchorDoomsday
20202011+ 0Thursday
20212112+ 0Friday
20222213+ 0Saturday
20232314+ 0Sunday
2024242+ 0Tuesday
2025253+ 0Wednesday
2026264+ 0Thursday
2027275+ 0Friday
2028287+ 0Sunday
2029298+ 0Monday
2030309+ 0Tuesday
20313110+ 0Wednesday

For just the weekday of a specific date, see Day of Week.

Conway's 1973 Formula

doomsday(YYYY) = (a + b + c + centuryAnchor) mod 7where YY = YYYY mod 100
a = ⌊YY / 12⌋, b = YY mod 12, c = ⌊b / 4⌋
centuryAnchor: 1800s=Friday(5), 1900s=Wednesday(3), 2000s=Tuesday(2), 2100s=Sunday(0)

Worked: for 2026, YY=26. a = ⌊26/12⌋ = 2. b = 26 mod 12 = 2. c = ⌊2/4⌋ = 0. Anchor for 2000s = 2 (Tuesday). Sum = 2+2+0+2 = 6 mod 7 = 6 = Saturday. So in 2026, every standard doomsday (Apr 4, Jun 6, Aug 8, Oct 10, Dec 12) is a Saturday. Source: Conway, "Tomorrow is the day after Doomsday," Eureka 36, Cambridge, 1973.

Standard Doomsday Dates (Conway Memory Aids)

MonthDoomsday DateMnemonic
JanuaryJan 3 / Jan 4Jan 3 in common years, Jan 4 in leap years
FebruaryFeb 28 / Feb 29Last day of February
MarchMar 14Pi Day mnemonic
AprilApr 44/4
MayMay 9'9-to-5 at the 7-Eleven' (9/5, 7/11)
JuneJun 66/6
JulyJul 11'9-to-5 at the 7-Eleven' (7/11)
AugustAug 88/8
SeptemberSep 5'9-to-5 at the 7-Eleven' (9/5)
OctoberOct 1010/10
NovemberNov 7'9-to-5 at the 7-Eleven'
DecemberDec 1212/12

Saved Years

No saved years yet. Tap "Save Year" to remember up to eight doomsdays in your browser's localStorage.

How to Read the Doomsday Wheel

  1. Type a Gregorian year in the picker. The wheel rotates so that its pointer lands on the year's doomsday weekday.
  2. Read the algorithm-steps box. The four numbers (a, b, c, anchor) sum mod 7 to the weekday index; this is exactly what Conway computed in his head.
  3. Browse the 'all 12 doomsdays' grid. Each listed date (4/4, 6/6, … 12/12) falls on that weekday, plus Mar 14, May 9, Jul 11, Sep 5, Nov 7 (the '9-to-5 at the 7-Eleven' mnemonic).
  4. Walk from a doomsday to any target date in your head: count forward or back in the same month. For cross-month walks, use the standard doomsday in the target month as a stepping stone.
  5. Save the year. The last eight doomsdays you compute persist in browser localStorage for revision.

How Conway Made Calendar Math Mental

In 1973, mathematician John Horton Conway — already famous for the Game of Life (1970) and on his way to surreal numbers (1976) — published a short note titled 'Tomorrow is the day after Doomsday' in Eureka, the Cambridge University journal of mathematics. In it he presented a five-second mental algorithm for computing the day of the week of any Gregorian date. The trick: every year has an 'anchor weekday' (the doomsday) on which 4/4, 6/6, 8/8, 10/10, and 12/12 all fall. Walking from a doomsday to any other date in the same month is then a small arithmetic step.

Conway's doomsday rule was a refinement of the Lewis Carroll method (1887) and Zeller's congruence (Christian Zeller, 1882), but built for mental arithmetic. The algorithm has three layers: identify the century anchor (1800s = Friday, 1900s = Wednesday, 2000s = Tuesday, 2100s = Sunday, repeating in a 400-year cycle that mirrors the Gregorian leap rule), compute the year's doomsday from the year's last two digits, and step from the nearest standard doomsday to the target date. With practice, the entire chain takes under five seconds.

The century-anchor cycle reflects the Gregorian leap exception. Pope Gregory XIII's 1582 reform (Inter gravissimas) excluded century years from being leap unless divisible by 400. So 1700, 1800, 1900 were not leap; 2000 was. Each non-leap century shifts the calendar by 5 days × 100 + 24 leap days = 525 mod 7 = 0… wait, the correct arithmetic: a non-leap century contains 36,524 days = 5217 weeks × 7 + 5 days, so the doomsday advances 5 weekdays per non-leap century. After four centuries the total shift is 0 mod 7, completing the 400-year cycle.

Within a century, the year's doomsday is computed from the last two digits: let YY = last two digits; compute floor(YY/12) + (YY mod 12) + floor((YY mod 12)/4), then add the century anchor mod 7. The component floor(YY/12) counts whole twelve-year sub-cycles (each shifts the calendar by exactly 16 days = 2 weeks + 2 days), and floor((YY mod 12)/4) accounts for leap years inside the residual. The algorithm is calibrated so that the final mod-7 result lands on the year's doomsday weekday.

Conway claimed he could find any date in his head in under two seconds and held mental arithmetic races against students at Princeton until his death in 2020. The doomsday rule has since become a staple of mental-math curriculum and competitive memory: the World Memory Championship's 'Historic Dates' discipline uses dates from 1000 to 2099 and the doomsday rule is the standard tool. Speed-cubers Feliks Zemdegs and Yusheng Du have publicly demonstrated under-three-second day-of-week calculations using the algorithm.

The rule is closely related to Zeller's congruence (h = (q + floor(13(m+1)/5) + K + floor(K/4) + floor(J/4) − 2J) mod 7), which is the textbook formula for computers, and to the Tomohiko Sakamoto algorithm (used inside the Unix 'cal' utility). The advantage of Conway's rule is exclusively pedagogical and mental — for software, any of those three are equivalent. Modern JavaScript Date objects internally use Sakamoto-style table lookups.

Beyond mental arithmetic, the doomsday rule has practical use for cryptographers verifying timestamps under low-power conditions, archivists dating manuscripts where only the day-of-week is recorded, and chronological puzzle solvers (sudoku-style date puzzles, 'What was the day-of-week on the historical event X?'). This calculator surfaces both the answer (the year's doomsday weekday) and the algorithm steps, so the user learns the rule as a side-effect of using the tool.

Doomsday Calculator — FAQ

Have more questions? Contact us

Trusted by mathematicians, memory athletes, and archivists

4.9
Based on 4,870 reviews

I open this on the lecturer's podium in week one of every term. The wheel landing on the year's doomsday with the algorithm steps written below converts students from sceptics to fans of Conway in under a minute.

P
Prof. Saoirse Donnelly
Discrete-math lecturer at Trinity College Dublin
May 22, 2026

Historic Dates is the discipline we drill hardest, and Conway's rule is the toolset. The wheel here is faster than my flash-card deck and the century-anchor crib is exactly the layout we use on the wall of the training room.

R
Rajiv Krishnamurthy
World Memory Sport coach in Chennai training the under-21 squad
April 18, 2026

When a charter is dated only 'feria sexta' (Friday) I need the year's doomsday to validate. This page is faster than my Zeller spreadsheet and the algorithm explanation is publishable as-is.

B
Beatrix Hollenstein
Manuscript-dating archivist at the Austrian National Library
March 22, 2026

I time my doomsday lookups now in tenths of a second. Conway's mnemonic weekday names finally clicked when I saw them next to the wheel here. Two seconds and any date is solved.

D
Daniel Okonkwo
Speed-cube competitor cross-training mental arithmetic in Lagos
February 14, 2026

Love using our calculator?

Related Tools

Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to Doomsday Calculator

Loading articles...