Day of the Year Calculator (Day Number)
Pick a date to see its day number and how much of the year is left.
Your numbers
Your results
Day of the year
Day of the year
—
Days left in the year
—
Share of the year passed
—
Days in the year
—
Ordinal date (YYYY-DDD)
—
Day of the Year Calculator (Day Number) by TheCalcTools
How the Day of the Year Calculator (Day Number) works
The day of the year counts from 1 on 1 January. In leap years, 31 December is day 366. The ordinal date form YYYY-DDD is used in logistics, manufacturing lot codes and science.
Days left counts the days after the chosen date up to and including 31 December.
The formula
Day number = date − 1 January + 1
Worked example
Using the default values shown in the calculator:
| Date | 2026-10-17 |
|---|
- 17 October 2026 is day 290 of 365, so 75 days remain (79.5% of the year has passed).
Result:
| Day of the year | 290 |
|---|---|
| Days left in the year | 75 |
| Share of the year passed | 79.5% |
| Days in the year | 365 |
| Ordinal date (YYYY-DDD) | 2026-290 |
Frequently asked questions
What day of the year is it today?
Open the calculator: the date defaults to today.
Sources and further reading
Related calculators
More in Date & Time · All calculators
This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.
