As of today, the number of days until the end of the year depends on the current date. For example, if today is June 15, there are 199 days left in the year (including today). Use the calculator below to find the exact count for any date.
Formula
The number of days until the end of the year is simply the difference between December 31 of the current year and the given date, expressed in days. In mathematical terms:
Days left = (December 31 of current year) − (given date)
Where both dates are treated as calendar dates, and the result is rounded down to a whole number of days. The calculation includes the given day itself (so if you enter today’s date, you get the number of days from today through December 31).
Worked Example
Using the default date of June 15, 2025:
- Identify the end-of-year date: December 31, 2025.
- Count the days from June 15 to December 31. June has 30 days, so from June 15 to June 30 is 15 days. July has 31, August 31, September 30, October 31, November 30, and December 31. Sum: 15 + 31 + 31 + 30 + 31 + 30 + 31 = 199 days.
- The calculator gives 199 days, matching the manual count.
Why Count Days to Year End?
People often want to know how many days are left in the year for planning purposes: setting New Year’s resolutions, tracking project deadlines, calculating vacation days, or simply anticipating the new year. It’s also common in financial planning (e.g., end-of-year tax deadlines), education (semester end), and personal goal setting. The countdown is straightforward but varies by date, so a quick calculation is handy.
How the Calculation Works
The calculation uses the Gregorian calendar, which is the standard in most of the world. It counts each day as a whole day, starting from the given date and ending on December 31. The result includes the current day, so if you enter December 31, the result is 1 day (the day itself). If you enter January 1, the result is 365 days (or 366 in a leap year).
For leap years, February has 29 days, so the total days in the year are 366 instead of 365. This affects the count if the date falls before February 29. For example, in a leap year, January 1 has 366 days left, while in a non-leap year it has 365.
Common Mistakes and Misconceptions
A frequent error is confusing “days left” with “days until the end of the year excluding today.” Some people prefer to count only the days after today, in which case you would subtract 1 from the result. The calculator includes today, so if you want the number of days from tomorrow to December 31, subtract 1.
Another mistake is forgetting about leap years. If you’re calculating manually, always check whether the year is a leap year. A leap year occurs every 4 years, except years divisible by 100 but not by 400 (e.g., 1900 was not a leap year, 2000 was).
Rounding: The calculator rounds down to a whole day because you can’t have a fraction of a day in a calendar count. If you enter a date with a time component (e.g., June 15 at 3 PM), the calculator treats it as the date only, so the result is still a whole number.
How to Use the Calculator
Enter any date in the format YYYY-MM-DD (e.g., 2025-12-01). The calculator will show the number of days left in that year. You can use any date within the current year (January 1 to December 31). If you enter a date outside this range, the calculator will show an error because the input is limited to the year 2025.
If you need to calculate for a different year, you can adjust the date range in your mind: the formula is the same, just replace the end-of-year date with that year’s December 31.
Alternatives and Related Calculations
If you want to know the days between two arbitrary dates, you can use a date difference calculator. If you want to know the day of the week for a future date, you can use a weekday calculator. The days-till-end-of-year calculation is a special case of date difference, where the end date is fixed to December 31.
For planning purposes, you might also want to know how many weekdays or working days are left. That requires subtracting weekends and holidays, which is more complex. The calculator here gives the total calendar days, which is the most basic and commonly used figure.
Frequently Asked Questions
Does the count include today?
Yes, the calculator includes the date you enter. So if you enter today’s date, the result is the number of days from today through December 31, including both. If you want to exclude today, subtract 1.
What if the year is a leap year?
In a leap year, there are 366 days in total, so the count from January 1 is 366 days. The calculator automatically accounts for leap years because it uses the actual calendar. For example, 2024 was a leap year, so January 1, 2024 had 366 days left.
Can I use this for any year?
The calculator is set for the year 2025, but the formula works for any year. Just change the end date to December 31 of that year. For example, for 2026, use December 31, 2026.
Why is the result sometimes 365 or 366?
If you enter January 1, the result is 365 in a non-leap year and 366 in a leap year, because that’s the total number of days in the year. If you enter December 31, the result is 1, because only that day remains.
How do I manually calculate days left?
You can count the days remaining in the current month, then add the full days of the following months up to November, then add 31 for December. For example, from June 15: June has 15 days left (30-15), July 31, August 31, September 30, October 31, November 30, December 31. Sum = 15+31+31+30+31+30+31 = 199.
Limitations and Notes
This calculation is based on the Gregorian calendar and does not account for time zones or local calendar variations. It assumes a standard 24-hour day. The result is a whole number, so no fractional days are shown. For most planning purposes, this is sufficient.
If you need to know the exact number of days including time (e.g., hours and minutes until New Year’s Eve), you would need a more precise calculation that includes the current time. But for a simple day count, this calculator gives the answer you need.
Related
Formula used
in date | Current date | - | 2025-06-15 | 2025-01-01 | 2025-12-31 out days | Days left | days | (date(2025,12,31) - date) / 86400000 | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
- How Many Days to End of Year?
- Days Left in the Year: Count & How It Works
- How Many Days Till Valentine’s Day? Countdown
- Days Until End of Year: Countdown & Facts
- Days Since Last Friday: Count & Calculate
- How Many Days Off in a Year? Typical Counts28 days