Home › Time & Date › Day of the Week Calculator

Day of the Week Calculator

Pick any date from year 1 to 9999 to see which weekday it falls on, how many of those weekdays have passed since, and the full math behind it using Zeller's congruence and the Doomsday rule.

Last updated:

Day of the week–

Method 1: Zeller's congruence

Method 2: Conway's Doomsday rule

Advertisement
Advertisement

How to use the Day of the Week Calculator

  1. Choose the month, then type the day and the year.
  2. Pick a calendar: Gregorian for modern dates, Historical or Julian for dates before 1582.
  3. Read the weekday along with the days elapsed and how many of that weekday have passed.
  4. Check the calendar preview and the list of upcoming years with the same weekday.
  5. Follow the two methods to see how the answer is calculated by hand.

Zeller's congruence, worked example

For the Gregorian calendar the formula is h = (q + ⌊13(m + 1)/5⌋ + K + ⌊K/4⌋ + ⌊J/4⌋ + 5J) mod 7, where q is the day of the month, m the month (March = 3 … December = 12, January = 13, February = 14 of the previous year), K the year of the century and J the century. The result h is 0 for Saturday, 1 for Sunday, 2 for Monday and so on.

Example: 1 January 2000. January counts as month 13 of 1999, so q = 1, m = 13, K = 99, J = 19. Then h = (1 + ⌊182/5⌋ + 99 + ⌊99/4⌋ + ⌊19/4⌋ + 95) mod 7 = (1 + 36 + 99 + 24 + 4 + 95) mod 7 = 259 mod 7 = 0, which is Saturday.

For the Julian calendar replace ⌊J/4⌋ + 5J with 5 + 6J.

Doomsday rule cheat sheet

CenturyAnchor day (Gregorian)MonthDoomsday date
1700sSundayJanuary3rd (4th in leap years)
1800sFridayFebruary28th (29th in leap years)
1900sWednesdayMarch14th (also "March 0" = last day of Feb)
2000sTuesdayApril, June, August, October, December4/4, 6/6, 8/8, 10/10, 12/12
2100sSundayMay, September9th of May, 5th of September ("9-to-5 at 7-11")
2200sFridayJuly, November11th of July, 7th of November

To find a year's doomsday, take the last two digits yy and add ⌊yy/12⌋ + (yy mod 12) + ⌊(yy mod 12)/4⌋ to the century anchor, then reduce mod 7. Example for 2026: 2 + 2 + 0 = 4 days after Tuesday, so the doomsday is Saturday. That makes 10 October 2026 a Saturday, and 19 October 2026 (9 days later) a Monday.

Gregorian vs Julian calendar

  • Julian calendar (from 45 BC): every fourth year is a leap year, so the average year is 365.25 days, about 11 minutes too long.
  • Gregorian calendar (from 15 October 1582): century years are leap years only if divisible by 400 (1600 and 2000 were, 1700, 1800 and 1900 were not). The average year is 365.2425 days.
  • The switch: in Catholic countries Thursday 4 October 1582 was followed by Friday 15 October 1582. The weekday cycle continued unbroken. Britain and its American colonies switched in September 1752, skipping 11 days.

Frequently asked questions

What day of the week was I born?

Enter your date of birth and the calculator shows the weekday, for example 20 July 1969 was a Sunday. It also counts how many of that weekday have passed since you were born and shows the line from the "Monday's child" nursery rhyme.

How does Zeller's congruence work?

It turns a date into a number from 0 to 6 using the day, month, year of the century and century, with January and February treated as months 13 and 14 of the previous year. In Zeller's numbering, 0 is Saturday, 1 is Sunday, and so on up to 6 for Friday.

What is the Doomsday rule?

It is a mental method by John Conway. Certain easy dates, such as 4/4, 6/6, 8/8, 10/10, 12/12 and the last day of February, always fall on the same weekday in a given year, called the doomsday. Find the year's doomsday, then count from the nearest one.

Why do dates before 1582 have two possible weekdays?

The Gregorian calendar replaced the Julian calendar in October 1582, when 10 days were skipped. Historical sources before that date use the Julian calendar, so choose Historical or Julian to match them. Gregorian mode extends today's calendar backwards (proleptic).

How often does a date fall on the same weekday?

A date usually repeats its weekday after 6, 11 or 5 years in a repeating pattern, because a common year shifts dates by one weekday and a leap year by two. The full Gregorian cycle repeats exactly every 400 years.

Is the result based on my time zone?

The weekday of a calendar date does not depend on time zones. Only the "days since" and "today" figures use your device's current date.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Date CalculatorAdd days to a date or count days between dates.Days Between DatesCount days, weeks, months and business days between two dates.Week Number CalculatorSee the current ISO week number and look up the week of any date.Days Until CalculatorCount down the days to any event.Biorhythm CalculatorPhysical, emotional and intellectual biorhythm cycles for any date, with a 30-day chart.Easter CountdownLive countdown to Easter in days, hours, minutes and seconds.Half Birthday CalculatorFind your half birthday date, the countdown to it and your age in halves.Historical Weather LookupDaily past weather for any place and date range: temperatures, rain, snow and wind, with CSV.Today's DateWhat is today's date? Live date in every format: ISO, US/EU, week number, Unix, Hijri, Hebrew.Business Days CalculatorCount working days between dates, excluding weekends and holidays.Retirement Date CalculatorFind the exact date you reach retirement age, with a live countdown.Age Difference CalculatorFind the exact age gap between two people in years, months and days.Day of the Year CalculatorFind the day number of any date (1–366), days left, ISO week and quarter, or turn a day number into a date.Anniversary CalculatorHow long you've been together, your next anniversary and traditional and modern gifts by year.Time Since CalculatorLive counter of the time since any date: years, months, days, hours, minutes and seconds.Excel Date ConverterConvert Excel serial numbers to dates and times and back, in the 1900 or 1904 date system.Baby Age CalculatorYour baby's exact age in days, weeks and months, plus the next monthly milestone date.Corrected Age CalculatorChronological and corrected (adjusted) age for preemies from the due date or weeks at birth.Date to Roman NumeralsConvert a date into Roman numerals (MM.DD.YYYY or DD.MM.YYYY) for tattoos and engravings.Dog Heat Cycle CalculatorPredict your dog's next heat dates and fertile window from the last heat and cycle length.Egg Incubation CalculatorCandling, lockdown and hatch dates for chicken, duck, quail, goose and turkey eggs.Expiration Date CalculatorGet the expiry date and days left from a manufacture or opening date plus shelf life.Fiscal Year CalculatorFind the fiscal year, quarter, period and week for any date and any fiscal year start.What Generation Am I CalculatorFind your generation from your birth year: Boomer, Gen X, Millennial, Gen Z or Gen Alpha.Harvest Date CalculatorExpected harvest date and window from planting date and days to maturity, with succession.Hebrew Date ConverterConvert Gregorian dates to Hebrew calendar dates and back, with after-sunset option.Notice Period CalculatorFind when a notice period ends: last working day and days remaining from any notice date.Oil Change Due CalculatorFind your next oil change date and odometer reading from your last change and driving.Persian (Jalali) Date ConverterConvert Gregorian dates to the Persian Jalali (Shamsi) calendar and back, with month names.Seed Starting Date CalculatorWhen to start seeds indoors, transplant and direct sow each crop from your last frost date.30 Days From TodayFind the date 30 days from today or any start date, with weekday and business days.60 Days From TodayFind the date 60 days from today or any start date, with weekday, business days and a calendar.90 Days From TodayFind the date 90 days from today or any date, with weekday, business days and a calendar.Animal Gestation CalculatorDue date, birth window and milestones for goats, sheep, pigs, cows, horses, rabbits and more.Horse Foaling Date CalculatorMare due date, foaling window and pregnancy care calendar from the cover date.Full Retirement Age CalculatorYour Social Security full retirement age, earliest claim date, 62 reduction and Medicare date.Maternity Leave CalculatorPlan maternity leave: start date, paid, PTO and unpaid weeks, and your return-to-work date.Medicare Enrollment Period CalculatorFind your Medicare Initial Enrollment Period, coverage start dates and sign-up deadlines.Length of Service CalculatorYears, months and days of service from hire and end dates, plus your next work anniversary.Months Between DatesExact calendar months and days between two dates, decimal months and a month-by-month list.Who Was President When I Was BornEnter your birth date to see the US president and VP that day, plus every president in your lifetime.Project End Date CalculatorTurn effort hours, team size and workdays into a completion date with a work-day calendar.Weekday CounterCount how many Mondays, Fridays or any weekdays fall between two dates and list them.Working Days Per Month CalculatorWorking days and hours for every month of a year, minus weekends and US federal holidays.What Year Was I Born CalculatorFind your birth year from your age, or from your age on any date, plus an age-by-year table.100 Days From TodayFind the date 100 days from today or any date, with weekday, business days and a calendar.180 Days From TodayFind the date 180 days from today or any date, with weekday, business days and a calendar.6 Months From TodayFind the date 6 months from today or any date, its weekday, day count and business days.Breast Milk Storage CalculatorUse-by date and time for pumped breast milk at room temp, in the fridge or freezer (CDC).Half Marathon Training Plan Generator10 to 16 week half marathon plan from your race date and level, with long runs, taper, paces and .ics.Horse Age CalculatorConvert horse years to human years, see the life stage, or get exact age from a foaling date.ISO 8601 Duration ConverterParse or build ISO 8601 durations like P1DT2H30M and convert them to seconds and h:m:s.Moving Checklist GeneratorEnter your move date and situation for a week-by-week moving to-do list with real dates.Home Inventory ListRoom-by-room home inventory with values, purchase dates, serial numbers and photos; print or CSV.Wedding Invitation Timeline CalculatorWhen to send save-the-dates and invitations, plus your RSVP deadline and final headcount date.Sobriety CalculatorCount days, weeks, months and years sober from your sober date, with milestones and money saved.Tax Refund Date EstimatorEstimate when your IRS refund arrives by filing date, e-file or paper, deposit or check.PTO Holiday OptimizerFind the bridge days around US holidays that turn your PTO into the most days off in a row.Age Milestones CalculatorSee when you turn 10,000 days, 1,000 weeks, 500 months or 1 billion seconds old.Baby Leaps CalculatorFind your baby's 10 developmental leap weeks and fussy-period dates from the due date.Birthday Moon PhaseSee the moon phase on the night you were born and which future birthdays fall on a full moon.Chronological Age CalculatorExact age in years, months and days on a test date, using the borrow method for assessments.Day Length CalculatorHours of daylight for any place and date, change vs yesterday and a year chart by latitude.Easter Date CalculatorWestern and Orthodox Easter for any year, with Ash Wednesday, Good Friday and Pentecost.Famous Birthdays by DatePick any date to see famous people born that day, sorted by year, with ages and categories.
See all 62 Date Calculators →