Day of the Week Calculator

Learn to calculate any weekday from 1900-2099 using mental math

Also check out this cool Weekday Widget tool from Jasper Murphy.

Why Learn This?

Impressive Party Trick

Instantly calculate the weekday someone was born on from their birthdate.

Historical Context

Quickly determine what day of the week historical events occurred.

Planning Tool

Find out which days your birthday or important dates fall on in future years.

Mental Math Practice

Keep your arithmetic skills sharp with practical applications.

How Does This Work?

Before diving into the steps, let's understand the mathematical foundation behind this method.

The Core Concept: Modular Arithmetic

Days of the week repeat in cycles of 7. If today is Monday, then 7 days from now is also Monday. This is called modular arithmetic (mod 7). Every calculation we do boils down to: "How many days away from a reference point are we?"

Why Anchor Dates?

Here's the brilliant part: In any given year, certain dates always fall on the same weekday. For example, in 2024, March 14th, April 4th, May 9th, June 6th, and several other dates all fall on Thursday. These are our "anchor dates."

Once you know what day the anchor dates fall on for a particular year, you can easily calculate any other date by counting forward or backward!

The Formula Broken Down

The calculation combines these elements to find the exact shift:

  • Quotient ÷ 12: Measures the 12-year cycles (each cycle adds just 1 day).
  • Remainder % 12: Handles the leftover years (adds 1 day per year).
  • Remainder ÷ 4: Accounts for the leap years within those leftover years.
  • Century modifier: Adjusts for the 400-year Gregorian cycle.

The Magic Number 12

You might wonder why the formula asks you to divide the year by 12. It is a clever shortcut to keep the numbers small!

Why it works: In a 12-year span, the calendar shifts forward by 15 days (12 regular years + 3 leap years). Because 15 days is exactly 2 full weeks plus 1 day, we can ignore the weeks.

The Result: The "Doomsday" shifts by exactly 1 day for every 12 years. This allows you to simply count the "12's" of years rather than doing complex multiplication.


Example: The Year 1988

Let's compare the methods using 1988. (Note: The 1900s Anchor Day is Wednesday, which = 3).

The Hard Way (Traditional)

Formula: Anchor + Year + (Year ÷ 4)

3 + 88 + (88 ÷ 4)

You calculate 88 ÷ 4 = 22.
Sum: 3 + 88 + 22 = 113
Now try calculating 113 mod 7 in your head...
113 ÷ 7 = 16 R 1

Result: 1 (Monday)
The Easy Way (divide by 12)

Formula: Anchor + 12's + Rem + (Rem ÷ 4)

3 + 7 + 4 + 1

88 ÷ 12 is 7 (12's) with 4 left.
4 ÷ 4 is 1 leap year.
Sum: 3 + 7 + 4 + 1 = 15
Much easier! 15 mod 7 is...
15 ÷ 7 = 2 R 1

Result: 1 (Monday)

Both methods give the same answer, but the divide by 12 method keeps the sum (15) small enough to calculate instantly!

Step 1: Memorize the Anchor Dates

Each month has an "anchor date" - a specific day that makes calculations easy. All anchor dates fall on the same weekday in any given year!

January
1/3
(1/4 in leap years)
February
2/28
(2/29 in leap years)
March
3/14
Pi Day
April
4/4
Easy pattern
May
5/9
9-to-5 work
June
6/6
Easy pattern
July
7/11
7-Eleven store
August
8/8
Easy pattern
September
9/5
Dolly Parton (9-to-5)
October
10/10
Perfect 10!
November
11/7
Lucky 7-11
December
12/12
Easy pattern

The 5-Step Method

Once you know the anchor dates, follow these steps:

Interactive Example: December 2, 1965

💡 Quick Reference

Leap Year Rules

  1. Divisible by 4? → Leap year
  2. Divisible by 100? → Not a leap year
  3. Divisible by 400? → Leap year anyway!

Day Numbers

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

🧮 Day Calculator

Enter any date and see the step-by-step calculation!



⏱️ Challenge Yourself!

See how many dates you can get right in the time limit!