How to use the Day of the Week Calculator
- Enter any date, past or future.
- Read the weekday name.
- Check the weekend flag when scheduling deliveries or deadlines.
- Read the full written date to confirm you entered what you intended.
- Use the days-from-today figure for quick planning.
How the calculation works
Weekday determination relies on the fact that the Gregorian calendar repeats exactly every 400 years, a cycle containing 146,097 days — a number divisible by seven. That divisibility is why the calendar's weekday pattern is perfectly periodic, and why any date's weekday can be computed directly rather than by counting forward from a known reference.
Hand methods such as Zeller's congruence and Conway's Doomsday algorithm exploit the same structure with mental-arithmetic shortcuts. Software instead converts the date to a day count from a fixed epoch and takes the remainder modulo seven, which is what runs here. Both approaches agree for every date in the Gregorian era.
Historical dates carry a caveat that catches out genealogists and historians. Countries adopted the Gregorian calendar at different times — 1582 in Catholic Europe, 1752 in Britain and its colonies, 1918 in Russia — and the switch skipped between 10 and 13 days. This calculator uses the proleptic Gregorian calendar, projecting today's rules backwards, so pre-adoption dates will differ from what contemporary records show.
weekday = (days since epoch) mod 7, using the proleptic Gregorian calendarSource: Gregorian calendar structure per ISO 8601:2019; adoption dates per Explanatory Supplement to the Astronomical Almanac.
Worked example
A 40th anniversary falls on 22 August 2027. Which day of the week is it, for venue booking?
- Enter 2027-08-22.
- The calculator returns Sunday.
- The weekend flag confirms it is a weekend date.
- Saturday 21 August would be the alternative for an evening event.
Sunday 22 August 2027 — accurate for the date itself, though most venues price a Saturday event differently.
Frequently asked questions
Does it work for dates before 1582?+
It computes them using today's Gregorian rules projected backwards. Historical records from before local adoption used the Julian calendar and will show a different weekday.
How often does a date fall on the same weekday?+
Usually every 5, 6 or 11 years, following an irregular pattern created by leap years. The full cycle repeats every 400 years.
Which weekday is most common for the 13th?+
Friday, marginally. Over the 400-year cycle the 13th falls on a Friday 688 times, more than any other weekday.
Is Sunday or Monday the first day of the week?+
ISO 8601 says Monday. Many countries and calendar applications display Sunday first, which is a presentation convention rather than a standard.
Last reviewed August 31, 2026. We review this page whenever the underlying formula, tax year, published rate or standard changes.