Transum Software

Doomsday Algorithm

Use the simplified Doomsday Algorithm to find the day name of any date this century.

  Menu   Level 1 Level 2 Level 3 Level 4   Help   Birthdays   Time  

This is level 4: John Conway's Method for dates this century. You will be awarded a trophy if you get at least 12 answers correct and you do this activity online.

Step 1:

Step 1

Find what day number New Year's Day (NYD) was of the year in question using this formula:

$$ NYD = (YY - 1 + YY\div4 \text{(rounded up)}) \text{ MOD } 7 $$

where \(YY\) are the last two digits of the year and "MOD 7" means the remainder when divided by seven.

For example let's take the year 2019. The New Year's Day Number is:

\( NYD = (19 - 1 + 19\div4 \text{(rounded up)}) \text{ MOD } 7 \\ NYD = (19 - 1 + 5 ) \text{ MOD } 7 \\ NYD = (23) \text{ MOD } 7 = 2 \)

Step 2:

Step 2

Add 2 to this number (or 3 if it's a leap year) then look up the day name in this table.

Sunday 0
Monday 1
Tuesday 2
Wednesday 3
Thursday 4
Friday 5
Saturday 6

For example for the year 2019, we have that new years day is 2 so adding two to that (as 2019 is not a leap year because 19 is not exactly divisible by four) gives 4.

As can be seen from the table a 4 is Thursday.

Step 3:

The day name you now have is called the Doomsday for the year in question.

There is a Doomsday on the same day of the week for each month as shown in the following table (with hints I use to remember them):

Step 3
January 3rd (4th leap year)  
February 28th (29th leap year) Last day
March 14 / 3 Pi Day
April 4 / 4  
May 9 / 5 Nine to five
June 6 / 6  
July 11 / 7 Not Seven Eleven
August 8 / 8  
September 5 / 9 Not Nine to five
October 10 / 10  
November 7 / 11 Seven Eleven
December 12 / 12  

So for 2019, the 'Doomsday' is a Thursday.

That means that all of the dates in the table above are also Thursdays.

Step 4:

Step 4

Find the month in question in the table above and remember it's Doomsday

For example suppose we are trying to find the day of the week that 14th July 2019 fell on. This step requires you to realise from the table above that the 11th July was a Thursday.

Step 5:

Step 5

Finally you should (if you know your 7 times table) be able to work out the day in question according to how far it is away from that month's Doomsday (that may require a little practice - which is provided below).

Now we know that that the 11th July was a Thursday we need to count on three days to get to the date we are interested in. Three days after Thursday is Sunday. Therefore the 14th July 2019 fell on a Sunday.


What day of the week is
28th November 2018?


What day of the week is
20th August 2054?


What day of the week is
26th July 2049?


What day of the week is
7th October 2046?


What day of the week is
11th April 2084?


What day of the week is
25th March 2035?


What day of the week is
2nd March 2016?


What day of the week is
10th November 2036?


What day of the week is
10th March 2089?


What day of the week is
23rd October 2056?


What day of the week is
8th October 2014?


What day of the week is
7th August 2024?


What day of the week is
25th October 2091?


What day of the week is
19th May 2080?


What day of the week is
9th December 2011?


This is Doomsday Algorithm level 4. You can also try:
Level 1 Level 2 Level 3


Try your best to answer the questions above. Type your answers into the boxes provided leaving no spaces. As you work through the exercise regularly click the "check" button. If you have any wrong answers, do your best to do corrections but if there is anything you don't understand, please ask your teacher for help.

When you have got all of the questions correct you may want to print out this page and paste it into your exercise book. If you keep your work in an ePortfolio you could take a screen shot of your answers and paste that into your Maths file.

Why am I learning this?

Mathematicians are not the people who find Maths easy; they are the people who enjoy how mystifying, puzzling and hard it is. Are you a mathematician?

Comment recorded on the 11 January 'Starter of the Day' page by S Johnson, The King John School:

"We recently had an afternoon on accelerated learning.This linked really well and prompted a discussion about learning styles and short term memory."

Comment recorded on the s /Indice 'Starter of the Day' page by Busolla, Australia:

"Thank you very much for providing these resources for free for teachers and students. It has been engaging for the students - all trying to reach their highest level and competing with their peers while also learning. Thank you very much!"

Each month a newsletter is published containing details of the new additions to the Transum website and a new puzzle of the month.

The newsletter is then duplicated as a podcast which is available on the major delivery networks. You can listen to the podcast while you are commuting, exercising or relaxing.

Transum breaking news is available on Twitter @Transum and if that's not enough there is also a Transum Facebook page.

Featured Activity



This activity comprises of five challenges each one requiring you to type in one more fraction than the previous challenge and each starting with a different fraction. The starting fractions are one tenth, one quarter, one third, one half and four sevenths.


There are answers to this exercise but they are available in this space to teachers, tutors and parents who have logged in to their Transum subscription on this computer.

A Transum subscription unlocks the answers to the online exercises, quizzes and puzzles. It also provides the teacher with access to quality external links on each of the Transum Topic pages and the facility to add to the collection themselves.

Subscribers can manage class lists, lesson plans and assessment data in the Class Admin application and have access to reports of the Transum Trophies earned by class members.

If you would like to enjoy ad-free access to the thousands of Transum resources, receive our monthly newsletter, unlock the printable worksheets and see our Maths Lesson Finishers then sign up for a subscription now:


Go Maths

Learning and understanding Mathematics, at every level, requires learner engagement. Mathematics is not a spectator sport. Sometimes traditional teaching fails to actively involve students. One way to address the problem is through the use of interactive activities and this web site provides many of those. The Go Maths page is an alphabetical list of free activities designed for students in Secondary/High school.

Maths Map

Are you looking for something specific? An exercise to supplement the topic you are studying at school at the moment perhaps. Navigate using our Maths Map to find exercises, puzzles and Maths lesson starters grouped by topic.


If you found this activity useful don't forget to record it in your scheme of work or learning management system. The short URL, ready to be copied and pasted, is as follows:

Alternatively, if you use Google Classroom, all you have to do is click on the green icon below in order to add this activity to one of your classes.

It may be worth remembering that if should go offline for whatever reason, there is a mirror site at that contains most of the resources that are available here on

When planning to use technology in your lesson always have a plan B!

Do you have any comments? It is always useful to receive feedback and helps make this free resource even more useful for those learning Mathematics anywhere in the world. Click here to enter your comments.


©1997-2024 WWW.TRANSUM.ORG

© Transum Mathematics 1997-2024
Scan the QR code below to visit the online version of this activity.

This is a QR Code

Description of Levels


Level 1 - Finding days less than a week away

Level 2 - Finding days in same month

Level 3 - Finding days in different months

Level 4 - John Conway's Method for dates this century

Birthdays - Happy Birthday Maths activities.

More Time Activities including lesson Starters, visual aids, investigations and self-marking exercises.

Answers to this exercise are available lower down this page when you are logged in to your Transum account. If you don’t yet have a Transum subscription one can be very quickly set up if you are a teacher, tutor or parent.

Log in Sign up

Curriculum Reference

See the National Curriculum page for links to related online activities and resources.

The excellent video above describes John Conway's Doomsday Algorithm in great detail - far more detail than my simplified version. There is also an excellent video from Mind Your Decisions from which I have used the NYD formula.

Here is an example calculation based on the steps I have provided:


Don't wait until you have finished the exercise before you click on the 'Check' button. Click it often as you work through the questions to see if you are answering them correctly. You can double-click the 'Check' button to make it float at the bottom of your screen.

Answers to this exercise are available lower down this page when you are logged in to your Transum account. If you don’t yet have a Transum subscription one can be very quickly set up if you are a teacher, tutor or parent.

Log in Sign up