Check whether a year is a leap year, by the Gregorian 4 / 100 / 400 rule.
Day of Year Calculator
Find which day of the year a date is (1–366), and how many days remain.
- Free
- No sign-up
- Runs in your browser
Input
A date written as YYYY-MM-DD, for example 2024-01-31.
Fill in Date to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter a date.
- 2
The result is its position in the year and the days left.
Questions about Day of Year Calculator
Does this use my computer’s time zone or the current time?
No. It works on the plain calendar date you type, in UTC terms, so it gives the same answer on every device. There is no hidden “now”, and nothing is uploaded.
Is anything sent anywhere?
No. The calculation runs entirely in your browser; your dates never leave the page.
Does the Day of Year Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Day of Year Calculator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Day of Year Calculator uploaded or stored?
No. The Day of Year Calculator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the Day of Year Calculator on a phone or tablet?
Yes. The page is responsive, so the Day of Year Calculator works the same in a mobile browser as on a desktop, and there is no app to install.
Related tools
Other tools you might reach for next.
Count the number of days between two dates.
Find the difference between two dates in years, months and days, and the total days.
Find an age in years, months and days from a date of birth to a given date.
Add a number of days to a date and get the resulting date and weekday.
Subtract a number of days from a date and get the resulting date and weekday.
Count the business days (Monday–Friday) between two dates, inclusive.
Find the ISO 8601 week number of a date, and its ISO week-year.