The day follows the sun, the month once followed the moon, and the year follows the seasons. The week follows nothing. There is no astronomical cycle of seven days; the number is a social invention, and yet it has proved more durable than either the month or the year as people actually experience them.
The oldest seven-day cycle
The origins of the seven-day week are debated. Mesopotamian lunar tradition marked the seventh, fourteenth, twenty-first and twenty-eighth days of the month as days of rest or ill omen, and that practice is often named as an ancestor of the week; the Hebrew week, with its seventh-day sabbath, established a continuous seven-day cycle and carried it into the Mediterranean world. The seven-day week then spread through the Roman world over the first centuries of the Common Era — Rome had previously used an eight-day market cycle — and by the fourth century it was widely established across the empire.
The names are a record of that journey. In English, Tuesday through Friday are named for Tiw, Woden, Thor and Frigg — Germanic equivalents of Mars, Mercury, Jupiter and Venus — because Roman weekday names for the five visible planets were translated into local gods when the calendar reached northern Europe. Saturday keeps Saturn, and Sunday and Monday keep the sun and the moon, which were the two bodies the Roman week named directly.
Why seven, and not ten
Why seven survived is a question with several answers. It divides the lunar month into four roughly equal parts, which made it useful for markets and religious observance. It is short enough that a rest day comes round often, and long enough that work can accumulate. It is not tied to the sun or the moon, so it survives calendar reforms: the Gregorian reform changed the date, not the weekday, and the seven-day cycle has run without interruption across the change.
The week is also the part of the calendar most resistant to politics. Revolutionary France tried a ten-day week in 1793, with three weeks to a month; the Soviet Union tried a five-day week in 1929 and a six-day week in 1931. Both were abandoned within a few years, in part because they broke the habit of a shared rest day and in part because they made ordinary social life impossible to schedule.
Numbering the week
What remains is a cycle with no natural basis and near-universal observance. ISO 8601 numbers the weeks of the year, with Monday as the first day and week 1 defined as the week containing the first Thursday; calendars in the United States and much of the Middle East still start the week on Sunday or Saturday. The disagreement is about which day is first, not whether seven is right — which is the strongest evidence that the week is a human institution that has outlasted every attempt to improve it.