ThisCalculator

Everyday

Sequence of Days: Order, Names & Calendar Logic

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Sequence of Days: Order, Names & Calendar Logic

This article explains the sequence of days in the week and the calendar year, covering the standard order, how it works, common questions, and practical tips. You will learn the seven-day cycle, why months have varying lengths, and how leap years adjust the sequence.

Formula

The sequence of days is a fixed repeating cycle: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. The formula for a given day number n (where Monday = 1) is:

Day name = list[(n – 1) mod 7]

where list is the array [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday] and mod means the remainder after division by 7. For example, day 8 gives (8-1) mod 7 = 0, which is Monday again.

Worked Example

Using the default value of 1 (Monday):

  • Step 1: Subtract 1 from the day number: 1 – 1 = 0.
  • Step 2: Divide by 7 and take the remainder: 0 mod 7 = 0.
  • Step 3: Look up index 0 in the list: Monday.

So day 1 is Monday. If you enter 7, you get (7-1) mod 7 = 6, which is Sunday.

Why Seven Days?

The seven-day week is not based on astronomy like months or years. It likely comes from ancient Babylonian culture, which used a seven-day cycle because of the seven classical planets (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn). The Romans later adopted it, and the names in English are derived from Norse and Roman gods. The sequence has been continuous for thousands of years, with no skipped or repeated days.

How the Calendar Year Fits

A common year has 365 days, which is 52 weeks plus one extra day. That extra day shifts the starting day of the next year forward by one. For example, if January 1 is a Monday, the next year starts on Tuesday. In a leap year (366 days), the shift is two days. This is why a given date (like your birthday) moves to a different weekday each year, except after a leap year when it jumps two days.

Leap Year Logic

Leap years add February 29 to keep the calendar aligned with the Earth’s orbit. The rule is: a year is a leap year if it is divisible by 4, except if it is divisible by 100, unless it is also divisible by 400. So 2000 was a leap year, 1900 was not, and 2100 will not be. This adds an extra day to the sequence every four years, which is why the weekday shift pattern has a 28-year cycle overall.

Common Misconceptions

  • Monday vs. Sunday start: Many calendars show Sunday as the first day, but the international standard ISO 8601 sets Monday as the first day of the week. Both are used; it’s a cultural choice.
  • Weekend length: The two-day weekend is a modern convention. In some countries, the weekend is Friday-Saturday or Saturday-Sunday, and some have a single rest day.
  • Day names are fixed: The names themselves are arbitrary labels; the cycle is what matters. You could rename them, but the sequence would remain.

How to Use This Information

Knowing the sequence helps with planning: calculating what day a future date falls on, scheduling recurring events, or understanding calendar apps. For quick mental math, remember that the same date moves forward one weekday per common year, two after a leap year. For example, if your birthday is on a Wednesday in 2025, it will be on a Thursday in 2026.

Frequently Asked Questions

Why does the day sequence start on Monday in some places and Sunday in others?

It’s a cultural and religious convention. The Judeo-Christian tradition often starts the week on Sunday (the day of rest), while ISO 8601, used in business and technology, starts on Monday. Neither is objectively “correct”; they are just different ways to number the week.

How do I calculate the day of the week for any date?

You can use the Zeller’s congruence formula or the Doomsday method. A simpler way is to use a known reference date and count days, but that is tedious for far dates. Online calculators and programming libraries use these algorithms to give the answer instantly.

Does the sequence ever change, like skipping a day?

No. The seven-day cycle has been continuous for millennia. Calendar reforms (like the Gregorian calendar) changed the lengths of months and years but never skipped a weekday. For example, when the Gregorian calendar was adopted, dates were shifted, but the weekday sequence continued without interruption.

Why are there 52 weeks in a year but 365 days?

Because 52 × 7 = 364, leaving one extra day (or two in a leap year). That extra day is why the weekday of a specific date changes each year. The week is not designed to fit evenly into a year; it’s a human-made cycle.

What is the 28-year calendar cycle?

Over 28 years, the pattern of weekdays for each date repeats exactly, because 28 years contains 7 leap years (28 ÷ 4) and 28 × 365 + 7 = 10,227 days, which is divisible by 7. This is why old calendars from 28 years ago can be reused, but only if the century rule doesn’t break the pattern (e.g., 1900 was not a leap year).

Related

Formula used
in d | Day number (1=Mon) | - | 1 | 1
out name | Day name | - | ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"][d-1] | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.