Home › Time & Date › Leap Year Checker

Leap Year Checker

Enter a year to see whether it is a leap year and exactly why, plus the next and previous leap years. Or list and count all the leap years between any two years.

Last updated:

–
    Previous leap year–
    Next leap year–
    Days in the year–
    February 29 falls on–

    Leap years in a range

    Advertisement
    Advertisement

    How to use the Leap Year Checker

    1. Type a year, or use the − and + buttons to step through years.
    2. Press Check year (the answer also updates as you type).
    3. Read the explanation: each step of the divisibility rule is ticked or crossed.
    4. Enter a range under Leap years in a range and press Find leap years to list and count them.
    5. Copy or download the list if you need it elsewhere.

    The leap year rule

    In the Gregorian calendar, which almost every country uses today:

    1. If the year is divisible by 4, it is a leap year,
    2. unless it is divisible by 100, in which case it is not,
    3. unless it is also divisible by 400, in which case it is a leap year after all.

    In code: leap = (y % 4 == 0 && y % 100 != 0) || y % 400 == 0. That gives 97 leap years in every 400 years.

    Year÷ 4÷ 100÷ 400Leap year?
    2023NoNoNoNo
    2024YesNoNoYes
    1900YesYesNoNo
    2000YesYesYesYes
    2100YesYesNoNo
    2400YesYesYesYes

    Leap years from 1900 to 2100

    1904, 1908, 1912, 1916, 1920, 1924, 1928, 1932, 1936, 1940, 1944, 1948, 1952, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988, 1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020, 2024, 2028, 2032, 2036, 2040, 2044, 2048, 2052, 2056, 2060, 2064, 2068, 2072, 2076, 2080, 2084, 2088, 2092 and 2096. Neither 1900 nor 2100 is a leap year, so there are 49 in this span.

    Counting leap years with a formula

    The number of Gregorian leap years from year 1 up to and including year y is

    L(y) = ⌊y / 4⌋ − ⌊y / 100⌋ + ⌊y / 400⌋

    and the number between years a and b (inclusive) is L(b) − L(a − 1). Example: from 1901 to 2000, L(2000) = 500 − 20 + 5 = 485 and L(1900) = 475 − 19 + 4 = 460, so there are 25 leap years, including 2000.

    Why the calendar needs the century rule

    Earth takes about 365.24219 days to go around the Sun (a tropical year). The Julian calendar of 45 BC added a leap day every four years, for an average of 365.25 days, which ran about 11 minutes fast each year. By the 1500s the calendar had drifted 10 days from the seasons, so Pope Gregory XIII introduced the Gregorian calendar in 1582: ten days were skipped and century years became leap years only when divisible by 400. The average year is now 365.2425 days, which will take more than 3,000 years to drift by one day.

    Frequently asked questions

    How do I know if a year is a leap year?

    In the Gregorian calendar a year is a leap year if it is divisible by 4, except years divisible by 100, which are only leap years if they are also divisible by 400. So 2024 and 2000 are leap years, but 1900 and 2100 are not.

    When is the next leap year?

    The leap years after 2024 are 2028, 2032, 2036 and every fourth year until 2096. The year 2100 is not a leap year, so after 2096 the next one is 2104.

    Why do we have leap years?

    A solar year lasts about 365.2422 days. Adding a day every four years gives 365.25 days, which is slightly too long, so three leap days are dropped every 400 years. That makes the average Gregorian year 365.2425 days, within about 27 seconds of the solar year.

    How many leap years are there between two years?

    The tool counts them exactly. Up to and including year y there are ⌊y/4⌋ − ⌊y/100⌋ + ⌊y/400⌋ Gregorian leap years, so the number in a range is that value for the end year minus the value for the year before the start.

    What is the Julian calendar rule?

    The older Julian calendar made every year divisible by 4 a leap year, without the century exception. Catholic countries switched to the Gregorian calendar in 1582, Britain and its colonies in 1752, and other countries later, so pick Julian for older dates in those places.

    Is year 0 a leap year?

    There is no year 0 in the usual BC/AD numbering, so the tool starts at year 1. Astronomers who use year 0 treat it as a leap year, equal to 1 BC.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Day of the Week CalculatorFind the weekday of any date, with Zeller and Doomsday steps.Days Between DatesCount days, weeks, months and business days between two dates.Date CalculatorAdd days to a date or count days between dates.Julian Date ConverterConvert dates to day-of-year (YYDDD), Julian Day Number and JD, and back.Easter Date CalculatorWestern and Orthodox Easter for any year, with Ash Wednesday, Good Friday and Pentecost.Week Number CalculatorSee the current ISO week number and look up the week of any date.To Do ListSimple online checklist with drag to reorder, saved lists and export.Habit TrackerTrack daily habits on a grid with current and longest streaks.Kanban BoardFree kanban board with drag and drop cards, WIP limits and JSON export.Daily PlannerPlan your day in hour blocks with top 3 priorities, a to-do list and notes, saved and printable.Shift Schedule MakerBuild a weekly staff rota with shift types, hour totals, CSV export and a printable schedule.PTO Accrual CalculatorPTO hours earned per pay period or per hour worked, with a 12-month balance projection.Biweekly Pay Schedule CalculatorList every biweekly payday of a year, count paychecks and find months with 3 paychecks.Hijri Date ConverterConvert Gregorian dates to Islamic Hijri dates and back, with Arabic month and weekday names.Chinese Lunar Calendar ConverterConvert Gregorian dates to Chinese lunar dates and back, with leap months and zodiac year.2027 CalendarPrintable 2027 calendar with US holidays and week numbers; yearly or monthly, PDF or PNG.Class Schedule MakerBuild a weekly or A/B day class timetable and download it as PDF or PNG, or share a link.CSV to ICS ConverterTurn a CSV or spreadsheet list of events into an .ics file for Google, Apple or Outlook Calendar.ICS to CSV ConverterConvert .ics calendar events to CSV for Excel or Sheets, with repeats expanded and fields you choose.ICS File ViewerOpen .ics calendar files online: list and month view, repeating events, time zones and search.On This Day in HistoryPick any month and day to see historical events, famous births and deaths from Wikipedia.Travel Itinerary PlannerPlan a trip day by day with times, bookings and costs, then print it or export to your calendar.US Holidays CalendarUS federal holidays and major observances for any year, with observed dates and ICS/CSV export.Wedding Guest List ManagerTrack wedding guests by household and side with RSVPs, meals, plus-ones, tables and CSV export.Wedding Planning ChecklistEnter your wedding date for a month-by-month checklist with due dates, progress and calendar export.Weekly Meal PlannerPlan a week of meals and get a grocery list sorted by aisle, then print it or save a PDF.Year at a Glance CalendarOne-page printable 12-month calendar for any year with week numbers and US holidays; PDF or PNG.Baby Feeding ScheduleFeeding times, ounces per feed and feeds per day by baby's age, breast or formula.Baby Feeding & Diaper TrackerOne-tap baby log for breastfeeding, bottles, diapers and sleep, with timers and daily totals.Cleaning Schedule GeneratorMake a daily, weekly, monthly and seasonal house cleaning schedule for your home and household.Cooking Timeline PlannerBack-schedule every dish from serving time, with start times and oven conflict alerts.Marathon Training Plan GeneratorWeek-by-week marathon plan from your race date and mileage, with taper, paces and .ics calendar.Passport Validity CheckerCheck if your passport is valid long enough for a trip (3- and 6-month rules) and when to renew.Pregnancy CalendarWeek-by-week pregnancy calendar with trimesters, test windows and checkups; print it or save as .ics.Puppy Vaccination ScheduleGet dated puppy shot visits (core and lifestyle vaccines) from a birth date, plus an ICS calendar.Solunar Fishing CalendarMajor and minor fishing and hunting times from the moon for any location, with a month view.Custody Schedule CalendarParenting time calendar for 2-2-3, 2-2-5-5, week-on/week-off and more, with holidays and % time.Hijri CalendarMonthly Islamic (Hijri) calendar with Gregorian dates side by side, Islamic holidays and printing.Home Maintenance ChecklistSeasonal and monthly home upkeep checklist with dates, built from your home's features.Supervised Driving Hours LogLog teen practice drives with day/night hours and conditions, track permit hour goals, print the log.National Days CalendarWhat national day is it today? Fun, food and awareness days with a searchable full-year calendar.Planting Calendar by ZoneWhat to start indoors, transplant and sow each month for your USDA zone or frost dates.Public Holidays by CountryList the public holidays of 100+ countries for any year, with weekdays and an ICS calendar file.Rotating Shift CalendarColor calendar of work and off days per crew for Pitman, DuPont, 4-on-4-off, 24/48 or custom shifts.School Year CalendarPrintable August to June school calendar with breaks, no-school days, term colors and day counts.Social Security Payment CalendarSocial Security and SSI payment dates for any year by birthday group, with holiday shifts.Study PlannerTurn exam dates and free hours into a balanced, printable weekly revision timetable.Baby Food Introduction ScheduleMonth-by-month solid food plan with textures, meals and a dated allergen timeline.Federal Reserve Bank HolidaysUS bank holiday calendar on the Fed schedule, next holiday countdown and deposit timing.Bread Baking Schedule PlannerPick when you want bread; get start times for levain, bulk, shaping, proof and bake.Car Maintenance Schedule GeneratorGet your upcoming oil, tire, brake and fluid services by date and mileage from how you drive.Crop Rotation PlannerTurn your beds and crops into a 3 or 4 year rotation plan so no plant family repeats in a bed.Menstrual Cycle Phase CalculatorSee which cycle phase you're in today and a color-coded calendar of upcoming phases.Dog Food Transition SchedulePlan a day-by-day switch to a new dog food with old/new ratios and cups or grams per meal.Kitten Vaccination ScheduleGet dated kitten shot visits (FVRCP, rabies, FeLV) from a birth date, plus an ICS calendar.Lawn Fertilizer ScheduleYearly lawn calendar for your grass type and region: feeding, pre-emergent, aeration and seeding dates.Mood TrackerLog your daily mood with emojis, notes, sleep and exercise; see a calendar heatmap and trends.Pumping Schedule GeneratorPump times, sessions per day and ounce targets by baby's age, exclusive or partial.Puppy Potty Training SchedulePrintable potty break times, night trips and crate limits for your puppy's age.Stock Market Holidays CalendarNYSE and Nasdaq holidays and early closes for this year and next, with .ics calendar export.Water Intake TrackerTap to log glasses and bottles, fill your daily goal ring, get drink reminders and see your history.2028 CalendarPrintable 2028 leap-year calendar with US holidays and week numbers; yearly or monthly, PDF or PNG.Fuel Log and MPG TrackerLog fill-ups by odometer, gallons and price to track MPG per tank, average MPG and cost per mile.Christmas Gift TrackerTrack Christmas gifts by person: ideas, budget, bought and wrapped status, and total spending.Garden Harvest TrackerLog garden harvests by crop, date and weight; see totals per crop and season and grocery money saved.
    See all 62 Calendars & Planners →