Leap Year Calculator
Check if any year is a leap year and list all leap years in a given range. Enter values for instant results with step-by-step formulas.
Formula
Leap if: (year % 4 == 0) AND (year % 100 != 0 OR year % 400 == 0)
A year is a leap year if it is divisible by 4, except for century years which must also be divisible by 400. This gives an average calendar year of 365.2425 days, closely matching Earth's orbital period of 365.2422 days.
Worked Examples
Example 1: Checking Year 1900 vs 2000
Problem: Determine whether 1900 and 2000 are leap years and explain which rules apply.
Solution: Year 1900:\n- Divisible by 4? Yes (1900/4 = 475)\n- Divisible by 100? Yes (1900/100 = 19) โ Exception applies\n- Divisible by 400? No (1900/400 = 4.75) โ NOT a leap year\n\nYear 2000:\n- Divisible by 4? Yes\n- Divisible by 100? Yes โ Exception applies\n- Divisible by 400? Yes (2000/400 = 5) โ IS a leap year
Result: 1900 = NOT a leap year (365 days) | 2000 = Leap year (366 days)
Example 2: Leap Years in the 21st Century
Problem: How many leap years are there between 2001 and 2100, and is 2100 a leap year?
Solution: Leap years from 2001-2100: every 4th year starting from 2004\n2004, 2008, 2012, ..., 2096 = 24 leap years\n2100: Divisible by 4 and 100, but NOT by 400 โ NOT a leap year\nTotal: 24 leap years in the 21st century\nCompare: Most centuries have 24 or 25 leap years
Result: 24 leap years in 2001-2100 | 2100 is NOT a leap year
Frequently Asked Questions
What is a leap year and why do we have them?
A leap year is a year with 366 days instead of the usual 365, with the extra day added as February 29th. Leap years exist because Earth's orbital period around the Sun is not exactly 365 days โ it is approximately 365.2422 days (365 days, 5 hours, 48 minutes, and 46 seconds). Without leap years, the calendar would drift by about one day every four years relative to the seasons. After 100 years, the calendar would be off by about 24 days, meaning seasons would gradually shift to different months. The leap year system keeps the calendar aligned with Earth's orbital position, ensuring that equinoxes and solstices occur at roughly the same calendar dates each year. The Gregorian calendar, introduced in 1582, refined the leap year rules for greater accuracy.
What are the rules for determining a leap year?
The Gregorian calendar uses three rules to determine leap years, applied in order: (1) If the year is divisible by 4, it is a leap year. (2) However, if the year is also divisible by 100, it is NOT a leap year. (3) But if the year is divisible by 400, it IS a leap year despite rule 2. So the year 2024 is a leap year (divisible by 4, not by 100). The year 1900 was NOT a leap year (divisible by 4 and 100, but not 400). The year 2000 WAS a leap year (divisible by 4, 100, and 400). This three-tier system produces an average year length of 365.2425 days, which is extremely close to the actual tropical year of 365.2422 days, with an error of only one day every 3,236 years.
How does the leap year system compare to other calendar systems?
Different calendar systems handle the fractional day problem differently. The Julian calendar (introduced by Julius Caesar in 46 BC) simply added a leap day every 4 years, giving an average year of 365.25 days โ slightly too long, causing a drift of about 11 minutes per year. By 1582, this had accumulated to 10 days of error, prompting Pope Gregory XIII to introduce the Gregorian calendar with the century-year correction rules. The Islamic calendar is purely lunar with 354 or 355 days per year and does not attempt to track the solar year. The Hebrew calendar uses a 19-year Metonic cycle, adding an extra month seven times in 19 years. The Persian (Solar Hijri) calendar uses astronomical observations for exceptional accuracy, with an error of less than one day per 3.8 million years.
How do leap years work and why do we have them?
A year is a leap year if divisible by 4, except century years must also be divisible by 400. So 2000 was a leap year but 1900 was not. Leap years add February 29 to correct for the fact that Earth's orbit takes approximately 365.2422 days, not exactly 365.
How accurate are the results from Leap Year Calculator?
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
Can I use Leap Year Calculator on a mobile device?
Yes. All calculators on NovaCalculator are fully responsive and work on smartphones, tablets, and desktops. The layout adapts automatically to your screen size.