Day of the Week Calculator
If you've ever wondered what day of the week you were born, or when your birthday will fall this year, our day of the week calculator will come in handy!
In this article, you will discover how to calculate the day of the week without checking the calendar. If you are willing, you can learn how to do so in as little as a few seconds!
Instead, if you wonder how is Easter calculated, we have a tool designed precisely for that purpose. Don't miss it!
Days of the week
While the day and the year are quantities somehow rooted in the Natural world, corresponding to a rotation and a revolution of Earth, the subdivision of time into months and weeks is purely arbitrary. This led to many different calendars: from the one we know so well, the Gregorian or Julian calendar to the Chinese one or ancient calendars like the Mayan one.
What's more, you can even ask how old is my dog in human years. Is it a dog's calendar then :)
The Gregorian calendar: the easiest way to say what day it is.
It is possible to find the day of the week of each date, thanks to the regularity of the modern Gregorian calendar.
The Gregorian calendar, adopted in 1582 and bearing the name of Pope Gregory XIII, introduced a correction to the previously used Julian calendar, taking into account the correct duration of a day, leaving us with the current pattern of the duration of a year:
- If the year is not divisible by is a "normal year" and lasts days;
- A leap year (with year number divisible by ) has days;
- A year divisible by , but not by $400$$ is a regular year.
This way, the calendar accumulates only a small error due to the precession of equinoxes, equal to roughly one day every years.
How to calculate the day of the week — without looking at the calendar
To know what day of the week is it for any date, you can either gather a lot of calendars or try to use some math to calculate what day it is in a few short passages.
🙋 This problem was covered many times in the past, maybe most noticeably by Lewis Carroll: the author of Alice in Wonderland. You can find his version of the calculations in this pretty old.
To calculate the day of the week, take a generic date:
Follow these steps to calculate the day of the week:
- Take the last two digits of the year (), and divide by keeping only the quotient:
- Add the day of the month:
- Add the month's key value according to the table below;
🙋 Here is the table for the month's key value :
- If you are dealing with a leap year, subtract if the month is either January or February.
- Starting from the 1700's, add a factor given in the table below. For the other centuries, follow the pattern of subtracting/adding multiples of to the year and checking which one of the four centuries below the date falls.
- Add the last two digits of the year, .
- Finally, take the remainder of the division of the result by .
The resulting number corresponds to the day of the week, assuming that is Sunday, is Monday, and so on.
What day of the week was I born? Calculate the day of the week of your birthday.
Were you born on the 17th of July 1996? No? It's not important 😁 let's calculate!
Follow the steps laid down before:
- The month's key value for July is :
- We don't subtract anything (though the year is a leap year).
- We add since the year belong to the .
Which corresponds to Wednesday. Use our birthday paradox calculator to find out the probability of sharing the birthday with someone else at a party!