One solar (sun-based) year lasts about 365 days, but twelve lunar (moon-based) months only last about 354 days. For this reason, the Hebrew calendar adds an extra lunar month seven times in each cycle of 19 years. This rule makes the average Hebrew calendar year about the same length as a solar year, 365 days.