Day of Year Calculator

See which day of the year a date is, and turn a day number back into a date.

Date calculator

Date or day number

Both calculations update as you type.

Day 1 is January 1. Leap years have 366 days.

DAY OF THE YEAR
—of the year
—
Choose a date to see its day number.
YEAR SO FAR
—days passed
—days left
—of the year done
THIS DATE
—leap year
—weekday
—ISO week
—days in year
DAY NUMBER TO DATE

Enter a year and a day number.

How to use this calculator

  1. 1

    Pick a date. The day number, days remaining, leap-year status, weekday and ISO week appear.

  2. 2

    Or enter a year and day number. The date is shown under “Day number to date”.

  3. 3

    Mind the leap year. Day 60 is March 1 in an ordinary year but February 29 in a leap year; day 366 exists only in leap years.

Example

October 20, 2026 is day 293 of 365: 292 days have passed before it and 72 days are left after it, so 80.3% of the year is done by the end of that day. It is a Tuesday in ISO week 43.

Day 60 of 2024 is Thursday, February 29, 2024; day 60 of 2026 is Sunday, March 1.

How it is calculated

The day of the year counts calendar days from January 1 (day 1) and includes the day itself. Days passed are the full days before the chosen date, and days left are the full days after it until December 31, so for today neither count includes today: days passed + 1 + days left = the days in the year. The share of the year done is counted to the end of the chosen day. A year is a leap year if it is divisible by 4, except for century years not divisible by 400: 2000 and 2024 are leap years, 1900 and 2100 are not.

An ordinal date such as 2026-293 is the ISO 8601 way of writing a year and day number. It is not the same as a Julian date or Julian day number used in astronomy.

Day numbers at the start of each month

The day of the year counts from 1 on January 1 to 365, or 366 in a leap year. After February the numbers in leap years are one higher.

Day of the year on the 1st of each month
MonthFirst day (common year)First day (leap year)
January11
February3232
March6061
April9192
May121122
June152153
July182183
August213214
September244245
October274275
November305306
December335336
Where each month begins in a 365-day yearThe day number on which each month starts in a common year.Januaryday 1Februaryday 32Marchday 60Aprilday 91Mayday 121Juneday 152Julyday 182Augustday 213Septemberday 244Octoberday 274Novemberday 305Decemberday 335
The year is roughly a quarter through at the start of April (day 91), half through at the start of July (day 182).

Ordinal dates and “Julian dates”

An ordinal date writes the day of the year instead of the month and day. ISO 8601 uses the form 2026-324 (year, three-digit day). The word “Julian date” is used loosely: in manufacturing, food labelling and logistics it means yyddd (26324); in astronomy it is a continuous count of days from 4713 BC and is something different. The tool converts between a calendar date and its day number.

Ordinal date formats
FormatExample for 21 November 2026Used for
ISO ordinal date2026-325Data exchange, ISO 8601
yyddd26325Lot and batch codes, “Julian” dates in industry
yyyyddd2026325Mainframe and legacy systems
Day number325Planning, “day X of the year”

Leap years

A year is a leap year if it is divisible by 4, except years divisible by 100 that are not divisible by 400.

Leap-year examples
YearLeap year?Reason
2024YesDivisible by 4
2026NoNot divisible by 4
1900NoDivisible by 100, not by 400
2000YesDivisible by 400
2100NoDivisible by 100, not by 400
2400YesDivisible by 400

Free downloads

Plain files you can keep, print or open in a spreadsheet. They are the same figures used on this page.

Questions

Is today’s date counted as a day that has passed?

The tool says how it counts: the current day is included in “day X”, so on day 100 there are 99 full days behind you and 265 days left in a 365-day year.