Notification
Go to Home All Tools Compare Glossary Blog Contact

Day of the Week Calculator

Find the day of the week for any date from year 1 to 9999, such as the weekday you were born or the day a future date falls on.

Good to know

  • Works for any date from year 1 to 9999, using the Gregorian calendar extended backwards. For dates before a country switched from the Julian calendar, the weekday recorded there at the time may differ.
  • A date usually moves forward one weekday each year, or two when 29 February falls in between.
  • Week numbers follow ISO 8601: weeks start on Monday and week 1 holds the year's first Thursday.
  • To count the days to a date use the Days Until Calculator; for your exact age use the Age Calculator.

Day of the week

Friday

1 January 2027 will be a Friday.

Day of the year
Day 1 of 365
ISO week number
Week 53 of 2026 (ISO year)
From today
In 44 days
Same date next year
Saturday (1 Jan 2028)
Next 1 January (e.g. your next birthday)
Friday, 1 Jan 2027
Quick Start

How to use the Day of the Week Calculator

The Day of the Week Calculator quickly finds the exact weekday for any calendar date across thousands of years:

  • Pick Any Date: Select any date using the date input, or click quick buttons like "Today" and "Tomorrow".
  • Shift Years Instantly: Tap "-1 Year" or "+1 Year" to see how the day of the week progresses across calendar years.
  • Analyze Key Metrics: The tool reveals the day of the week, the day number of the year, the ISO 8601 week number, distance from today, and the weekday of your next anniversary.
  • Historical & Future Reach: Accurately computes weekdays from year 0001 up to year 9999 conforming to the Gregorian calendar standard.
  • Copy & Share: Use "Copy result" or "Share link" to send verified weekday calculations to colleagues or friends.
Calculation Mechanics

How the day of the week is calculated

Because weekdays repeat in an unbroken 7-day modulo cycle, the day of the week is calculated from an anchor point (such as Monday, 1 January 1900):

Practical Worked Examples

Worked modulo-7 and Zeller's congruence calculations.

1. Historical Date (15 June 1975)

Modulo 7

75 years from 1 Jan 1900 with 18 leap days: \(75 \times 365 + 18 = 27,393\text{ days}\). 15 June is day 166 (add 165). Total: 27,558 days.

27,558 mod 7 = 6 → Sunday

2. Modern Date (31 October 2026)

Modern Math

126 years with 31 leap days: \(126 \times 365 + 31 = 46,021\text{ days}\). Oct 31 is day 304 (add 303). Total: 46,324 days.

46,324 mod 7 = 5 → Saturday

3. Zeller's Congruence Formula

Algorithmic

\(h = (q + \lfloor 13(m+1)/5 \rfloor + K + \lfloor K/4 \rfloor + \lfloor J/4 \rfloor + 5J) \bmod 7\). Evaluates dates directly without reference anchors.

Formula: (q + ⌊13(m+1)/5⌋ + K + ⌊K/4⌋ + ⌊J/4⌋ + 5J) mod 7

4. Conway's Doomsday Rule

Mental Math

Anchor dates sharing the same weekday: 4/4, 6/6, 8/8, 10/10, 12/12, and the last day of February. In 2026, the Doomsday is Saturday.

10/10 is Sat → 10/31 is (10 + 21 = 31) → Saturday
Algorithms

Zeller's congruence and Conway's doomsday algorithm

Determining the day of the week for any historical or future date is achieved using algebraic congruence methods developed by Christian Zeller in 1882. In Zeller's algorithm, January and February are counted as months 13 and 14 of the previous year so that the leap day falls at the very end of the calculation year.

Mathematician John Horton Conway created the mental "Doomsday rule" based on anchor days that always share the exact same weekday: 4/4, 6/6, 8/8, 10/10, 12/12, 5/9, 9/5, 7/11, 11/7, and the last day of February. By knowing the annual Doomsday anchor, anyone can calculate the day of the week mentally in seconds.

History & Calendars

The Gregorian calendar reform and the missing 10 days

The modern world observes the Gregorian calendar, decreed by Pope Gregory XIII in October 1582 to correct the solar drift of the ancient Julian calendar. Because the Julian year (365.25 days) was slightly longer than the true astronomical solar year (365.2422 days), the calendar had drifted by 10 full days by 1582.

To restore alignment with the spring equinox, Thursday, 4 October 1582 was immediately followed by Friday, 15 October 1582. Notice that although 10 calendar dates vanished, the 7-day cycle of weekdays was never broken!

Quick Reference

New Year's Day (1 January) weekday progression reference table

See how the first day of the year advances across the 7-day week (advancing +1 day in normal years, and +2 days after leap years).

Year 1 January Day of Week Days in Year
2025 Wednesday 365 days
2026 Thursday 365 days
2027 Friday 365 days
2028 Saturday 366 days
2029 Monday 365 days
Common Questions

Frequently Asked Questions

Enter the date and the calculator shows its weekday straight away, along with the day number in the year, the week number and how far that date is from today.

Enter your date of birth. The result is the weekday you were born on, and the page also shows which weekday your next birthday falls on.

The calculator counts the days from a reference date with a known weekday and takes the remainder after dividing by 7. The "How it is calculated" section shows the same idea worked by hand.

It works for any date from year 1 to 9999 using the Gregorian calendar extended backwards. Countries switched from the Julian to the Gregorian calendar at different times, so for dates before a country's switch the weekday recorded locally may differ.

Was this tool helpful?

Be the first to rate Day of the Week Calculator

Tap a star to rate instantly

What do you need to work out next?

Search 276+ free tools by name, or pick a category below. Every one runs instantly in your browser — no signup, nothing to install.

More Date & Time tools
AI ADVISOR & COACH

Ask AI Advisor

Ask AI