How did the ancient Egyptians design their calendar?

The ancient Egyptians designed their calendar based on astronomical observations and the annual flooding of the Nile River, which was crucial to their agriculture. Their calendar was one of the first to establish a 365-day year and can be traced back to as early as the third millennium BCE. Here is how they structured it:

1. Civil Calendar: The ancient Egyptian civil calendar was solar-based and divided into three seasons of four months each. These three seasons were known as Akhet (Inundation), Peret (Growth), and Shemu (Harvest), each reflecting a stage of their agricultural cycle.

2. Lunar Calendar: Alongside the solar calendar, they also used a lunar calendar for religious purposes. Months began with the sighting of the new moon, and this lunar calendar was vital for planning religious festivals.

3. 365-Day Year: The civil calendar year consisted of 365 days, which were organized into 12 months of 30 days each, plus an additional five days at the end of the year called the epagomenal days or 'the days upon the year'. These extra days were added to align the calendar with the solar year and were celebrated as the birthdays of certain gods.

4. Decans: The Egyptians also used a system of "decans," which were groups of stars that rose on the horizon just before dawn. Each decan corresponded to a ten-day period (decade) within the calendar, providing a way to track the passage of the night throughout the year.

The ancient Egyptian calendar, however, did not account for the additional fraction of a day (about 1/4 of a day) that the Earth takes to orbit the sun beyond the 365 days. This meant their calendar slowly drifted with respect to the actual solar year by approximately one day every four years. It would take about 1,460 years (known as the Sothic cycle) for the calendar to realign with the solar year.

The significance of the annual Nile flood, which generally occurred with the reappearance of the star Sirius (known to the Egyptians as Sopdet, and to the Greeks as Sothis) in the dawn sky, helped to reset or synchronize the calendar periodically. Observations of Sirius and the associated flooding allowed the Egyptians to predict the onset of the flood and maintain the accuracy of their calendar with regard to agricultural and religious activities.

Overall, the ancient Egyptian calendar was a sophisticated blending of solar and celestial cycles that played a vital role in the daily and spiritual lives of the Egyptian people. It influenced later calendar systems and contributed to our understanding of timekeeping in the ancient world.