The Julian calendar, which it replaced, computed the period of the earth's orbit around the sun at 365.25 days. Pope Gregory XIII's reform substituted a finer and more accurate calculation: 365.2425 days. Thanks to scientific advances since 1582 we now know that the exact length of the solar year is 365.2422 days.