Skip to main content
Reviewed for accuracy by Abdullah, Technical Content Specialist

Leap Year Calculator

Calculator

Adjust values & calculate

Enter your values below. Every result is computed in your browser — no data is sent to any server.

Formula: Leap if: (year % 4 == 0) AND (year % 100 != 0 OR year % 400 == 0)

Your Result

Worked example — 1900 = NOT a leap year (365 days) | 2000 = Leap year (366 days)

Reviewed for accuracy by Abdullah, Technical Content Specialist · Editorial policy