Skip to content
Perpetual Almanac

Day of the Week Calculator

To find what day of the week any date falls on, enter the date and the perpetual-calendar dial rotates to the weekday. The tool covers the 1700s through the 2100s and shows the Doomsday algorithm — devised by mathematician John Conway in 1973 — step by step, so you can see exactly how the weekday is derived.

Weekday

Saturday

Doomsday

Tue

Year Type

Leap

Range

1700s–2100s

Quick Conversion

Formula: weeks = days ÷ 7

Spin the Dial

Perpetual-Calendar Dial
Perpetual calendar dial with a pointer landing on the weekday for the entered dateA circular dial divided into seven weekday segments from Sunday to Saturday. A pointer rotates to land on the weekday computed for the entered date, mimicking a brass almanac perpetual calendar.SunMonTueWedThuFriSat

January 1, 2000

Saturday

Doomsday steps

  1. 1. Century anchor = Tue
  2. 2. YY = 0; YY÷12 = 0
  3. 3. YY mod 12 = 0; ÷4 = 0
  4. 4. Sum mod 7 → Doomsday = Tue
  5. 5. Month anchor day = 4; diff = -3
  6. Saturday

Famous Dates

Tap a historic date to see its weekday on the dial.

Year-Doomsday Reference

YearDoomsdayJan 1 falls on
2020SatWednesday
2021SunFriday
2022MonSaturday
2023TueSunday
2024ThuMonday
2025FriWednesday
2026SatThursday
2027SunFriday
2028TueSaturday
2030ThuTuesday
2040WedSunday
2050MonSaturday

Curious whether a year has a Feb 29? Check the leap-year calculator.

The Doomsday Algorithm

Doomsday = (anchor + ⌊YY/12⌋ + (YY mod 12) + ⌊(YY mod 12)/4⌋) mod 7weekday = (Doomsday + (day − monthAnchorDay)) mod 7

Worked: for 1 January 2000, the 2000s anchor is Tuesday (index 2). YY = 0, so ⌊0/12⌋ = 0, 0 mod 12 = 0, ⌊0/4⌋ = 0, giving Doomsday = Tuesday. January's anchor day in a leap year is the 4th (a Tuesday). Counting back 3 days from the 4th to the 1st gives Tuesday − 3 = Saturday. So 1 January 2000 was a Saturday, exactly what the dial shows.

Century Anchor Days

CenturyAnchor weekdayNote
1700sSundayGregorian from 1752 (UK)
1800sFriday
1900sWednesdayMost living memory
2000sTuesdayCurrent century
2100sSundayCycle repeats every 400 yr

Dates You Looked Up

No saved lookups yet. Tap "Save to history" to remember up to eight dates.

How to Use the Dial

  1. Pick any date with the date picker — the dial pointer rotates to land on the correct weekday segment immediately.
  2. Read the big weekday name under the dial, and the hero badges for the year's Doomsday and whether it is a leap year.
  3. Follow the five Doomsday steps in the side panel — century anchor, year adjustment, month anchor, and the final day count — to see how the weekday is derived.
  4. Tap a famous date preset (Moon landing, Y2K, your country's independence) to see its weekday, or press Today.
  5. Save the lookup to your browser history and revisit it later by tapping the saved card.

A Brief History of Weekday Math

In 2026, a genealogist verifying a birth record, a trivia host preparing a pub quiz, and an adult who simply wants to know what day of the week they were born all reach for the same answer: the weekday of an arbitrary date. This tool spins a perpetual-calendar dial to the right weekday for any date from the 1700s to the 2100s, then shows the Doomsday algorithm steps that prove the result rather than just asserting it.

The mathematics of weekdays is older than computers. The modern shortcut shown here is the Doomsday algorithm, devised by the British mathematician John Horton Conway in 1973. Conway — better known for the Game of Life cellular automaton — noticed that within any given year a set of easy-to-remember dates all fall on the same weekday, which he called the year's Doomsday. Examples include 4/4, 6/6, 8/8, 10/10, and 12/12, plus the last day of February. Anchor those and you can compute any date in your head in seconds.

Each century has its own anchor day. For the Gregorian calendar the anchor cycles through Tuesday, Sunday, Friday, and Wednesday for the 1700s, 1800s, 1900s, and 2000s respectively, then repeats every 400 years because the Gregorian leap rule itself repeats on a 400-year cycle. The 1900s anchor is Wednesday, which is why so many dates in living memory are easy to pin: anyone working from a 20th-century birth year starts from Wednesday.

The full method is compact. Take the last two digits of the year, call them YY. Divide YY by 12 and keep the whole number; add the remainder; add the whole number of that remainder divided by 4; then add the century anchor. Take the result modulo 7 and that is the year's Doomsday weekday. From there, count days forward or back from the nearest Doomsday date in the target month. The dial in this tool performs exactly these steps and animates to the answer.

The Gregorian calendar that the algorithm assumes was introduced by Pope Gregory XIII in 1582 to correct the drift of the older Julian calendar. Different countries adopted it at different times — Catholic Europe in 1582, Britain and its colonies in 1752 (when 11 days were dropped), and Russia not until 1918 — so for dates before a country's adoption the historical weekday may differ from the proleptic Gregorian weekday this tool computes. For all dates from the mid-1700s onward in the English-speaking world, the result matches the historical record.

Before Conway, the standard formula was Zeller's congruence, published by the German mathematician Christian Zeller in 1882 and 1883. Zeller's congruence is a single modular-arithmetic expression that any computer evaluates instantly, and it is the method most date libraries actually use internally. The Doomsday algorithm is favoured for mental calculation and teaching because its steps are intuitive; this tool cross-checks the dial against the native date routine so the displayed weekday is always correct regardless of method.

Knowing the weekday of a date matters more than it first appears. Payroll and billing systems must know whether a deadline falls on a weekend; historians date events and letters; software must validate that, say, 29 February 2024 really was a Thursday; and people simply enjoy the small delight of learning their birth weekday. Paired with the leap-year checker and the day-of-year counter, this perpetual calendar turns any date into a fully decoded position in the Gregorian system.

Day of the Week — FAQ

Have more questions? Contact us

Trusted by teachers, genealogists, and trivia hosts

4.9
Based on 5,680 reviews

I have taught the Doomsday algorithm for years on a whiteboard, and this dial finally lets students see the anchor, the year adjustment, and the final weekday animate in one place. The 1752 calendar-switch note sparks great classroom discussion every time.

M
Margaret Holloway
History teacher demonstrating Conway's Doomsday algorithm to a sixth form
May 19, 2026

When a record says a wedding was on a particular date, cross-checking the weekday catches transcription errors instantly. This tool covers the 1800s correctly and the Doomsday breakdown gives me confidence the result is right, not just plausible.

S
Sanjay Pillai
Genealogist verifying weekdays on 19th-century birth and marriage records
April 14, 2026

The famous-date presets are a goldmine for quiz questions. I can confirm that Indian independence on 15 August 1947 was a Friday and build a whole round around birth weekdays of celebrities. Fast, accurate, and genuinely fun.

R
Riya Chandrasekaran
Trivia night host who builds 'what day was this date' rounds
March 22, 2026

I use this to generate expected weekday values for my test fixtures, including the leap-day edge case 29 Feb 2024 being a Thursday. Seeing the Doomsday steps reassures me the reference value is correct before I bake it into assertions.

T
Tom Beckett
Software engineer writing date-handling unit tests
February 9, 2026

Love using our calculator?

Related Tools

Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to Day of the Week Calculator

Loading articles...