What day of the year is it?
The day of year (or ordinal day) numbers each day from 1 on 1 January to 365 — or 366 in a leap year — on 31 December. It is widely used in manufacturing date codes, agriculture, logistics and IT systems, where it is sometimes loosely called the “Julian day”. This calculator returns the day number, days remaining and ISO week for any date.
How it works
For the date you pick, the tool counts the whole days from 1 January of that year and adds 1, so 1 January is day 1. It checks whether the year is a leap year (divisible by 4, but century years must be divisible by 400) to set the total at 365 or 366 days, then:
- Days remaining = total days − day of year
- ISO 8601 week number = the week containing the year’s first Thursday is week 1, with weeks running Monday to Sunday
All arithmetic uses UTC so the result never shifts across time zones.
Example
For 10 April 2026 (a common year):
- Day of year: 31 (Jan) + 28 (Feb) + 31 (Mar) + 10 = day 100 of 365
- Days remaining: 365 − 100 = 265
- ISO week: week 15
| Date | Day of year | Days remaining | ISO week |
|---|---|---|---|
| 2026-01-01 | 1 of 365 | 364 | 1 |
| 2026-04-10 | 100 of 365 | 265 | 15 |
| 2024-12-31 | 366 of 366 | 0 | 1 (next year) |
Everything is computed locally in your browser — nothing is sent to a server.