What is a day of year calculator?
A day of year calculator tells you which day of the year a date is — its day number — and how much of the year is left. Enter a date, and it gives you the answer at once — the day number, the days remaining in the year, the week number, and the share of the year that has passed
People use it for far more than curiosity. Teachers use it for school days, project managers use it for deadlines, and anyone who has ever wondered 'how far through the year are we' has needed it.
The calculator runs in your browser and never sends your dates anywhere. There is no reason for a simple date calculation to collect personal information. Type the dates, read the answer, and close the page — nothing is stored.
How the day of the year is worked out
The calculation is a count. From 1 January to your date, add up the days in each month that has passed, then add the day of the month. For 24 November 2026, that is January through October — 31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 = 304 — plus 24, which is 328. In a leap year, February has 29 days, so every date after February is one higher.
The day number is the main figure: 328 for the default. The days remaining tells you how much of the year is left, the week number tells you where in the year the date falls, and the share of the year puts it in context.
The calendar rules behind it are the real ones: months have their true lengths, February has 29 days in a leap year, and a year is a leap year if it divides by four — except centuries, which must divide by 400, so 2000 was a leap year but 1900 was not. The calculator applies those rules to the dates you give it, so you never have to count leap days by hand.
One detail is worth knowing: the gap between two dates is the difference, not the difference plus one. Counting from 1 January to 24 November gives 327 days, because the start day itself is not counted twice. People who count both the first and the last day add one day too many, and that extra day follows them into every figure the calculator shows.
Leap years — the input that changes the answer
A leap year adds a day to February, and every date after February shifts by one. 29 February 2028 is day 60 of 366, and 1 March 2028 is day 61, while 1 March 2027 is day 60 of 365. The calculator checks whether the year is a leap year — divisible by 4, except centuries, which must be divisible by 400 — and counts February correctly.
The second input trap is the year itself. A date in December is near the end of the year, and a date in January is near the start, and the day number changes by hundreds between them. The calculator takes the year from the date you enter, so there is nothing to set separately.
The third trap is the week number. Week 47 does not mean 47 full weeks have passed — it means the date falls in the 47th week, which may have only a day or two in it. The calculator gives the week the date falls in, not the number of complete weeks.
A worked example
First, the default on this page. 24 November 2026: the day number is 328, there are 37 days left in the year, it is week 47, and 89.9% of the year has passed. The year is nearly over — only a little over a month remains.
Second, the start of the year: 1 January 2026 is day 1, with 364 days left, in week 1, and 0.3% of the year elapsed. The first day of the year is the only day with a day number of 1, and the only day with more than 360 days left. The first day is the only day with nothing behind it, and the only day with the whole year ahead.
Third, a leap day: 29 February 2028 is day 60 of 366, with 306 days left, in week 9, and 16.4% of the year elapsed. In a non-leap year there is no day 60 in February — 1 March is day 60 instead — which is why the leap day matters. A leap day is the only day that exists in some years and not in others, which is why it is worth checking.
Why it matters, and who uses it
Project managers use it for deadlines: a deadline on day 328 of 365 is 89.9% through the year, and a project that is 80% done at that point is behind. The day number turns a date into a position in the year, which is easier to compare than two calendar dates.
Teachers use it for the school year: a school day is a day number, and the number of school days left is the days remaining minus the weekends and holidays. The calculator gives the raw count, and the school calendar gives the rest. The day number is the raw count, and the school calendar — holidays, weekends, and inset days — turns it into the number of school days.
Then there is the plain usefulness of an exact answer. Knowing that 24 November is day 328 — and that 37 days remain — is a small piece of knowledge that puts any date in context, and it is exact, not an estimate.
The answer is also easy to check, which is the point of showing the working. Pick a round case — a date exactly one year after the start, or a date on the same day of the month — and the years, months, and days should come out whole. If they do, the calculator is working; if they do not, the input date is the first thing to check.
Day of Year Calculator vs date difference calculator
These two tools start from the same dates and answer different questions. A date difference calculator counts the days between two dates. This calculator counts the days from the start of the year to one date — a position in the year, not a gap between two dates. The difference is what is being counted: a gap, or a position. If the question is 'how many days between 1 March and 24 November', the date difference calculator is the tool; if the question is 'which day of the year is 24 November', this is the tool.
If the question is 'which day of the year is 24 November', use this calculator. If the question is 'how many days between 1 March and 24 November', use the date difference calculator instead. Use this calculator for the position in the year and the date difference calculator for gaps. If the question is how old someone is, an age calculator gives the years, months, and days.
Both share the same calendar maths — real month lengths, leap years, and day counting that never rounds a month to 30 days. An age in days calculator counts the days since a birth date, which is the tool to use when the date is a birthday. And an add days calculator adds days to a date, which is the tool to use when you want a date a number of days from now.
Common mistakes
The first mistake is the leap year. In a leap year every date after February is one higher than in a common year — 1 March 2028 is day 61, not day 60 — and forgetting the leap day shifts the whole count by one.
Second: the week number. Week 47 does not mean 47 complete weeks have passed, and the simple week count here is not the ISO week number. Third: the share of the year — 89.9% means 89.9% of the year has passed, not 89.9% of the working days.
Fourth: the days remaining. There are 37 days left after 24 November 2026, but that counts 25 November through 31 December — the date itself is day 328, and the days after it are 37. Counting the date itself as well would give 38, which is one too many.
How to use this day of year calculator
Using it takes seconds. Enter a date — the default is 24 November 2026. The results update live: the day number, the days remaining, the week number, and the share of the year elapsed. The results update live as you type or pick.
The day number is the main figure: 328 for the default. The days remaining tells you how much of the year is left, the week number tells you where in the year the date falls, and the share of the year puts it in context.
Everything runs in your browser, so the dates never leave your device. One practical tip: 1 January is day 1, and 31 December is day 365 — or 366 in a leap year. If your day number is near 365, the year is nearly over; if it is near 1, it has just begun.