How it’s calculated
Every date falls on one of seven weekdays, and the pattern repeats exactly every 400 years in the Gregorian calendar. This calculator uses the civil Gregorian calendar to find the weekday, then counts the days from 1 January for the day of the year and from the date to 31 December for the days remaining.
Example: 20 July 1969, the Apollo 11 Moon landing, was a Sunday. 29 February 2024 is a Thursday, the 60th day of a leap year, with 306 days remaining. 1900 was not a leap year (a century not divisible by 400) but 2000 was.
Pair this with the week number calculator when you need the Monday-to-Sunday dates of an ISO week; this tool focuses on the weekday itself, while also reporting the ISO week for convenience. Dates before 1583 are shown in the proleptic Gregorian calendar, which differs from the Julian calendar used at the time.
Frequently asked questions
How do I find out what day of the week I was born?
Enter your date of birth. The result is the weekday you were born on, in the Gregorian calendar.
How is a leap year determined?
A year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400. So 2000 and 2024 are leap years but 1900 and 2100 are not.
Is the day of the year the same as the week number?
No. The day of the year runs from 1 to 365 or 366. The ISO week number counts Monday-to-Sunday weeks from 1 to 52 or 53.
Does it work for dates before 1582?
It extends the Gregorian calendar backwards, so the answer can differ from the weekday in historical records that used the Julian calendar.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Calendar Calculations (leap-year rule of the Gregorian calendar) — NASA Glenn Research Center
- Calendars and their history (the Gregorian calendar) — NASA Goddard Space Flight Center
- How we fixed a strange "week year" bug (explains ISO 8601 week numbering) — UK Government Digital Service
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator