Day of Week Calculator
Find the weekday for any Gregorian date from year 1 to 9999. Includes ISO 8601 week number, day of year, and leap-year check.
Weekday and ISO Week Examples
| Date | Weekday | Day of year | ISO week | Leap year |
|---|---|---|---|---|
| 01/01/2000 | Saturday | 1 | 1999-W52 | Yes |
| 02/29/2024 | Thursday | 60 | 2024-W09 | Yes |
| 12/31/2024 | Tuesday | 366 | 2025-W01 | Yes |
| 01/01/2025 | Wednesday | 1 | 2025-W01 | No |
| 12/31/2025 | Wednesday | 365 | 2026-W01 | No |
Frequently Asked Questions about the Day of Week Calculator
How does this calculator find the day of the week?
It uses Zeller's congruence, a closed-form formula published by Christian Zeller in 1882. The formula combines the day, month, year, and century into a single arithmetic expression and returns a number from 0 to 6 for the weekday. The calculator runs Zeller's congruence directly instead of relying on the JavaScript Date object, so the result is independent of your device's time zone.
What is the difference between ISO 8601 and US-style week numbering?
ISO 8601 (used across Europe and most of the world) says week 1 is the week that contains the first Thursday of the year, and weeks always start on Monday. US-style numbering treats week 1 as the week containing January 1, with weeks starting on Sunday. The two systems can disagree by one number near January, so a date that is ISO week 1 of 2025 may be US week 53 of 2024. This calculator reports the ISO 8601 week number.
What is the leap-year rule?
A year is a leap year if it is divisible by 4, except for years divisible by 100, unless those years are also divisible by 400. So 2024 is a leap year (divisible by 4), 2100 is not (divisible by 100 but not 400), and 2000 is a leap year (divisible by 400). The rule keeps the Gregorian calendar in sync with the solar year over long periods.
Why was 1900 not a leap year even though it is divisible by 4?
Because the 100-year exception applies. The Gregorian rule drops three leap days every 400 years to correct for the fact that a solar year is about 365.2425 days, not exactly 365.25. Century years like 1700, 1800, and 1900 fail the divisible-by-400 test and skip their leap day. 2000 passes the test, so it kept its February 29.
What is the day-of-week calculator useful for?
Common uses include finding the weekday you were born on, checking a future birthday or anniversary, and planning around weekends or ISO weeks. The calculator applies the proleptic Gregorian calendar to its full year 1-9999 range. Historical places used different calendars before adopting the Gregorian system, so a contemporaneous historical weekday can differ.
Related Calculators
More calculators in "Date & Time"
Birthday Countdown CalculatorHours to Decimal ConverterISO Week Number CalculatorJulian Date ConverterAge on Mars CalculatorWeeks Between Dates Calculator
See all 53 calculators in "Date & Time"