# Day of the Week Calculator

> What day of the week was or will be any date? Find the weekday, day of the year, ISO week number and quarter, with a calendar view of the month.

Interactive calculator: https://calculatorsplatform.com/c/day-of-week/
Category: Date & Time Calculators
Calculations run in the browser; inputs can be prefilled through URL parameters and shared with the Share button.

## How the weekday of a date is found

The calculator counts the days between your date and a known reference date and takes the remainder after dividing by 7. Because the Gregorian calendar repeats exactly every 400 years (146,097 days, a whole number of weeks), this works for any date in the calendar.

By hand you can use **Zeller's congruence**:

> 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 … February = 14 of the previous year), K the year within the century and J the century; h = 0 means Saturday, 1 Sunday, 2 Monday, and so on.

## Example: July 4, 1776

Using Zeller's congruence: q = 4, m = 7, K = 76, J = 17.

1. ⌊13 × 8 / 5⌋ = 20.
2. ⌊76/4⌋ = 19 and ⌊17/4⌋ = 4.
3. 5J = 85.
4. h = (4 + 20 + 76 + 19 + 4 + 85) mod 7 = 208 mod 7 = **5 → Thursday**.

So the US Declaration of Independence was adopted on a Thursday. The calculator does this instantly and also tells you it was day 186 of the year, in week 27 and the third quarter.

## The Doomsday rule: a mental shortcut

Mathematician John Conway's **Doomsday rule** lets you find weekdays in your head. In every year, certain easy-to-remember dates fall on the same weekday, called the year's "doomsday": 4/4, 6/6, 8/8, 10/10, 12/12, 5/9, 9/5, 7/11, 11/7, the last day of February, and March 14 (Pi Day). For 2026 the doomsday is Saturday, so December 12, 2026 is a Saturday and Christmas, 13 days later, is a Friday.

Once you know a year's doomsday you only need to count forward or back from the nearest anchor date.

## Week numbers and calendar notes

The calculator shows the ISO 8601 week number, where weeks start on Monday and week 1 is the week containing the year's first Thursday; see the [week number calculator](https://calculatorsplatform.com/c/week-number/) for details. Dates before the Gregorian reform of 1582 (adopted in Britain and its colonies in 1752) are calculated in the proleptic Gregorian calendar, so historical documents dated in the Julian calendar may differ by 10–13 days.

## Frequently asked questions

### What day of the week was I born?

Enter your date of birth above. The [age calculator](https://calculatorsplatform.com/c/age/) also shows the weekday you were born on.

### Does the calendar repeat?

Yes. A year's calendar repeats after 6, 11 or 28 years depending on leap years, and the whole Gregorian calendar repeats every 400 years.

### What is the day of the year?

It is the ordinal number of the date counted from January 1 (day 1). December 31 is day 365, or 366 in a leap year.

### Which weekday starts the week?

ISO 8601 and most of Europe and China start the week on Monday; the United States and Canada usually show Sunday first.

## Related calculators

- [Week Number Calculator](https://calculatorsplatform.com/c/week-number/index.md)
- [Days Between Dates Calculator](https://calculatorsplatform.com/c/date-difference/index.md)
- [Age Calculator](https://calculatorsplatform.com/c/age/index.md)
- [Leap Year Calculator](https://calculatorsplatform.com/c/leap-year/index.md)
- [Countdown Calculator](https://calculatorsplatform.com/c/countdown/index.md)
- [Add or Subtract Days Calculator](https://calculatorsplatform.com/c/date-add/index.md)

---
Source: CalculatorsPlatform (https://calculatorsplatform.com/c/day-of-week/). Last reviewed 2026-11-25. Please link to the calculator page when citing.
