Editions in English, French and Portuguese
Science and discovery

The Gregorian Calendar: Why Do Months Have Different Lengths?

Ten dates disappeared from the calendar in 1582, July and August retained their 31 days each, and September still occupies a position at odds with the origin of its name. The history of the calendar we use reveals how astronomy, mathematics, politics, and tradition helped shape the way we measure time.

July and August each have 31 days. February has only 28 in most years, while September, whose name derives from the Latin word for seven, occupies the ninth position on the calendar. These peculiarities are part of a system used daily by billions of people, yet their origins are rarely questioned. The distribution of days among the months does not follow a regular mathematical pattern, and the explanation lies in more than two thousand years of historical transformations and attempts to reconcile the organization of civil life with astronomical cycles.

The Gregorian calendar, currently used as the primary international civil calendar, did not emerge as an entirely new system. It represents a reform of an earlier calendar developed in ancient Rome, which had already undergone successive modifications. Its structure brings together conventions established during different periods, some related to Roman politics, others to religious practices, and still others to the scientific need to keep calendar dates approximately synchronized with the seasons.

There is an important distinction between the age of the calendar and the numbering of years. When we say that the year is 2026, this does not mean that the Gregorian calendar has existed for 2,026 years. It was introduced only in 1582, during the papacy of Gregory XIII. The numbering of years was inherited from an earlier Christian tradition developed beginning in the sixth century, which established a historical reference point for identifying years. Therefore, the way we number years and the rules used to distribute days were not necessarily established at the same time.

To understand this evolution, we must return to ancient Rome, where many of the names of today's months originated. According to Roman tradition, an early calendar was organized into ten months, beginning in March. Although the details of this period remain historically uncertain, the surviving names provide important clues about how the year was once organized.

September derives from septem, the Latin word for seven. October comes from octo, meaning eight; November from novem, meaning nine; and December from decem, meaning ten. These names reflect a sequence in which March occupied the first position. As the calendar evolved and January became established as the beginning of the civil year, the months moved to different positions but retained their traditional names.

This continuity explains why September remains associated with the number seven despite being the ninth month. It is not exactly a numbering error, but rather a historical convention that survived changes to the calendar. The names remained while the organization of the year changed.

Before the reform introduced by Julius Caesar, the Roman calendar used during the Republican period normally contained 355 days distributed across twelve months. Because this was shorter than the annual cycle of the seasons, it became necessary to periodically insert an intercalary month, an additional period intended to compensate for the accumulated difference.

The procedure, however, presented difficulties. The insertion of these additional days depended on administrative and religious decisions, which were not always implemented consistently. Over time, the months could drift away from their expected correspondence with the seasons, disrupting the organization of public events, agricultural activities, and other important aspects of Roman society.

In 46 BC, Julius Caesar introduced a reform intended to correct these difficulties. Based on the astronomical knowledge available at the time, a calendar was established with 365 days in common years and one additional day every four years. The new system, which took effect in 45 BC, became known as the Julian calendar.

The change represented an important advance. Instead of relying on the irregular insertion of additional months, the calendar began using a predictable rule to follow the cycle of the seasons. Its structure became more stable and served as the foundation for civil timekeeping in different societies for many centuries.

The transition, however, required an extraordinary correction. According to traditional historical reconstruction, the year 46 BC contained 445 days. This exceptional period resulted from the need to compensate for the accumulated discrepancy and prepare for the adoption of the new calendar. The episode became known as the year of confusion, a name that reflects the difficulties the Romans faced in reorganizing their system of timekeeping.

It is in this context that we encounter one of the calendar's best-known curiosities: the origin of the names July and August.

The month we now call July was originally known as Quintilis, a name associated with its former position as the fifth month. In 44 BC, it was renamed Julius in honor of Julius Caesar. Decades later, in 8 BC, the month Sextilis, previously associated with the sixth position, was renamed Augustus in honor of Rome's first emperor, Augustus.

The renaming of these months is historically documented. However, a popular explanation for their lengths deserves careful examination.

According to a widely circulated story, Augustus supposedly considered it inappropriate for the month named after him to have only 30 days while July, associated with Julius Caesar, had 31. To avoid this alleged difference in prestige, he supposedly ordered that one day be transferred from February to August. The result would have been two consecutive months with 31 days and a reduction in February to the length we know today.

The story offers a simple and seemingly convincing explanation for an unusual feature of the calendar. The problem is that the historical evidence does not support this interpretation.

Ancient records indicate that Sextilis already had 31 days before it was renamed in honor of Augustus. The distribution of days established during the Julian period does not correspond to the initially regular sequence described in the popular story. The explanation involving a symbolic rivalry between the two rulers spread long after the events themselves and finds no confirmation in the ancient sources considered most reliable.

Therefore, although July and August were named in honor of Roman political figures, there is insufficient evidence to conclude that their consecutive 31-day lengths resulted from a decision by Augustus motivated by rivalry with Julius Caesar.

This distinction is important because it demonstrates how certain historical explanations can become popular even when they do not correspond to the available evidence. A simple story tends to be easily remembered, especially when it offers a justification for something that appears irregular. Historical investigation, however, requires distinguishing documented events and established facts from interpretations developed later.

An interesting question remains: why not organize the months more regularly, alternating between 30 and 31 days?

Mathematics presents the first difficulty. If the twelve months were divided into six periods of 30 days and six of 31, the result would be a year of 366 days. Such an arrangement would be suitable for the length of a leap year, but not for a common year, which contains 365 days.

This does not mean that creating calendars with a different distribution of days among the months would be impossible. Other mathematically feasible arrangements exist. However, any system based exclusively on whole days must confront a fundamental problem: the annual cycle of the seasons does not correspond exactly to a whole number of days.

To understand this difficulty, we need to examine Earth's movement around the Sun.

The interval used as the primary reference for keeping the calendar aligned with the seasons is known as the tropical year. In simplified terms, it corresponds to the cycle of Earth's recurring seasons and has an approximate duration of 365.2422 days. This small additional fraction means that a year containing exactly 365 days is slightly shorter than the astronomical cycle the calendar is intended to follow.

The difference amounts to approximately five hours, forty-eight minutes, and forty-six seconds per year. Although this may seem small, it accumulates progressively. If every calendar year contained exactly 365 days, calendar dates would gradually drift away from the seasons, and the discrepancy would become increasingly noticeable over the centuries.

Leap years exist precisely to compensate for part of this difference. By periodically adding one day to the calendar, it becomes possible to bring the average length of the civil year closer to the duration of the seasonal cycle.

Julius Caesar's reform established a relatively simple solution: add one day every four years. Under this rule, the average length of the Julian year became 365.25 days.

The approximation worked reasonably well, but it introduced a small difference relative to the tropical year. On average, the Julian calendar was approximately eleven minutes longer than the cycle of the seasons. Considered in isolation, this interval seems insignificant. However, accumulated over centuries, it produced a progressive shift between calendar dates and certain astronomical events.

It was this difference that motivated another reform, carried out more than 1,600 years after the reorganization introduced by Julius Caesar.

In 1582, during the papacy of Gregory XIII, the calendar we use today was introduced. One of the reform's main objectives was to restore the correspondence between the civil calendar and the astronomical references used to calculate the date of Easter.

By that time, the accumulation of small differences had produced a shift of approximately ten days relative to the reference adopted for the March equinox. An equinox is the astronomical event associated with the moment when the Sun crosses the plane of Earth's equator, marking one of the year's seasonal transitions.

The correction required a measure that remains one of the most remarkable episodes in the history of calendars.

In territories that immediately adopted the Gregorian reform, Thursday, October 4, 1582, was followed by Friday, October 15. The dates corresponding to October 5 through October 14 were omitted during that transition.

This does not mean that ten days physically disappeared or that the passage of time was altered. What occurred was a change in the numbering of dates. The sequence of weekdays continued normally, while the civil calendar adopted a new reference to restore its intended alignment with the seasonal cycle.

The reform also modified the rule for determining leap years. Under the Gregorian calendar, years divisible by four generally continue to receive an additional day. However, years divisible by 100 are not leap years unless they are also divisible by 400.

For this reason, the year 2000 was a leap year, but 2100 will not be. The same applies to 2200 and 2300, while 2400 will once again be a leap year.

The rule may appear complex at first, but it has a precise mathematical justification. Over a period of 400 years, the Gregorian calendar contains 97 leap years. This produces an average annual length of 365.2425 days, very close to the approximately 365.2422 days of the tropical year.

The remaining difference amounts to only a few dozen seconds per year, considering the current approximate value of the tropical year. This precision makes it possible to maintain a remarkably stable correspondence between the calendar and the seasons over very long periods, although further adjustments may eventually become necessary over longer historical timescales.

There is, however, one important detail: the Gregorian reform did not reorganize the distribution of days among the months.

January retained its 31 days, April continued to have 30, February kept its 28 days in common years, and July and August maintained their consecutive 31-day lengths. The reform corrected the average length of the civil year and the accumulated drift, but preserved most of the monthly structure inherited from the Julian calendar.

This decision helps explain the calendar's current configuration. The Gregorian calendar was not designed from scratch. It refined a system that was already widely used, preserving traditional conventions while modifying the rules necessary to improve its astronomical accuracy.

The adoption of the new calendar did not occur simultaneously in every country. Different states began using it at different times, according to their political, religious, and administrative circumstances. For centuries, societies maintaining diplomatic and commercial relations could use different calendars to record events that occurred on the same day.

A particularly curious example occurred in Sweden, where attempts to modify the system of counting days created synchronization difficulties. In 1712, during a calendar correction process, the country actually recorded a February 30. The episode illustrates how the adoption of new rules did not always proceed simply or uniformly.

The existence of different calendars also reveals that the organization of months does not depend exclusively on astronomy. While the Gregorian calendar seeks to follow the cycle of the seasons, other historical systems were structured around the phases of the Moon or a combination of lunar and solar cycles.

The lunar month, associated with the interval between equivalent phases of the Moon, has an average duration of approximately 29.5 days. The tropical year, meanwhile, lasts slightly more than 365 days. These durations do not align perfectly, which explains why lunar and lunisolar calendars must adopt their own strategies for organizing months and years.

The Gregorian calendar uses months whose lengths were established through historical conventions, but organizes years according to an approximation of the solar cycle. There is no astronomical requirement for July to have 31 days, August to have 31 as well, or February to be the shortest month. These characteristics result from the evolution of the Roman system and the choices preserved in subsequent reforms.

The distinction between natural phenomena and human conventions is essential to understanding the history of the calendar. Earth's rotation provides the fundamental reference for the daily cycle, while its orbit and the tilt of its axis are related to the annual cycle of the seasons. The names of the months, the beginning of the civil year, and the distribution of days among them, however, are choices developed by societies over time.

These conventions have a characteristic that helps explain their persistence: once incorporated into social organization, they become difficult to change. Calendars govern contracts, civil records, public institutions, economic systems, educational activities, and countless other operations. Fundamentally altering their structure would require extensive coordination, and the benefits would have to justify the costs and difficulties of the transition.

For this reason, the calendar's apparent irregularity should not be confused with a lack of precision. Its monthly distribution preserves historical peculiarities, but its leap-year rule provides a highly effective astronomical approximation. The system therefore combines a traditional structure with a mathematical mechanism developed to reduce the discrepancy between civil timekeeping and the seasonal cycle.

Examining the months allows us to recognize different stages of this evolution. September, October, November, and December preserve numerical references from an ancient Roman arrangement. July and August retain political tributes made in antiquity. February remains the month whose length varies, while the Gregorian leap-year rule continues to correct small differences between the civil year and the tropical year.

The calendar we use every day is thus a record of decisions made in different historical periods. Its history demonstrates that seemingly simple instruments can bring together scientific knowledge, political interests, and cultural traditions developed over centuries.

The principal contribution of the Gregorian reform was not to create a perfectly regular distribution of months, but to improve the correspondence between the counting of days and astronomical cycles. The preservation of month names and lengths reveals an equally important concern in the organization of societies: maintaining the continuity of a familiar system, even when its rules require correction.

More than four centuries after the reform of 1582, we continue to use a structure that combines the Roman legacy with highly precise astronomical calculations. The unequal lengths of the months, far from being merely a mathematical curiosity, offer insight into how scientific knowledge and historical conventions shape the organization of everyday life.

The Gregorian calendar does not represent a natural and inevitable division of time. It is a system constructed and refined by humanity to track astronomical phenomena and establish common reference points. Its precision depends on mathematics and astronomy; its present form preserves choices made throughout history.

It is precisely this combination that explains why, well into the twenty-first century, we use a scientifically sophisticated calendar that still bears the names, decisions, and traditions of ancient Rome.

Author's Considerations

This article presents a historical overview of the evolution of the Gregorian calendar, based on information published by official astronomy and research institutions. The analyses, interpretations, and reflections presented reflect the author's personal perspective and do not necessarily represent the positions of the institutions mentioned.

Scientific and Historical References

Royal Observatory of Belgium. The Roman and Julian Calendars.

Royal Observatory of Belgium. The Gregorian Calendar.

Royal Observatory of Belgium. What Is the Gregorian Calendar Reform?

United States Naval Observatory. Leap Years.

United States Naval Observatory. Julian Date Converter.