Day of the Week Calculator

Friday

Full Date
Day of Year
Week Number (ISO-8601)
Days From Today
Year Day of the Week

How This Calculator Works

Every date maps to exactly one of seven weekdays, and that mapping follows a strict, unbroken cycle that runs continuously through the entire Gregorian calendar — there are no gaps or resets. This tool reads the date you enter and uses JavaScript's built-in date engine, which correctly implements the Gregorian calendar's leap-year rules (a year is a leap year if divisible by 4, except century years, unless also divisible by 400) to walk the calendar forward or backward to any date and identify its weekday. This works reliably for dates centuries into the past or future, not just within a typical human lifetime.

Zeller's Congruence: the Classic Manual Method

Before computers, the standard way to calculate a weekday by hand was Zeller's Congruence, a formula published by Christian Zeller in the 1880s. It converts a day, month, and year into a single number using modular arithmetic — treating January and February as months 13 and 14 of the previous year (so the "leap day" adjustment falls at the natural end of the cycle), then combining the day, a month-based term, the two-digit year, and the century, and finally taking the whole sum modulo 7. The remainder points to a weekday (0 for Saturday, 1 for Sunday, and so on, depending on the exact variant of the formula used). It's the same underlying idea this calculator relies on — the Gregorian calendar repeats in a fixed, computable pattern — just automated instead of done with pencil and paper.

A Common Misconception: "Leap Years Always Shift the Weekday by Two Days"

People often assume every year pushes a fixed date's weekday forward by one day, and a leap year pushes it by two. That's true only if the leap day (February 29) falls between the two anniversaries you're comparing. A birthday in January, for example, shifts by two days across a leap year boundary, while a birthday in March shifts by only one, because February 29 already happened before that March date arrives. If you need to count the actual number of days between two dates rather than just their weekdays, the date calculator and day counter handle that directly.

Frequently Asked Questions

How accurate is this for dates far in the past or future?

It uses the proleptic Gregorian calendar (the same Gregorian leap-year rules projected backward and forward indefinitely), calculated with a UTC-noon anchor to avoid timezone and daylight-saving edge cases. This gives consistent results for dates centuries away, though keep in mind many countries didn't actually adopt the Gregorian calendar until later (Britain and its colonies switched in 1752, for example), so a historical record from before a region's adoption date may show a different weekday in original sources.

Why did my birthday fall on a different weekday than I expected this year?

A fixed date normally moves forward one weekday each year, but it shifts by two days whenever a leap year's February 29 falls between the two anniversaries you're comparing (i.e., for dates in January or February in the year after a leap year). The nearby-years table on this page shows the weekday shift pattern for your chosen date directly.