Leap Year Check
Calculator

Inputs

Is a leap year (1 = yes)
1

Results

Is a leap year (1 = yes)
1
Days in the year
366
Extra day added by leap year
1
Weeks in the year
52.285714

Time and date results

Is a leap year (1 = yes)1
Days in the year366
Extra day added by leap year1
Weeks in the year52.285714

formula-map diagram

Is a leap year (1 = yes)
1
Days in the year
366
Extra day added by leap year
1
Weeks in the year
52.285714

Time relationship

Formula

leap year ⇔ (year mod 4 = 0 and year mod 100 ≠ 0) or (year mod 400 = 0)

= 1

Note

This is a simplified model: it uses fixed conversions (60 minutes per hour, 24 hours per day, 7 days per week, 365 days per year) and ignores leap years, daylight saving changes, public holidays and irregular month lengths. Check the result against a real calendar before relying on it.

More in Time and date

See all →