Day of the year calculator
The day of the year is used in ordinal dates on product codes, logs, farming calendars and technical records.
Loading the tool…
Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.
How to use it
- Enter date.
- The result appears straight away and updates as you edit.
- Copy the result, or copy a link that keeps the same values to share it.
How it is calculated
Day number = (date − 1 January of the same year) + 1. Days left = days in the year − day number.
Example
Inputs: Date = 2026-10-01. Result: Day of the year: 274; Days left in the year: 91; Days in the year: 365.
Limits and caveats
- The share counts whole days and treats the entered day as passed.
Questions about this tool
What day number is 1 March?
It is day 60 in a common year and day 61 in a leap year.
What is an ordinal date?
The ISO 8601 form that writes the year then a three digit day number, such as 2026-274.
Is this the Julian date?
Product codes often call it a Julian date, but it differs from the astronomical Julian Day Number.
