Year-to-Date Calculator

Find today's YTD day number, track how much of the year has elapsed, look up the day number of any date, or calculate how many years ago any year was. Automatically handles leap years.

Today is Saturday, July 25, 2026

206
Day of the year
159
Days remaining in 2026
56.4%
Of 2026 elapsed
365
Total days in 2026
Year 2026 progress

What is year-to-date (YTD)?

Year-to-date (YTD) refers to the period from January 1 of the current calendar year up to and including today. It is used in finance, business reporting, HR, and project tracking to measure performance or progress over the elapsed portion of the year. For example, if today is day 200, then 200 days have elapsed year-to-date and 165 days remain in a non-leap year.

What is the day number of the year?

Each day from January 1st is assigned an ordinal number starting at 1. January 1 is day 1, February 1 is day 32, July 1 is day 182 (183 in a leap year), and December 31 is day 365 (or 366 in a leap year). This is also called the ordinal date and is used in astronomy, agriculture, project scheduling, and financial reporting.

Month start day numbers (non-leap year)

MonthStarts on dayLeap year
January11
February3232
March6061
April9192
May121122
June152153
July182183
August213214
September244245
October274275
November305306
December335336

How to calculate years between two years

Subtract the earlier year from the later year. For example, 2026 − 1990 = 36 years ago. Use the Years Ago tab above for any year. In Python:

from datetime import date current_year = date.today().year # How many years ago was 1990? years_ago = current_year - 1990 print(f"1990 was {years_ago} years ago") # How many years between two specific years? years_between = abs(2026 - 1985) print(f"{years_between} years between 1985 and 2026")

How to calculate the day of the year in Python

from datetime import date today = date.today() day_of_year = today.timetuple().tm_yday days_in_year = 366 if (today.year % 4 == 0 and today.year % 100 != 0) or today.year % 400 == 0 else 365 days_remaining = days_in_year - day_of_year pct_elapsed = round(day_of_year / days_in_year * 100, 1) print(f"Day {day_of_year} of {days_in_year} — {pct_elapsed}% of {today.year} elapsed ({days_remaining} days remaining)")

Frequently asked questions

What does YTD mean?

YTD stands for year-to-date. It refers to the period from January 1 of the current year through today. YTD figures are used in finance to show cumulative returns, in business to track revenue, and in HR to report hours worked or leave taken since the start of the year.

Is 2026 a leap year?

No, 2026 is not a leap year — it has 365 days. The most recent leap year was 2024 (366 days). The next leap year is 2028. A year is a leap year if it is divisible by 4, except century years must also be divisible by 400.

What day of the year is January 1?

January 1 is day 1 of the year. December 31 is day 365 in a normal year and day 366 in a leap year.

How many days are left in the year?

The days remaining equals the total days in the year (365 or 366) minus today's day number. The Year-to-Date tab above shows this live.

How many years ago was 2000?

The year 2000 was 26 years ago. Subtract any year from the current year to find how many years ago it was. Use the Years Ago tab above for any year.