Leap Year Calculators

How to Use

Enter a decimal value representing the length of the year you're generating a list of leap year rules for.

Then, click the "Generate!" button, and a list of rules will be generated.

Notes:

The list may generate weird results, such as in the case of Earth - in this case, it generates "Add every 4, remove every 133, Add every 52632".

While this goes against the "Add every four, remove every 100, add every 400" rule we have, it keeps time just the same (same amount of leap years in 400 years).

Also, sometimes it adds weird numbers for long stretches of time. The algorithm tries to be as precise as possible; however, floating point numbers are by nature a little buggy so the long stretches of time may not be accurate.

Generate Leap Year Rules
Results:
You haven't generated any results yet!