Months have different lengths because our calendar isn’t really based on any single natural cycle. It’s a patchwork of ancient Roman politics, astronomical compromise, and centuries of tweaking. The solar year is 365.242 days long, and no way of dividing that into whole months comes out evenly. So the calendar we inherited reflects the messy decisions of kings, dictators, and popes more than any tidy mathematical logic.
The Original Roman Calendar Had Only 10 Months
The earliest Roman calendar, traditionally attributed to Romulus, started in March and ended in December. It had just 10 months: six with 30 days and four with 31, totaling 304 days. Winter was simply unaccounted for. The Romans treated those roughly 61 leftover days as a dead period between years, with no month names at all.
You can still see traces of this system in month names. September through December literally mean “seventh month” through “tenth month” in Latin, because they were the seventh through tenth months when the calendar started in March. The fact that they’re now the ninth through twelfth months is a clue that something got rearranged along the way.
January and February Were Squeezed In Later
Around 713 BCE, King Numa Pompilius added January and February to fill the winter gap and bring the calendar closer to the solar year. But the math still didn’t work out to a clean 365. February, placed at the end of the year (the Roman year still began in March), got the shortest allocation: 28 days. It was essentially the leftover month, absorbing whatever days remained after the other months took their share.
Romans also considered even numbers unlucky, so most months were adjusted to have odd-numbered day counts (29 or 31). February, associated with purification rituals and the dead, was the one month allowed to keep an even number. That superstition baked a permanent asymmetry into the calendar that persists today.
Julius Caesar Rebuilt the Calendar in 46 BCE
By the first century BCE, the Roman calendar had drifted so far from the actual seasons that Julius Caesar intervened. Working with an Alexandrian astronomer, he restructured the calendar around the solar year of 365 days, with an extra day every four years to account for the remaining fraction.
To make the transition, Caesar declared 46 BCE would last 445 days. It became known as “the last year of confusion.” After that reset, days were redistributed among the 12 months to reach the 365-day total. January, March, May, July, August, October, and December got 31 days. April, June, September, and November got 30. February stayed at 28, with 29 in leap years.
The month Quinctilis was renamed July in Caesar’s honor. Later, his successor Augustus renamed Sextilis to August. A popular story claims Augustus also lengthened August from 30 to 31 days by stealing a day from February, unwilling to let his month be shorter than Julius’s. While historians debate the details, the result is what we live with: two back-to-back 31-day months in July and August, and a February stuck at 28.
Why Not Just Make Every Month the Same Length?
Twelve months of equal length would give you 30 days each, but that only adds up to 360. You’d still need to distribute five extra days (six in a leap year) somewhere. There’s no division of 365 into 12 equal whole-number parts.
The lunar cycle doesn’t help either. A lunar month (new moon to new moon) averages 29.531 days. Twelve lunar months total about 354 days, falling 11 days short of the solar year. Calendars that follow the moon, like the Islamic calendar, do drift through the seasons for exactly this reason. The Gregorian calendar abandoned any pretense of tracking the moon and instead prioritized keeping the seasons in place, which meant accepting months of unequal length as the price of a workable system.
People have tried alternatives. In the 1920s and 30s, the International Fixed Calendar proposed 13 months of exactly 28 days each, totaling 364 days, with one extra “blank” day outside any month. The League of Nations seriously considered adopting it, but religious groups objected because a blank day would disrupt the seven-day weekly cycle of the Sabbath. The idea quietly died.
Leap Years Keep the Calendar Aligned
The solar year is 365.242190 days, not a clean 365.25. That small difference matters over centuries. The Julian calendar’s simple “one leap day every four years” rule overestimated the year by about 11 minutes and 14 seconds. That caused the calendar to drift roughly one day every 314 years.
By 1582, the drift had accumulated to 10 full days. The vernal equinox, which was supposed to fall on March 21, was landing on March 11. Pope Gregory XIII fixed this with two changes. First, he skipped 10 days outright: October 4, 1582, was directly followed by October 15. Second, he refined the leap year rule. Years divisible by 4 are still leap years, but years divisible by 100 are not, unless they’re also divisible by 400. So 1900 was not a leap year, but 2000 was. This Gregorian correction keeps the calendar accurate to within one day every 3,236 years.
The Knuckle Trick for Remembering
If you can never remember which months have 31 days, make a fist. Starting with your pinky knuckle as January, count across: knuckles are 31-day months, the valleys between knuckles are 30-day months (or 28 for February). When you reach your index finger knuckle at July, jump back to the pinky knuckle for August and keep going. Every knuckle lands on a 31-day month, every valley on a shorter one. The pattern works because the two consecutive 31-day months, July and August, fall right at the point where you restart from the pinky.

