BYTETOOLS

Leap Year Rules: Common Mistakes and Pro Tips

The single biggest leap year mistake is assuming every year divisible by 4 has a February 29 — century years break that rule unless they are also divisible by 400. That trips up code, spreadsheets and everyday planning alike. Below are the pitfalls that catch people most often, plus practical tips for getting leap years right every time.

Common mistakes to avoid

MistakeWhy it's wrongFix
"Divisible by 4 = leap year"Ignores the century exceptionAlso check divisible by 100, then 400
Assuming 1900 or 2100 is a leap yearBoth are divisible by 100 but not 400Treat them as common (365-day) years
Forgetting 2000 was a leap yearIt is divisible by 400Century years divisible by 400 keep Feb 29
Off-by-one day counts after FebruaryFeb 29 shifts every later day of yearRecount using a leap-aware tool
Scheduling a recurring event on Feb 29The date only exists in leap yearsDecide a fallback: Feb 28 or Mar 1

Pro tips for getting leap years right

  • Verify century years explicitly. Whenever a year ends in 00, do not trust memory. Type it into the checker — the tool tells you whether the divisible-by-400 exception rescued it.
  • Use the rule as a mental shortcut. Divisible by 4, yes; unless divisible by 100, no; unless divisible by 400, yes again. Three quick checks settle any year.
  • Plan Feb 29 events ahead. Contracts, subscriptions and birthdays that land on February 29 need a stated rule for common years. Most systems roll to March 1 or February 28 — pick one deliberately.
  • Watch day-of-year math. In a leap year, every date from March onward has a day number one higher than in a common year. If you compute day-of-year by hand, confirm the leap status first.
  • Convert a money-factor style shortcut. The rule is deterministic, so you can pre-check a whole decade at once by scanning the tool's next/previous leap year list.

Troubleshooting confusing cases

If a date tool or calendar app shows a February 29 you did not expect, the year is almost certainly a leap year and your assumption was off — check it. If February 29 vanishes from a recurring event, you have hit a common year and the app applied its own fallback. And if two date calculators disagree on the number of days in a span, the difference is usually a leap day one of them counted and the other did not. In every case, confirming the leap status of each year involved resolves the discrepancy quickly.

Try the Leap Year Checker — free and 100% in your browser.

FAQ

Why do people get century years wrong so often?

Because the everyday shortcut "every four years" is right 96% of the time. It only fails on century years not divisible by 400, which are rare enough that most people never learn the exception until it causes a bug or a scheduling error.

What is the safest way to handle a February 29 birthday in software?

Store the real date and define an explicit fallback for common years — usually February 28 or March 1. Never silently drop the date. Decide the rule once and apply it consistently so reminders and age calculations stay predictable.

Is 2100 a leap year or not?

2100 is a common year with 365 days. It is divisible by 100 but not by 400, so the century exception applies and February 29 is skipped. The checker confirms this and names the exact rule.

How can I quickly audit a range of years for leap status?

Enter one year in the checker and read its next and previous leap year list to see the four-year cadence, then spot-check any century years in the range individually, since those are the only ones that break the pattern.

Related free tools

Built by ByteVancer

ByteTools is a free product of ByteVancer, a software and web development studio building web apps, SaaS and custom software. When correct date logic matters in your own product, explore how ByteVancer can help.