Day of Year Calculator for Any Date
Look up a date’s ordinal day, counting January 1 as day 1. The calculation includes February 29 in leap years and runs through day 365 or 366.
Formula & assumptions
Day number = whole days since January 1 + 1
January 1 is day 1. After February, day numbers in leap years are one higher than in common years.
Worked example
- Calendar date
- 2026-11-19
- Day number
- 323
Interpreting the result
The ordinal tells you how many calendar dates have occurred through the date selected, including that date itself.