Date Lab · Free Online Tool

Leap Year Calculator

Calculate whether a selected year follows the Gregorian leap-year rule. Enter a year and it returns whether that year follows the Gregorian leap-year rule.

✓ Browser-side calculation✓ Responsive layout✓ Copy & print✓ Clear assumptions
Updated: October 30, 2026Category: Date LabSign-up: Not required
Navjeet Kamboj
Written and maintained byNavjeet KambojAge Calculator Lab author & editor
Calculation engine

Use the Leap Year Calculator

Calculator inputs are processed locally by the JavaScript included with this static page.

Result
Your result will appear here
ReadyEnter the required values

Review the inputs and select Calculate.

How it works

Get your Leap Year result in four clear steps

Enter the year, then select Calculate to see whether it is a leap year and how many days it has. The explanation is broken into short actions so you can understand the workflow without reading a wall of text.

1

Year

Enter the year you want to check, as a whole number — past, present or future.

2

Select Calculate

The Gregorian rule is applied: a year is a leap year when it divides exactly by 4 — except century years, which are leap years only when they divide by 400.

3

Read the verdict

The result answers yes or no, with the number of days in the year and the number of days in its February: 2028 divides by 4, so it is a leap year with 366 days and a 29-day February; 2026 does not divide by 4, so it is not a leap year.

4

Watch the century edge case

2100 divides by 4 and by 100 but not by 400, so it is not a leap year, while 2000 divides by 400 and is one. The rule shown is the Gregorian calendar’s; other calendar systems place their leap days differently.

What you get

Whether a year is a Gregorian leap year

Enter any year and the calculator applies the Gregorian leap-year rule to give a yes-or-no answer, together with the number of days in that year and the number of days in its February.

▦Method

Divisible by 4, with the century exception

A year is a leap year when it divides exactly by 4 — except century years, which are leap years only when they divide by 400. Leap years have 366 days and a 29-day February; other years have 365 days and 28.

◎Example

Worked example

2028 divides by 4, so it is a leap year with 366 days and a 29-day February. 2026 does not divide by 4, so it is not a leap year.

⌁Limits

Limits

The century rule is the edge case that catches people out: 2100 divides by 4 and by 100 but not by 400, so it is not a leap year, while 2000 divides by 400 and is one. The rule shown is the Gregorian calendar’s; other calendar systems place their leap days differently.

Choose the right tool

Leap Year Calculator vs related calculators

A leap-year check is not a weekday. Use this one when the question is whether a selected year follows the Gregorian leap-year rule.

Use this calculator when

Leap Year Calculator

  • You need whether a selected year follows the Gregorian leap-year rule.
  • You have a single year to check and want a yes-or-no leap-year verdict — with that year's day count and its February length.
  • You want the method and limitations on the same page.
Calculation method

What happens after you press Calculate

Apply the Gregorian 4, 100 and 400 divisibility rules.

Purposewhether a selected year follows the Gregorian leap-year ruleMethod familyDate Lab
Actual datesGregorian month lengths are used where the mode is calendar-based.
Clear scopeThe result answers the focused question named at the top of this page.
Visible limitsEstimated or policy-dependent outputs are labeled for responsible use.
No sign-upCalculate, copy, print and continue to a related tool without an account.
Worked flow

See the calculation as a short timeline

Enter the year and the timeline shows each step, from that year to the verdict.

Input AYear

Enter the year you want to check, as a whole number — past, present or future.

Input BThe Gregorian rule

A year is a leap year when it divides exactly by 4 — except century years, which are leap years only when they divide by 400.

ResultLeap Year

A yes-or-no verdict, with the days in the year and in its February: 2028 divides by 4, so it is a leap year with 366 days and a 29-day February; 2026 does not divide by 4, so it is not.

Common use cases

Where this calculator can help

01

Deadline planning

Check whether a deadline year is a leap year before fixing its February end — 2028 has 366 days and a 29-day February, while 2026 has 365.

02

Date arithmetic

Enter a year and read the verdict with its day count — 2028 divides by 4 and is a leap year, 2026 does not divide by 4 and is not.

03

Weekday and working-day checks

Check the century edge case before relying on a four-year pattern — 2100 divides by 4 but not by 400, so it is not a leap year, while 2000 divides by 400 and is one.

Common questions

Leap Year Calculator FAQ

Answers about method, inputs, privacy, boundaries and responsible interpretation.

What is the rule for a leap year?

A year is a leap year when it divides exactly by 4 — except century years, which are leap years only when they divide by 400. A leap year has 366 days and a 29-day February; other years have 365 days and a February of 28 days.

Why is 2100 not a leap year when it divides by 4?

Because of the century exception: 2100 divides by 4 and by 100, but not by 400, so it stays a common year with 365 days and a 28-day February. By contrast, 2000 divides by 400, so it was a leap year.

Is 2028 a leap year?

Yes. 2028 divides by 4 and is not a century year, so it is a leap year with 366 days and a 29-day February. 2026 does not divide by 4, so it is not a leap year.

How often do leap years happen?

Roughly every four years, with century years skipped unless they divide by 400 — 1900 was not a leap year, and 2100 will not be one either. After 2028, the next leap years are 2032 and 2036.

Does the result follow the Gregorian calendar for every year?

Yes, the rule applied here is the Gregorian calendar's, and it is applied the same way to any year you enter. Other calendar systems place their leap days differently, so a year treated as a leap year here may not be treated the same way elsewhere.

Navjeet Kamboj, author at Age Calculator Lab
About the author

Navjeet Kamboj

Navjeet Kamboj is the author and editor of Age Calculator Lab. He focuses on making age, date, milestone and planning calculations easier to understand through clearly explained methods, practical examples and responsible limitations.