CALENDAR TOOL

Day of Year Calculator

See which day of the year any date is — its ordinal number out of 365 or 366 — together with the days remaining in that year, the percentage complete, leap-year status, and how many weekdays are left after the date.

The ordinal day, or day of the year, numbers every date from 1 January to 31 December: 1 January is day 1, 1 March is day 60 in a common year, 31 December is day 365. It is the natural answer to "what day number is today?", and it is the basis of ordinal dates in ISO 8601 and of Julian dates used in astronomy and logistics.

The same screen answers the closely related question: how many days are left in this year. Enter a date and you get the ordinal position, the days still remaining after it, the share of the year already gone, whether the year is a leap year, and the number of weekdays after the date — handy for counting working days to the year end.

How to Use the Day of Year Calculator

  1. Enter the date you want to place in the year.
  2. Select "Calculate day of year".
  3. Read the ordinal day out of the year total, the days remaining, and the percentage complete.
  4. Use the weekday count for working-day planning to 31 December.

What the Ordinal Day Number Means

Ordinal position is simply the date's distance from 1 January, counting the start date as day 1. Because the count starts at 1, the ordinal is always one more than the number of days that have fully passed.

DateCommon year (365)Leap year (366)
1 January11
1 March6061
1 October274275
31 December365366

The only difference between leap and common years appears after February: from 1 March onward, every ordinal in a leap year is one higher than in a common year.

Days Left in the Year

Days remaining counts from the day after your date to 31 December, so a date's own day is treated as used rather than remaining. On 31 December the count is zero; on 1 January it is 364 in a common year and 365 in a leap year.

For counting toward a fixed year-end moment rather than a calendar date, the Countdown Calculator runs a live timer to a target date and time, and Days Between Dates measures any two dates against each other.

Leap Years Change the Count

A leap year has 366 days, so it has one extra day to run out and one higher ordinal everywhere after 29 February. The calculator checks the Gregorian rule — divisible by 4, except centuries unless divisible by 400 — and states which kind of year it found.

2026 and 2027 are common years with 365 days. 2028 is a leap year with 366. For the full rule, see the Leap Year Calculator.

Weekdays Remaining in the Year

Alongside the calendar count, the result reports how many Monday-to-Friday dates fall after your date up to 31 December. That is the honest number for year-end work: statutory holidays are not removed, so subtract those yourself or check against your local calendar.

Weekday counts of this kind use the same convention as the Working Days Calculator and the Business Date Calculator.

Where Ordinal Dates Appear

  • ISO 8601 ordinal dates write the year and day number together, such as 2026-275 for the 275th day of 2026.
  • Logistics and file naming use day-of-year to keep batches in chronological sort order without month names.
  • Astronomy and publishing use Julian day numbers, a continuous count that is related but not identical to the calendar ordinal.

None of these require the slash-format ambiguity that the Date Format Converter resolves — ordinal dates carry the year and a single unambiguous number.

File naming and log sorting in practice

A daily export named report_2026-115.csv sorts before report_2026-275.csv in any alphabetical listing, because fixed-width numbers sort the same way the digits they stand for do. Daily log and backup files work the same way — backup_2026_275.log lands in date order without anyone parsing its name. Two details matter: pad the ordinal to three digits, so day 5 is 005 and not 5, and always keep the year in the name, because the ordinal alone restarts at 001 every January.

Related Tools

Group the remainder of the year into reporting periods with the Quarter Calculator, confirm the weekday with Day of the Week, and check the year length with Leap Year.

ISO 8601 Ordinal Dates (YYYY-DDD)

ISO 8601 allows a date to be written as the year followed by the day number: a four-digit year, a hyphen, and a three-digit ordinal padded with leading zeros. 1 January is 001, 31 December is 365 in a common year and 366 in a leap year.

OrdinalDateYear type
2026-0011 January 2026Common
2026-11525 April 2026Common
2026-2752 October 2026Common
2026-36531 December 2026Common
2028-06029 February 2028Leap

Because every value is the same width, ordinal dates sort in true chronological order as plain text — 2026-115 comes before 2026-275 with no date parsing — and they carry no month/day ambiguity at all, which is the problem the Date Format Converter exists to solve. The basic form drops the hyphen (2026115) but keeps the same fixed width.

Worked Examples: Counting Day of Year by Hand

Add the lengths of all preceding months, then the day of the month. For 15 June 2026: 31 (January) + 28 (February) + 31 (March) + 30 (April) + 31 (May) = 151, plus 15 = day 166. For 4 July 2026 the six-month total is 181, so the date is day 185.

In a leap year every ordinal from 1 March onward gains one day: 4 July 2028 is day 186. Two popular reference points move with that shift — day 100 falls on 10 April in a common year but 9 April in a leap year, and Christmas is day 359 in a common year and day 360 in a leap year.

The reverse direction works as well: January through August 2026 total 243 days, so day 271 is 271 − 243 = 28 September — the Monday that starts ISO week 40 of 2026.

Day of Year vs Week Number

Ordinal day and ISO week number answer different questions. The ordinal counts from 1 January with no reference to weeks at all; the week number follows the first-Thursday rule and can belong to an entirely different year.

  • 1 January 2027 is day 1 of 2027 but ISO week 53 of 2026 — the ordinal resets while the week-year has not.
  • Week 40 of 2026 runs from Monday 28 September (day 271) to Sunday 4 October (day 277): seven consecutive ordinal days, always.
  • 31 December 2026 is day 365 and week 53, whereas 1 January 2026 was day 1 and week 1 — the extreme ends of the ordinal scale inside one week-year's numbering.

Use ordinal dates when you need a position within the year; use the Week Number Calculator when you need reporting weeks. Mixing the two up is the usual reason a "week 1" appears to show up in December.

Method, checked examples, and limits

The ordinal day is the number of calendar days from 1 January to the entered date, counting 1 January as day 1. Remaining days are the days after the date up to 31 December; the percentage is based on the year's total length.

Assumptions

  • The year is a standard Gregorian calendar year.
  • The ordinal count includes 1 January as day 1.
  • Remaining days exclude the entered date.

Examples you can reproduce

InputResultWhy it matters
1 March 2026Day 60 of 365 · 305 days remaining (83.6%)—
1 March 2028Day 61 of 366 · 305 days remaining (83.3%)Leap year.
31 December 2026Day 365 of 365 · 0 days remaining—

These examples were produced with the same calculation functions the tool uses. Enter the inputs above to reproduce them.

Known limitations

  • Does not model fiscal or academic years.
  • Weekday-remaining counts exclude the entered date.
  • Dates before 1 CE or after 9999 are rejected.

Rules and definitions: ISO — ISO 8601 date and time format, ISO — ISO 8601-1:2019 Date and time, NIST — Timekeeping and clocks FAQs, NASA JPL — JD Date/Time Converter

Read the full testing methodology, the editorial standards, or report a problem.

Related Calculators

Related Guides

Frequently Asked Questions

What is the day of year for today?

Enter today's date above. In 2026, 2 October is the 275th day of the year, with 90 days remaining after it.

Does the day of year count include 1 January?

Yes. 1 January is day 1, not day 0.

How do I calculate day of year by hand?

Add the days of all preceding months, then add the day of the month. After February, remember to add one extra day in a leap year.

What is the difference between days left and days remaining?

They are the same count: the days from tomorrow through 31 December. The date you enter counts as used, not remaining.

Does this count working days to the end of the year?

The result includes a Monday-to-Friday count after your date. Public holidays are not removed; use the Working Days Calculator when you need to check a specific range.

What is the ISO ordinal date for 25 April 2026?

2026-115. The format is the year, a hyphen, and the three-digit day number: 25 April is the 115th day of 2026, because January through March total 90 days. In a leap year the same date would be day 116.

What day of the year is Christmas?

Day 359 in a common year and day 360 in a leap year. The first eleven months total 334 days in a common year and 335 in a leap year, so 334 + 25 = 359 — with the leap day pushing it to 360.