Skip to content
ISO 8601 ordinal date

Day of Year Calculator

Today is day 1 of 365 in 2026, with 364 days remaining. We count the ordinal date from January 1 and mark today on a 365-cell heat-strip — leap-year aware, so the count tops out at 365 or 366.

Day number

1

Days remaining

364

Year length

365

Through year

0.3%

Quick Conversion

Formula: % = (day-of-year ÷ year-length) × 100

The Ordinal Counter & Heat-Strip

Ordinal Day Counter — 2026
Common · 365 cells

January 1, 2026

Day 1

of 365 · 0.27% through the year

Heat-strip of the year with one cell per day and today highlightedA grid of 365 small cells, one per day of the 2026 year. Cells for days already passed are warm-toned, today's cell is bright cyan, and upcoming days are dark. The strip reads left to right, top to bottom, from January 1 to December 31.
Today (day 1) Days passed 364 days remaining

Ordinal-Day Converter

Day 159 falls on

June 8

206 days remain in the year

Notable Day Numbers (Common Year)

The ordinal day for common landmarks. Add 1 to any date after February 28 in a leap year.

New Year (Jan 1) · day 1Valentine's (Feb 14) · day 45Leap Day (Feb 29) · day 60 (leap only)April Fools (Apr 1) · day 91Tax Day (Apr 15) · day 105Midyear (Jul 2) · day 183Independence (Jul 4) · day 185Halloween (Oct 31) · day 304Christmas (Dec 25) · day 359NYE (Dec 31) · day 365

Month Start → Day-of-Year

Month (1st)Common yearLeap yearDays left (common)
January 111365
February 13232334
March 16061306
April 19192275
May 1121122245
June 1152153214
July 1182183184
August 1213214153
September 1244245122
October 127427592
November 130530661
December 133533631

Prefer a percentage? Try the Year Progress thermometer, or group these days into ISO weeks with the Week of Year wheel.

The Day-of-Year Formula

DOY = floor((midnight today − Jan 1 00:00:00) ÷ 86,400,000 ms) + 1equivalently: DOY = (sum of lengths of months before) + day-of-month

Worked example: for June 8 in a common year, the months before June total 31 + 28 + 31 + 30 + 31 = 151 days, plus 8 = day 159. In a leap year February adds one more day, so June 8 becomes day 160. December 31 is day 365 in a common year and day 366 in a leap year.

Year-Length Reference

YearMax DOYFeb 29?Type
2023365noCommon
2024366yesLeap
2025365noCommon
2026365noCommon
2027365noCommon
2028366yesLeap
2000366yesLeap
1900365noCommon
2100365noCommon

Your Saved Lookups

No lookups saved yet. Tap "Save to history" to record today's ordinal day and revisit it later.

How to Read the Ordinal Counter

  1. Open the page — the big counter shows today's ordinal day number out of 365 or 366, with the date label above it.
  2. Find today on the heat-strip: it is the single bright cyan cell with a white ring. Warm cells to its left are days already passed; dark cells to its right are days still ahead.
  3. Use the ordinal-day converter to type any day number (1–365/366) and read the calendar date, toggling leap year if needed.
  4. Read the days-remaining figure (year length minus today's number) to know how much of the year is left; the counter rolls forward at local midnight.
  5. Tap Save to history to store the lookup in localStorage and compare ordinal days across visits.

A Brief History of the Ordinal Date

In 2026, a data engineer writing a partition key for a time-series table needs to know that today is, say, day 159 of the year — a single integer from 1 to 365 (or 366 in a leap year) that uniquely names the date within the year. Day of Year answers that instantly with a big ordinal counter and a 365-cell heat-strip in which exactly one cell — today — glows. The number is the ordinal date defined by the international standard ISO 8601, and it is leap-year aware, so December 31 reads 365 in a common year and 366 in a leap year.

The ordinal date has deep roots. Astronomers have counted days within the year for centuries, and the related Julian Day Number — a continuous count of days since noon Universal Time on January 1, 4713 BCE — was devised by Joseph Scaliger in 1583 and named in honour of his father Julius Caesar Scaliger. While the astronomical Julian Day is a running tally across all of history, the ordinal day-of-year resets each January 1 and is the figure most spreadsheets, databases, and aviation systems mean when they say 'day of year' or 'DOY'.

Whether the year tops out at 365 or 366 is governed by the Gregorian leap rule, introduced by Pope Gregory XIII in 1582. A year is a leap year if it is divisible by 4, except for century years, which must also be divisible by 400. So 2024 and 2000 had 366 days (with February 29 inserted as day 60), while 1900 and 2100 have 365. This calculator detects the rule and the heat-strip draws the correct number of cells, so the ordinal number never drifts.

The leap day shifts every ordinary date after February 28. In a common year, March 1 is day 60 and the Fourth of July is day 185; in a leap year those become day 61 and day 186 because February 29 (day 60) pushes everything after it forward by one. The conversion table on this page shows both columns so you can read the ordinal number for any date in either kind of year without arithmetic.

Day-of-year numbering is quietly everywhere. NASA and the aviation industry stamp the DOY onto telemetry and flight logs; the GPS system counts days within its own epoch; manufacturers print a three-digit Julian date code on perishable goods so a tin stamped 159 was packed on day 159 — June 8 in a common year. Meteorologists average climate data by day-of-year to build the smooth seasonal curves you see in temperature normals.

Knowing the ordinal day turns date math into simple subtraction. The number of days between two dates in the same year is just the difference of their day-of-year numbers; the days remaining in the year is 365 (or 366) minus today's number. That is why this counter pairs naturally with the Year Progress thermometer, which expresses the same position as a percentage, and the Week of Year wheel, which groups these days into ISO weeks.

Everything is computed client-side from a single new Date() call on a one-second interval, so the counter and heat-strip reflect your own time zone and update live as midnight rolls the number forward. The ordinal-day converter lets you turn any day number into a calendar date and back, and a small localStorage history panel stores your saved lookups.

Day of Year — FAQ

Have more questions? Contact us

Trusted by data engineers, pilots, and QA inspectors

4.9
Based on 4,690 reviews

I partition tables by ordinal day, and this is my quick sanity-check that day 159 really is June 8 in a non-leap year. The leap column in the conversion table has saved me from off-by-one bugs more than once.

S
Sebastian Vogel
Data engineer building time-series pipelines in Berlin
May 12, 2026

Aviation logs and telemetry use DOY constantly. The big ordinal counter plus the strip showing exactly where today sits in the year is a far nicer reference than counting on a paper calendar.

C
Captain Nadia Pereira
Commercial pilot logging flights by day-of-year
April 17, 2026

Decoding the three-digit pack code on a tin is instant with this — I type the day number into the converter and it tells me the calendar date, leap-year aware. Indispensable on the line.

H
Hiroshi Nakamura
Food-safety QA inspector reading Julian date codes
March 23, 2026

We bin decades of weather data by ordinal day to build seasonal curves. Having a clean tool that respects the leap-year shift after day 60 keeps my February-29 handling honest.

E
Eleni Papadopoulos
Climatologist averaging temperature normals by day-of-year
February 11, 2026

Love using our calculator?

Related Tools

Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to Day of Year Calculator

Loading articles...