100+ free calculators, no signup | 💰 Financial ❤️ Health & Fitness 📐 Math 🔧 Other
🇺🇸 USD | About Contact

Day of the Week Calculator

Find the weekday of any date from year 1 to 9999, with the month calendar, ISO week, day of the year and the Zeller and Doomsday steps.

Calendar system (optional)

Thursday, October 4, 1582 (Julian) was followed by Friday, October 15, 1582 (Gregorian). Britain and its colonies switched in 1752.

Quick examples
Day of the week
SaturdayWeekendGregorian calendar

July 4, 2026 is the first Saturday of July.

Gregorian calendar, in use since October 15, 1582. Same day in the Julian calendar: June 21, 2026.

July 2026

July 2026 starts on a Wednesday and has 31 days.

SunMonTueWedThuFriSat12345678910111213141516171819202122232425262728293031
Day of year185counting January 1 as day 1
Days left180until December 31
ISO week2026-W27Week from Monday, June 29
QuarterQ3July to September
Leap yearNo2026 has 365 days
Julian Day Number2,461,226day count used in astronomy

Your calculation

Zeller's congruence, checked with the Doomsday rule and the Julian Day Number.

  1. July is month m = 7 and the year stays Y = 2026. Day q = 4.
  2. K = Y mod 100 = 26; J = ⌊Y ÷ 100⌋ = 20.
  3. Gregorian: h = (q + ⌊13(m + 1) ÷ 5⌋ + K + ⌊K ÷ 4⌋ + ⌊J ÷ 4⌋ + 5J) mod 7 = (4 + 20 + 26 + 6 + 5 + 100) mod 7 = 161 mod 7 = 0, Saturday (0 = Saturday, 1 = Sunday, 6 = Friday).
  4. Doomsday check: the century anchor for 2000 to 2099 is Tuesday. 26 ÷ 12 = 2 remainder 2, and ⌊2 ÷ 4⌋ = 0. Tuesday + 2 + 2 + 0 days = Saturday, the Doomsday of 2026.
  5. The Doomsday date in July is July 11, and July 4 is 7 days earlier: Saturday.
  6. Cross check with the Julian Day Number: (2,461,226 + 1) mod 7 = 6, Saturday (0 = Sunday).

Same date in later years

July 4 next falls on a Saturday in 2037.

YearDay of the weekShift
2027Sunday+1 day
2028Tuesday+2 days
2029Wednesday+1 day
2030Thursday+1 day
2031Friday+1 day
2032Sunday+2 days
2033Monday+1 day
2034Tuesday+1 day
2035Wednesday+1 day
2036Friday+2 days

Weekdays follow the proleptic Gregorian or Julian rules exactly. Historical records may use local calendars or a different start of the year, so check which calendar a source used.

How the Day of the Week Calculator Works

This day of the week calculator tells you which weekday any date falls on, from January 1 of year 1 to December 31, 9999. Pick the month, type the day and the full year, and the answer updates as you type. Use it to find what day of the week you were born, what day a holiday or deadline lands on next year, or which weekday a historical event happened.

The calculator never relies on the browser's date functions for the weekday. It applies Zeller's congruence with whole number arithmetic, then checks the answer two more ways: with John Conway's Doomsday rule and with the Julian Day Number used by astronomers. All three methods appear in the results with your own numbers, so you can repeat the calculation by hand.

  • Month, day and year. Enter the full year, such as 1969 rather than 69. Dates that do not exist, such as February 30 or February 29, 2027, show an error instead of a wrong answer.
  • Calendar system. The default is the proleptic Gregorian calendar, which extends today's leap year rules backward before 1582. Choose Julian for dates written in the older calendar.
  • Results. You get the weekday, which occurrence of that weekday it is in the month (useful for rules like "the fourth Thursday of November"), the month calendar, the day of the year, days left in the year, the ISO 8601 week, the quarter, leap year status, the Julian Day Number and the same date over the next ten years.

Zeller's Congruence: the Day of the Week Formula

Christian Zeller published his calendar formulas in Acta Mathematica in the 1880s. The formula turns a date into a number from 0 to 6. The trick is to treat January and February as months 13 and 14 of the previous year, which moves the leap day to the very end of the counting year.

Gregorian: h = (q + ⌊13(m + 1) ÷ 5⌋ + K + ⌊K ÷ 4⌋ + ⌊J ÷ 4⌋ + 5J) mod 7 Julian: h = (q + ⌊13(m + 1) ÷ 5⌋ + K + ⌊K ÷ 4⌋ + 5 + 6J) mod 7 q = day of the month; m = month, 3 = March to 14 = February K = year mod 100; J = ⌊year ÷ 100⌋ (use the previous year for Jan and Feb) h: 0 = Saturday, 1 = Sunday, 2 = Monday ... 6 = Friday; ⌊x⌋ drops the fraction

The term ⌊13(m + 1) ÷ 5⌋ adds the right number of extra days for the months already passed, because months of 30 and 31 days alternate in a regular pattern from March onward. K and ⌊K ÷ 4⌋ add one day per year and one more per leap year in the century. In the Gregorian version, ⌊J ÷ 4⌋ + 5J handles the century rule. Many texts write that term as subtracting 2J; adding 5J gives the same remainder modulo 7 and keeps the sum positive.

Worked example: July 4, 1776

q = 4, m = 7, K = 76, J = 17 ⌊13 × 8 ÷ 5⌋ = ⌊20.8⌋ = 20; ⌊76 ÷ 4⌋ = 19; ⌊17 ÷ 4⌋ = 4; 5 × 17 = 85 h = (4 + 20 + 76 + 19 + 4 + 85) mod 7 = 208 mod 7 = 5, Thursday

Worked example: January 1, 2027

January becomes month 13 of 2026: q = 1, m = 13, K = 26, J = 20 ⌊13 × 14 ÷ 5⌋ = ⌊36.4⌋ = 36; ⌊26 ÷ 4⌋ = 6; ⌊20 ÷ 4⌋ = 5; 5 × 20 = 100 h = (1 + 36 + 26 + 6 + 5 + 100) mod 7 = 174 mod 7 = 6, Friday

Worked example: October 4, 1582 in the Julian calendar

q = 4, m = 10, K = 82, J = 15 ⌊13 × 11 ÷ 5⌋ = ⌊28.6⌋ = 28; ⌊82 ÷ 4⌋ = 20; 6 × 15 = 90 h = (4 + 28 + 82 + 20 + 5 + 90) mod 7 = 229 mod 7 = 5, Thursday Next day, Gregorian October 15, 1582: (15 + 28 + 82 + 20 + 3 + 75) mod 7 = 223 mod 7 = 6, Friday

The Julian Day Number gives a second route. It counts days continuously from January 1, 4713 BC in the Julian calendar, and the weekday is (JDN + 1) mod 7 with 0 for Sunday. July 4, 2026 has JDN 2,461,226, and 2,461,227 mod 7 = 6, which is Saturday.

How to Calculate the Day of the Week in Your Head: the Doomsday Rule

The mathematician John Horton Conway devised the Doomsday rule as a way to find weekdays mentally. It rests on one fact: in any year, a set of easy dates all share the same weekday, which Conway called the Doomsday. They include 4/4, 6/6, 8/8, 10/10 and 12/12, the pairs 5/9 and 9/5 and 7/11 and 11/7 (the "nine to five at the 7 Eleven" memory aid), and the last day of February.

MonthDoomsday dateDays before month (common / leap)
JanuaryJan 3 (Jan 4 in leap years)0 / 0
FebruaryFeb 28 (Feb 29 in leap years)31 / 31
MarchMar 14 (also Mar 7, Mar 21, Mar 28)59 / 60
AprilApr 490 / 91
MayMay 9120 / 121
JuneJun 6151 / 152
JulyJul 11181 / 182
AugustAug 8212 / 213
SeptemberSep 5243 / 244
OctoberOct 10273 / 274
NovemberNov 7304 / 305
DecemberDec 12334 / 335

To find the Doomsday of a year, start from the century anchor: Tuesday for 1600 to 1699, Sunday for 1700 to 1799, Friday for 1800 to 1899, Wednesday for 1900 to 1999, Tuesday for 2000 to 2099 and Sunday for 2100 to 2199. The pattern repeats every 400 years. Then take the last two digits of the year, divide by 12, and add the quotient, the remainder and the remainder divided by 4 (whole part only) to the anchor, counting in days of the week.

Christmas 2026: anchor Tuesday; 26 ÷ 12 = 2 remainder 2; ⌊2 ÷ 4⌋ = 0 Tuesday + 2 + 2 + 0 = Saturday, the Doomsday of 2026 Dec 12 is Saturday, so Dec 26 is Saturday and Dec 25 is Friday Moon landing, July 20, 1969: anchor Wednesday; 69 ÷ 12 = 5 remainder 9; ⌊9 ÷ 4⌋ = 2 Wednesday + 5 + 9 + 2 = Wednesday + 16 = Friday, the Doomsday of 1969 Jul 11 is Friday, so Jul 18 is Friday and Jul 20 is Sunday

For Julian dates the century anchor is Sunday minus one day per century. For 1582 that gives Saturday as the anchor and Wednesday as the Doomsday, so October 10, 1582 in the Julian calendar was a Wednesday and October 4 was a Thursday. The last column of the table also gives the day of the year: add the day of the month to the days before that month, so July 4, 2026 is 181 + 4 = day 185.

💡
With practice, the slowest step is dividing the two digit year by 12. Learn the Doomsdays of the current and next year (Saturday for 2026, Sunday for 2027) and you can answer most everyday questions with one subtraction.

What Day of the Week Was I Born?

Enter your birth date with the full year and the hero card shows the weekday, while the calendar card shows the whole month you were born in. Someone born on May 15, 1990 was born on a Tuesday. The "Same date in later years" table then shows how the birthday moved through the week.

YearMay 15 falls onWhy
1990TuesdayBirth year
1991Wednesday365 days later, 1 weekday on
1992FridayFebruary 29, 1992 adds a second day
1993SaturdayCommon year
1994SundayCommon year
1995MondayCommon year
1996WednesdayLeap year skips Tuesday

A common year has 365 days, which is 52 weeks and 1 day, so a date moves forward one weekday. When a February 29 falls between two birthdays, the date moves two weekdays. Because of those skips, a birthday on May 15, 1990 does not fall on a Tuesday again until 2001, eleven years later.

Gregorian vs Julian Calendar: the 1582 and 1752 Changes

The Julian calendar, set up under Julius Caesar, adds a leap day every fourth year, giving an average year of 365.25 days. The solar year is slightly shorter, so the calendar drifted against the seasons. In 1582 Pope Gregory XIII introduced the Gregorian calendar, which skips the leap day in century years not divisible by 400. Ten dates were dropped to realign the calendar: Thursday, October 4, 1582 was followed by Friday, October 15, 1582. The weekday sequence did not break.

Britain and its colonies, including those in America, kept the Julian calendar until the Calendar (New Style) Act 1750 took effect. By then the gap had grown to 11 days, so Wednesday, September 2, 1752 was followed by Thursday, September 14, 1752. The same act moved the start of the legal year from March 25 to January 1.

Gregorian datesJulian date is earlier by
Oct 15, 1582 to Feb 28, 170010 days
Mar 1, 1700 to Feb 28, 180011 days
Mar 1, 1800 to Feb 28, 190012 days
Mar 1, 1900 to Feb 28, 210013 days
From Mar 1, 210014 days

The hero card shows the same day in the other calendar. July 4, 2026 in the Gregorian calendar is June 21, 2026 in the Julian calendar, 13 days earlier. A Gregorian date before October 15, 1582 is called proleptic: it applies the modern rules to a time when nobody used them. Software date libraries generally use the proleptic Gregorian calendar, the U.S. Naval Observatory converter switches to the Julian calendar for dates on or before October 4, 1582, and historians usually quote dates in the calendar the source used.

⚠️
A date in an English document from before 1752 is almost certainly Julian, and a date between January 1 and March 24 may carry the previous year number. Check the source before you compare weekdays.

Leap Years, Day of the Year and ISO Week Numbers

In the Gregorian calendar a year is a leap year when it divides by 4, except century years, which must divide by 400. So 2000 was a leap year, 1900 was not, and 2100 will not be. In the Julian calendar every year that divides by 4 is a leap year, including 1900. The calculator applies the rule for the calendar you choose, so February 29, 1900 is rejected in Gregorian mode and accepted in Julian mode.

The day of the year, sometimes called the ordinal date, counts January 1 as day 1 and runs to 365 or 366. Days left is the number of days after the chosen date until December 31.

ISO 8601 numbers weeks from Monday to Sunday. Week 1 is the week that contains the year's first Thursday, so a few days in late December or early January can belong to the neighboring year. January 1, 2026 is a Thursday, so week 2026-W01 starts on Monday, December 29, 2025. January 1, 2027 is a Friday and belongs to week 2026-W53, the last week of 2026. ISO 8601 defines week dates for the Gregorian calendar only, so the ISO week tile shows "Not defined" in Julian mode.

Day of the week in Excel

Excel's WEEKDAY function returns 1 for Sunday through 7 for Saturday by default; WEEKDAY(date, 2) returns 1 for Monday through 7 for Sunday. Excel treats 1900 as a leap year for compatibility with Lotus 1 2 3, so Microsoft notes that WEEKDAY returns wrong values for dates before March 1, 1900. Use this calculator for anything older.

Why Calendars Repeat: the 28 and 400 Year Cycles

Every 400 Gregorian years contain 97 leap years, a total of 146,097 days. That is exactly 20,871 weeks, so the Gregorian calendar repeats every 400 years: January 1, 2426 falls on the same weekday as January 1, 2026. Within one 400 year cycle the 13th of a month falls on a Friday 688 times, slightly more often than on any other weekday.

The Julian calendar repeats every 28 years, because 28 Julian years contain 10,227 days, exactly 1,461 weeks. The Gregorian calendar follows the same 28 year cycle between 1901 and 2099, where no century leap year is skipped. In that span a common year calendar can be reused after 6 or 11 years and a leap year calendar after 28 years. The 2026 calendar returns in 2037 and 2054.

YearNew Year's DayJuly 4Christmas
2026ThursdaySaturdayFriday
2027FridaySundaySaturday
2028 (leap)SaturdayTuesdayMonday
2029MondayWednesdayTuesday
2030TuesdayThursdayWednesday
2031WednesdayFridayThursday
2032 (leap)ThursdaySundaySaturday
2033SaturdayMondaySunday
2034SundayTuesdayMonday
2035MondayWednesdayTuesday

In a leap year, New Year's Day and dates after February 29 sit on different sides of the leap day, which is why 2028 starts on a Saturday while its Christmas lands on a Monday.

Common Mistakes

  • Typing a two digit year. 69 means the year 69, not 1969.
  • Mixing calendars. July 4, 1776 is a Thursday in the Gregorian calendar but a Monday if you enter it as a Julian date.
  • Forgetting the January and February shift when using Zeller's formula by hand.
  • Using the wrong century anchor. Dates in 1900 to 1999 use Wednesday, not Tuesday.
  • Trusting spreadsheet weekdays before 1900. Excel's date system starts in 1900.

Related Calculations

To count the days between two dates or the days until an event, use the Day Counter. To add or subtract days, weeks or months, use the Date Calculator. To find an exact age in years, months and days, use the Age Calculator. For durations within a day, the Time Calculator and Hours Calculator handle hours and minutes, and the Time Zone Calculator converts a time between cities.

Frequently Asked Questions

What day of the week was I born?

Enter your birth month, day and year in the calculator and it returns the weekday at once, together with the day of the year and the calendar of your birth month. For example, someone born on May 15, 1990 was born on a Tuesday. A birthday moves forward one weekday each year, or two weekdays when a February 29 falls in between, so May 15 was a Wednesday in 1991 and a Friday in 1992. Records from Britain and its American colonies before September 14, 1752 used the Julian calendar, so switch the calendar option to Julian for those dates.

How do you calculate the day of the week for any date?

Use Zeller's congruence. Treat January and February as months 13 and 14 of the previous year, then let q be the day, m the month, K the last two digits of the year and J the century. Compute h = (q + ⌊13(m + 1) ÷ 5⌋ + K + ⌊K ÷ 4⌋ + ⌊J ÷ 4⌋ + 5J) mod 7, where 0 is Saturday, 1 is Sunday and 6 is Friday. For July 4, 1776 the terms are 4 + 20 + 76 + 19 + 4 + 85 = 208, and 208 mod 7 = 5, which is Thursday.

What day of the week is Christmas 2026?

Christmas Day, December 25, 2026, falls on a Friday, and New Year's Day 2027 falls on a Friday as well, exactly one week later. Christmas then falls on a Saturday in 2027, a Monday in 2028, a Tuesday in 2029 and a Wednesday in 2030. It skips Sunday in 2028 because the leap day on February 29, 2028 pushes every later date in that year forward by two weekdays instead of one. Choose the Christmas 2026 example and change the year to check any other year.

What is the Doomsday rule?

The Doomsday rule is a mental method for finding the weekday of a date, devised by the mathematician John Horton Conway. In any year, the dates 4/4, 6/6, 8/8, 10/10, 12/12, 5/9, 9/5, 7/11, 11/7 and the last day of February all fall on the same weekday, called the Doomsday. You find the Doomsday of a year from a century anchor (Tuesday for 2000 to 2099, Wednesday for 1900 to 1999) and then count from the nearest Doomsday date. In 2026 the Doomsday is Saturday, so July 4, one week before July 11, is a Saturday.

Why do old dates show a different day of the week?

Older dates may be written in the Julian calendar, which adds a leap day every four years without exception. By 1582 it ran 10 days behind the Gregorian calendar, so Thursday, October 4, 1582 in the Julian calendar was followed by Friday, October 15, 1582 in the Gregorian calendar. Britain and its colonies switched in 1752, when Wednesday, September 2 was followed by Thursday, September 14. The cycle of weekdays never broke. Choose the Julian option when a historical source uses the old calendar; otherwise the calculator uses the proleptic Gregorian calendar.

How often does a calendar repeat?

The Gregorian calendar repeats exactly every 400 years, because 400 years contain 146,097 days, which is exactly 20,871 weeks. Between 1901 and 2099 there is no skipped century leap year, so in that span a calendar also repeats every 28 years, and 2026 shares its layout with 2054. A common year calendar comes back after 6 or 11 years, and a leap year calendar after 28 years. For example, 2026 and 2037 have identical calendars, so July 4 falls on a Saturday in both years.

Sources & References

  • Zeller, Chr. Kalender-Formeln, Acta Mathematica 9 (1887), pages 131 to 136 (the weekday congruence for the Julian and Gregorian calendars). doi.org
  • Jefferys, W. H., University of Texas at Austin, AST 309. What is the day of the week? (Conway's Doomsday method, century anchors, July 4, 1776 and the October 1582 changeover). utexas.edu
  • U.S. Naval Observatory. Julian Date Converter (Julian dates, weekday from the Julian date, and the 1582 and 1752 changeovers). usno.navy.mil
  • Royal Museums Greenwich. Which years are leap years? (leap year rules and Britain's 1752 change). rmg.co.uk
  • UK Parliament, via legislation.gov.uk. Calendar (New Style) Act 1750 (September 2, 1752 followed by September 14, and the year starting on January 1). legislation.gov.uk
  • International Organization for Standardization. ISO 8601-1:2019 Date and time, Part 1: Basic rules, confirmed 2024. iso.org
  • Microsoft Support. WEEKDAY function. microsoft.com
  • Microsoft Learn. Excel incorrectly assumes that the year 1900 is a leap year. microsoft.com

Every weekday, count and example on this page was recomputed with the same integer formulas the calculator uses and cross checked against an independent date library. Methodology reviewed: 2026.