How to use this tool
- Enter year.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Year | Numeric value. Minimum: 100. Maximum: 9999. | 2028 |
Result for these sample inputs
Leap year
- Days in year
- 366
- Days in February
- 29
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
A year is a leap year if divisible by 4, except years divisible by 100 unless they are also divisible by 400.
2000 is a leap year because it is divisible by 400. 1900 is not a leap year, although it is divisible by 4.
What to keep in mind
Applies Gregorian rules consistently to years 0100–9999. Historical adoption dates differed by country; this is not a historical local-calendar reconstruction.
Common questions
Why are some century years not leap years?
The Gregorian rule omits three leap days in every 400-year cycle by excluding century years not divisible by 400.
How many days are in February?
29 in a Gregorian leap year and 28 otherwise.
Methodology maintained by ClarityKit. How these tools are built and checked.