Determine if a year is a leap year

What is a Leap Year?

A leap year is an adjustment made to align the calendar year with the astronomical year (the Earth’s orbit around the Sun). In the Gregorian calendar, a leap year occurs every four years. Generally, a year is considered a leap year if it is divisible by 4, and either not divisible by 100 or divisible by 400. The key feature of a leap year is that February has 29 days, making the total number of days in the year 366.

How to Determine if a Year is a Leap Year?

To determine if a year is a leap year, follow these rules:

For example:

Is This Year a Leap Year?

This year is 2025. According to the rules mentioned above:

Since 2025 is neither divisible by 4 nor by 400, it is not a leap year.

When is the Next Leap Year?

It is currently 2025. To find the next leap year, we need to find the next year that satisfies the leap year conditions (divisible by 4 but not by 100, or divisible by 400).

2026

2026 is not divisible by 4 or 400, so it is not a leap year.

2027

2027 is not divisible by 4 or 400, so it is not a leap year.

2028

2028 is divisible by 4 but not by 100, so it is a leap year.

Therefore, the next leap year is 2028.

Leap Year List

Here is a list of leap years from 1800 to 3000. You can refer to this list to find the corresponding leap years for any given range of years.

Range Leap Year
1800 ~ 19001804, 1808, 1812, 1816, 1820, 1824, 1828, 1832, 1836, 1840, 1844, 1848, 1852, 1856, 1860, 1864, 1868, 1872, 1876, 1880, 1884, 1888, 1892, 1896
1900 ~ 20001904, 1908, 1912, 1916, 1920, 1924, 1928, 1932, 1936, 1940, 1944, 1948, 1952, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988, 1992, 1996
2000 ~ 21002000, 2004, 2008, 2012, 2016, 2020, 2024, 2028, 2032, 2036, 2040, 2044, 2048, 2052, 2056, 2060, 2064, 2068, 2072, 2076, 2080, 2084, 2088, 2092, 2096
2100 ~ 22002104, 2108, 2112, 2116, 2120, 2124, 2128, 2132, 2136, 2140, 2144, 2148, 2152, 2156, 2160, 2164, 2168, 2172, 2176, 2180, 2184, 2188, 2192, 2196
2200 ~ 23002204, 2208, 2212, 2216, 2220, 2224, 2228, 2232, 2236, 2240, 2244, 2248, 2252, 2256, 2260, 2264, 2268, 2272, 2276, 2280, 2284, 2288, 2292, 2296
2300 ~ 24002304, 2308, 2312, 2316, 2320, 2324, 2328, 2332, 2336, 2340, 2344, 2348, 2352, 2356, 2360, 2364, 2368, 2372, 2376, 2380, 2384, 2388, 2392, 2396
2400 ~ 25002400, 2404, 2408, 2412, 2416, 2420, 2424, 2428, 2432, 2436, 2440, 2444, 2448, 2452, 2456, 2460, 2464, 2468, 2472, 2476, 2480, 2484, 2488, 2492, 2496
2500 ~ 26002504, 2508, 2512, 2516, 2520, 2524, 2528, 2532, 2536, 2540, 2544, 2548, 2552, 2556, 2560, 2564, 2568, 2572, 2576, 2580, 2584, 2588, 2592, 2596
2600 ~ 27002604, 2608, 2612, 2616, 2620, 2624, 2628, 2632, 2636, 2640, 2644, 2648, 2652, 2656, 2660, 2664, 2668, 2672, 2676, 2680, 2684, 2688, 2692, 2696
2700 ~ 28002704, 2708, 2712, 2716, 2720, 2724, 2728, 2732, 2736, 2740, 2744, 2748, 2752, 2756, 2760, 2764, 2768, 2772, 2776, 2780, 2784, 2788, 2792, 2796
2800 ~ 29002800, 2804, 2808, 2812, 2816, 2820, 2824, 2828, 2832, 2836, 2840, 2844, 2848, 2852, 2856, 2860, 2864, 2868, 2872, 2876, 2880, 2884, 2888, 2892, 2896
2900 ~ 30002904, 2908, 2912, 2916, 2920, 2924, 2928, 2932, 2936, 2940, 2944, 2948, 2952, 2956, 2960, 2964, 2968, 2972, 2976, 2980, 2984, 2988, 2992, 2996