A lunar calendar is a calendar based on the monthly cycles of the Moon's phases, in contrast to solar calendars, whose annual cycles are based only directly on the solar year. The most commonly used calendar, the Gregorian calendar, is a solar calendar system that originally evolved out of a lunar calendar system. A purely lunar calendar is also distinguished from a lunisolar calendar, whose lunar months are brought into alignment with the solar year through some process of intercalation. The details of when months begin varies from calendar to calendar, with some using new, full, or crescent moons and others employing detailed calculations. Since each lunation is approximately 29+1⁄2 days, it is common for the months of a lunar calendar to alternate between 29 and 30 days. Since the period of 12 such lunations, a lunar year, is 354 days, 8 hours, 48 minutes, 34 seconds, purely lunar calendars are 11 to 12 days shorter than the solar year.