What is a days left in the year calculator?
A days left in the year calculator tells you, for any chosen date, how many days remain until December 31 of that same year, and how many days have already passed since January 1. Pick a date (today by default) and the calculator instantly returns both numbers.
This is handy for planning year-end goals, tracking progress through a quarter, counting down to the New Year, or simply satisfying curiosity about where you stand in the calendar.
How does the calculator work?
The calculation rests on two ideas: the day of the year for your chosen date, and the total number of days in that year.
The day of the year (sometimes called the ordinal date) is the position of the date counting from January 1. January 1 is day , and December 31 is day in a common year or day in a leap year.
If is the day-of-year number for your date and is the total number of days in that year, then:
Because the chosen date is counted as already passed, selecting December 31 gives days left.
Leap years
A year has days when it is a leap year and days otherwise. A year is a leap year when it is divisible by , except for century years, which must also be divisible by . So and are leap years, while and are not. The calculator applies this rule automatically, so February 29 and the extra day are accounted for.
Examples
Example 1: New Year’s Day in a common year
Take January 1, 2025. It is day of the year, and 2025 is not a leap year, so .
There are 364 days left in the year.
Example 2: The last day of a common year
Take December 31, 2025. It is day of the year, and .
There are 0 days left, because the year ends on this date.
Example 3: The last day of a leap year
Take December 31, 2024. Since 2024 is a leap year, it is day , and .
Again there are 0 days left, but the year contained one more day than a common year.
Practical notes
- The selected date is treated as a day that has already passed, so “days left” never includes the date you picked.
- Both results always add up to the total number of days in the year: days passed plus days left equals or .
- The calculator works for any year, including historical and future dates, and handles century leap-year exceptions correctly.
Frequently asked questions (FAQs)
Does the selected date count as passed or remaining?
It counts as passed. That is why December 31 returns zero days left for the whole year.
Do the two numbers always sum to 365 or 366?
Yes. Days passed plus days left equals the total number of days in that year, which is in a common year and in a leap year.
How are leap years handled?
Automatically. The calculator checks whether the year is divisible by (and the century rule of divisibility by ) and uses days when appropriate.