Date Lab · Free Online Tool

Day of Year Calculator

Calculate ordinal day number within the selected year. Enter a date and it returns the ordinal day number within the selected year, counted from 1 January.

✓ Browser-side calculation✓ Responsive layout✓ Copy & print✓ Clear assumptions
Updated: November 13, 2026Category: Date LabSign-up: Not required
Navjeet Kamboj
Written and maintained byNavjeet KambojAge Calculator Lab author & editor
Calculation engine

Use the Day of Year Calculator

Calculator inputs are processed locally by the JavaScript included with this static page.

Result
Your result will appear here
ReadyEnter the required values

Review the inputs and select Calculate.

How it works

Get your Day of Year result in four clear steps

Enter the date, then select Calculate. The explanation is broken into short actions so you can understand the workflow without reading a wall of text.

1

Date

The single date to place within its year, any day from 1 January to 31 December.

2

Counted from 1 January

The tool counts the days from 1 January to your date and adds one, so 1 January is always day 1. Leap years shift every date after February by one: 29 February 2028 is day 60.

3

Weekday, ISO week and days left

The same count also fixes the weekday, the ISO week (weeks start on Monday, and the ISO week-year can differ from the calendar year around New Year) and the days remaining to 31 December.

4

Read the position in the year

20 October 2026 reads as a Tuesday, day 293 of 2026, in ISO week 43, with 72 days left. On 31 December the days left read 0, the day of the year is 365 (366 in a leap year), and 31 December 2026 itself sits in ISO week 53.

What you get

A date’s position inside its year

Enter any date. The calculator reports its weekday, its ISO week number, its ordinal day of the year (1 to 365, or 366 in a leap year), how many days are left in the year, and whether the year is a leap year.

▦Method

Counted from 1 January

The day of the year is the number of days from 1 January to the date, plus one, so 1 January is always day 1. Days left is the count from the date to 31 December, and the ISO week follows the standard week date system, in which weeks start on Monday.

◎Example

Worked example: 20 October 2026

20 October 2026 is a Tuesday, day 293 of 2026, in ISO week 43, with 72 days left in the year; 2026 is not a leap year.

⌁Limits

Year boundaries behave differently

On 31 December the day of the year is 365 (366 in a leap year) and the days left read 0. The ISO week number follows its own week-year around New Year: 31 December 2026 sits in ISO week 53, and in a leap year 29 February is day 60, as on Tuesday 29 February 2028, which has 306 days left after it.

Choose the right tool

Day of Year Calculator vs related calculators

A day of the year is not days left in the year. Use this one when the question is the ordinal day number within the selected year.

Use this calculator when

Day of Year Calculator

  • You need ordinal day number within the selected year.
  • You have a single date to place within its year — any day from 1 January to 31 December — and want its weekday, ordinal day and ISO week, with the days left.
  • You want the method and limitations on the same page.
Calculation method

What happens after you press Calculate

Read the date's weekday, ordinal day and ISO week using Gregorian calendar rules.

Purposeordinal day number within the selected yearMethod familyDate Lab
Actual datesGregorian month lengths are used where the mode is calendar-based.
Clear scopeThe result answers the focused question named at the top of this page.
Visible limitsEstimated or policy-dependent outputs are labeled for responsible use.
No sign-upCalculate, copy, print and continue to a related tool without an account.
Worked flow

See the calculation as a short timeline

Enter the date and the timeline shows each step, from that date to the ordinal day number.

Input ADate

Enter the single date to place within its year, any day from 1 January to 31 December.

Input BCounted from 1 January

The tool counts the days from 1 January to your date and adds one, so 1 January is always day 1; leap years shift every date after February by one.

ResultDay of Year

The date's weekday, ordinal day and ISO week, with days left: 20 October 2026 is a Tuesday, day 293 of 2026, in ISO week 43, with 72 days left.

Common use cases

Where this calculator can help

01

Deadline planning

Enter the deadline date and read its ordinal day — 20 October 2026 is day 293 of 2026 — then quote that day number in the plan.

02

Date arithmetic

Enter any calendar date and read its ordinal day together with its weekday and days left — 20 October 2026 is a Tuesday, day 293, with 72 days left.

03

Weekday and working-day checks

Check a date's ordinal day and its weekday before confirming a working-day plan — 29 February 2028 is day 60, a Tuesday, and every date after February sits one day further through a leap year.

Common questions

Day of Year Calculator FAQ

Answers about method, inputs, privacy, boundaries and responsible interpretation.

What does the day of the year mean?

It is the date's ordinal position inside its year, counted from 1 January, so 1 January is always day 1 and 31 December is day 365 — or 366 in a leap year. The calculator also shows the weekday, the ISO week number, how many days are left in the year and whether the year is a leap year.

What is the day of the year for 20 October 2026?

20 October 2026 is day 293 of 2026. It falls on a Tuesday in ISO week 43, with 72 days left in the year, and 2026 is not a leap year.

How does a leap year change the count?

Every date after February sits one day further through a leap year. 29 February 2028 is day 60 of its year, a Tuesday, with 306 days left after it, and dates from 1 March onward are numbered one higher than in a non-leap year.

Why is 31 December 2026 in ISO week 53?

The ISO week number follows its own week-year, in which weeks start on Monday, so dates around New Year can belong to a week 1 or a week 53 rather than the week the calendar position suggests. 31 December 2026 sits in ISO week 53 even though it is day 365 of its calendar year.

How are the days left in the year counted?

They are the count from your date to 31 December. On 31 December itself the days left read 0, and on 1 January they read 364 — or 365 in a leap year.

Navjeet Kamboj, author at Age Calculator Lab
About the author

Navjeet Kamboj

Navjeet Kamboj is the author and editor of Age Calculator Lab. He focuses on making age, date, milestone and planning calculations easier to understand through clearly explained methods, practical examples and responsible limitations.