Day of the Week Calculator

Ever wondered what day of the week you were born on? Or maybe you need to know whether a specific historical date fell on a Monday or a Saturday? A day of the week calculator takes any date you throw at it and tells you exactly which weekday it lands on, no mental gymnastics required. Whether you're satisfying curiosity, planning an event, or doing historical research, knowing how to find the day of the week for any date is a genuinely useful skill. This guide walks you through the math, the patterns, and the practical tools that make it all work.

Enter Details

Result

Pick a date to find its weekday.

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Find the Day of the Week for Any Date

Finding the weekday for a specific date isn't as complicated as it sounds. At the simplest level, you need three pieces of information: the day, the month, and the year. From those, you can work your way to the correct weekday using a formula or a lookup table.

The most reliable approach for dates in the modern era uses the Gregorian calendar, which most of the world adopted between 1582 and the early 1900s depending on the country. If you're looking up dates before your country switched over, you'd need to use the older Julian calendar rules instead.

For everyday use, though, the Gregorian system covers virtually everything you'd want to calculate. Online calculators handle this automatically. If you want to do it by hand, there are a few established formulas that work consistently, and the most popular one is Zeller's Congruence.

Day of the Week Formula Explained (Gregorian Calendar Method)

Zeller's Congruence is a well-known algorithm developed by Christian Zeller in the 19th century. It takes a date as input and outputs a number from 0 to 6, each corresponding to a day of the week. Here's how the formula works for the Gregorian calendar:

The formula is: h = (q + ⌊13(m+1)/5⌋ + K + ⌊K/4⌋ + ⌊J/4⌋ − 2J) mod 7

  • h is the day of the week (0 = Saturday, 1 = Sunday, 2 = Monday, and so on up to 6 = Friday)
  • q is the day of the month
  • m is the month (January and February are treated as months 13 and 14 of the previous year)
  • K is the year within the century (last two digits of the year)
  • J is the zero-based century (so for years 1900–1999, J = 19)

The key thing to remember is that January and February belong to the previous year in this system. So if you're calculating for February 14, 2024, you'd use month 14 and year 2023. Everything else follows from plugging numbers in and doing the modular arithmetic. It looks intimidating at first but works out cleanly once you run through it a couple of times.

Another popular method is the Tomohiko Sakamoto algorithm, which is slightly more compact and commonly used in computer programming. Both approaches give you the same result for Gregorian calendar dates.

How the Calendar Cycle Repeats Every 400 Years

One of the more satisfying facts about our calendar is that it repeats on a 400-year cycle. The Gregorian calendar is designed so that every 400 years contains exactly 97 leap years, giving a total of 146,097 days. That number is evenly divisible by 7, which means the pattern of weekdays resets perfectly every 400 years.

In practical terms, this means that the calendar for 2024 is identical to the calendar for 1624 and will be identical again in 2424. Every date falls on the same weekday in each of those years. This also means you can reuse an old calendar as long as you find one from a year in the same position within the 400-year cycle.

This cyclical structure is also why weekday calculators can work backwards and forwards across centuries without running into fundamental limitations. The math is entirely predictable, and the 400-year anchor point makes it easy to compress calculations into manageable ranges.

Find Weekday for Birthdays and Historical Dates

One of the most common reasons people reach for a day of the week calculator is to find out what day they were born on. It's a surprisingly fun fact that most people don't know off the top of their head, and it's easy to look up once you have a reliable tool.

Historical dates are equally interesting. What day did the Declaration of Independence get signed? (Thursday, July 4, 1776.) What about the moon landing? (Sunday, July 20, 1969.) These details show up in trivia, historical writing, and research all the time.

A few things worth knowing when calculating historical weekdays:

  • Dates before October 15, 1582 fall under the Julian calendar, which has slightly different leap year rules and will give you a different result if you use the Gregorian formula.
  • Different countries adopted the Gregorian calendar at different times. Britain and its colonies didn't switch until 1752, for example.
  • For genealogical research, double-checking the calendar system in use at the time and place you're researching is always a good idea.

For anything in the 20th or 21st century, any standard calculator will handle it accurately without any extra steps on your part.

Leap Years and Their Effect on Weekdays

Leap years throw a small but important wrench into weekday calculations. Because February gets an extra day every four years (with a few exceptions), the weekdays for all dates from March onward shift by one extra day in a leap year compared to a non-leap year.

The rules for leap years in the Gregorian calendar are:

  • A year is a leap year if it's divisible by 4.
  • Exception: years divisible by 100 are not leap years.
  • Exception to the exception: years divisible by 400 are leap years.

So 2000 was a leap year, 1900 was not, and 2024 is. This is why the 400-year cycle works out so cleanly.

When you're calculating the weekday for any date in January or February, you need to know whether the year in question is a leap year, because that affects the day count. Most formulas handle this automatically by treating January and February as part of the previous year. But if you're doing the math by hand and keeping a running tally of days, getting the leap year status wrong will throw your answer off by one day for any date in that year from March forward.

Step-by-Step Day Calculation Method

If you want to work through a date by hand without memorizing a full formula, the Doomsday algorithm developed by mathematician John Conway is one of the most practical approaches. It's based on a set of anchor dates (called Doomsdays) that always fall on the same weekday within any given year.

  1. Find the century anchor day. For the 2000s, the anchor is Tuesday. For the 1900s, it's Wednesday. For the 1800s, it's Friday.
  2. Calculate the year's Doomsday. Take the last two digits of the year, divide by 12 (note the quotient), take the remainder, divide that by 4, and add everything together with the century anchor. Take the result mod 7.
  3. Use a Doomsday reference date. Reliable Doomsday dates include 4/4, 6/6, 8/8, 10/10, 12/12, and the last day of February. All of these fall on the same weekday within a given year.
  4. Count forward or backward from the nearest Doomsday to your target date.

It sounds like a lot of steps, but with a little practice most people can do this in their head in under 30 seconds. Conway himself could reportedly name the weekday for any date almost instantly after years of daily practice.

For most everyday purposes, though, just using a calculator is perfectly fine. The manual method is more of a useful party trick or a backup when you don't have access to a device.

Uses of Day of the Week Calculator

These calculators get more use than you might expect. Here are some of the most common reasons people look one up:

  • Birthday and anniversary research. Finding out what day of the week you were born, or what day a parent or grandparent was born, is one of the most popular uses.
  • Event planning. Figuring out what day a future date falls on is essential for scheduling weddings, conferences, or any event that needs to land on a specific weekday.
  • Legal and financial deadlines. Many contracts, court filings, and tax deadlines are tied to specific weekdays. Verifying the day for a date months or years out avoids surprises.
  • Historical research and writing. Journalists, authors, and historians often need to confirm or include the weekday for specific events.
  • Genealogy. Birth records, marriage certificates, and death records sometimes only list a date, and knowing the day of the week can help corroborate or contextualize records.
  • Trivia and games. Competitive trivia players and puzzle enthusiasts use weekday calculation as a mental math skill worth developing.

It's one of those tools that seems niche until you actually need it, and then you find yourself reaching for it more often than you'd expect.

Examples of Day of Week Calculations

A few concrete examples help make the process click. Here are some well-known dates with their verified weekdays:

DateEventDay of the Week
July 4, 1776US Declaration of Independence signedThursday
December 7, 1941Attack on Pearl HarborSunday
July 20, 1969Apollo 11 moon landingSunday
January 1, 2000Y2K / millennium rolloverSaturday
February 29, 2000Leap day, year 2000Tuesday
January 1, 2025New Year's Day 2025Wednesday

Try running one of these through Zeller's formula or the Doomsday algorithm and you'll get the same answer. Once you've confirmed a few results against known dates, you'll have a lot more confidence in whichever method you're using.

If you're just starting out, picking a date you already know (like your birthday, if you happen to know the weekday) is a great way to sanity-check your calculation before moving on to dates you're actually trying to figure out.

Other Other Calculators

Explore all