Day of the Year

The day number for any date, how many days are left in the year, and the reference table for every month start.

Day of the year231of 365

Wednesday, 19 August 2026

Days remaining 134
Year elapsed 63.3%
ISO week 34
Day of week Wednesday

Day number for a date, or the date for a day number

Change either field; the other follows. Day numbers after 28 February shift by one in a leap year.

This calculator needs JavaScript to recalculate. The answer above was worked out on 19 August 2026 and is correct for that date; the site rebuilds every morning.

Rebuilt · conventions last checked

What a day number is

The ordinal day of the year, counting 1 January as day 1. 18 August 2026 is day 230 of 2026, with 135 days remaining. In a leap year every date from 1 March onward has a day number one higher than in a common year.

Day numbers are sometimes called Julian dates, particularly in agriculture, food manufacturing and aviation. That is a misuse of the term — a true Julian day number counts days continuously from 4713 BC and is a seven-digit figure. In practice, when a lot code or a flight plan says "Julian date 230", it means the day of the year, and it is normally written with the last digit or two of the year: 6230 or 26230.

Reference: the day number each month starts on

Common year: Jan 1 · Feb 32 · Mar 60 · Apr 91 · May 121 · Jun 152 · Jul 182 · Aug 213 · Sep 244 · Oct 274 · Nov 305 · Dec 335.

Leap year, from March onward: Mar 61 · Apr 92 · May 122 · Jun 153 · Jul 183 · Aug 214 · Sep 245 · Oct 275 · Nov 306 · Dec 336.

To get any date's day number by hand, take the month's start number and add the day minus one. 18 August in a common year: 213 + 17 = 230. In a leap year: 214 + 17 = 231.

Where day numbers are used

Food and pharmaceutical lot codes, so a production date is encoded compactly and unambiguously. Agricultural growing-degree-day models. Aviation and military logs. Payroll and accrual systems that work in elapsed days. In all of these the appeal is the same: a day number has no month-length irregularity and no ambiguity about date format, which is worth a great deal when 03/04 could mean two different days.

The convention, stated plainly

1 January is day 1, not day 0. The last day of a common year is 365 and of a leap year 366. Days remaining is counted to 31 December and does not include the day you asked about, which is the same start-date rule the rest of this site uses — so on day 230 of a common year there are 135 days left, and 230 plus 135 is 365. A tool that reports 136 is counting the current day twice; a tool that reports 134 is counting to 30 December.

Worked examples either side of a leap day

18 August 2026 is day 230 of 2026, with 135 days remaining. 18 August 2028, a leap year, is day 231, with 135 remaining — the day number is one higher because 29 February sits behind it, but the days remaining are identical because nothing has changed ahead of it. 1 March 2026 is day 60; 1 March 2028 is day 61. 28 February is day 59 in both. That is the whole leap-year effect on day numbering: a single step inserted between 59 and 60.

The last day is day 365 in a common year and 366 in a leap year, so any system that hard-codes 365 will silently mislabel every date from 1 March in a leap year, and will reject 366 outright. Lot-code and inventory systems that do this produce a very specific symptom: a one-day error that appears only in leap years and only after February.

Where day numbers go wrong

  • Called "Julian dates" when they are not. A true Julian day number counts days continuously from 4713 BC and is a seven-digit figure. When a lot code or a flight plan says "Julian date 230" it means the day of the year. Both usages are entrenched; the context tells you which.
  • Ambiguous year prefixes. 6230 and 26230 both encode day 230 of 2026, using one or two digits of the year. A single-digit prefix repeats every ten years, so a lot code read without knowing the decade is not a date.
  • Zero-based counting. Some systems make 1 January day 0. Everything is then one lower than the figure on this page.
  • Time zones. A day number computed from a UTC timestamp changes at a different moment from the local calendar day, so a batch labelled late in the evening can carry tomorrow's number.

Related ways of naming a position in the year

The day number is one of three common ways to say where in the year a date sits, and they do not agree with each other. The week number is the ISO or US week, which can belong to the neighbouring year at the boundary. Days left in the year is the same information counted from the other end. And weeks left is that figure divided by seven. If you need the gap between two specific dates rather than a position in the year, use days between dates. Whether a given year carries a 29 February — and therefore whether every date after February shifts by one — is on the leap year calculator.

Common questions

What day of the year is it today?
Shown at the top of this page, along with the number of days remaining in the year. It recomputes for your local date.
Is the day of the year the same as a Julian date?
Not strictly. A true Julian day number counts continuously from 4713 BC. But in food, agriculture and aviation, "Julian date" nearly always means the day of the year, often with the year's last digit prefixed.
How do I work out a day number by hand?
Take the day number the month starts on and add the day of the month minus one. August starts on day 213 in a common year, so 18 August is 213 + 17 = 230.
Does a leap year change the day numbers?
Yes, for every date from 1 March onward. They are all one higher than in a common year because 29 February takes day 60.
How many days are left in the year?
See how many days are left in 2026, which recomputes daily.
Does the day number include today?
Yes — 1 January is day 1, so the number for a date includes that date. The days-remaining figure does not: it counts forward to 31 December, so the day number and the days remaining add up to 365 in a common year and 366 in a leap year.
Is a day-of-year number the same as a Julian date?
Not strictly. A true Julian day number counts continuously from 4713 BC and is seven digits long. In food, pharmaceutical and aviation practice "Julian date" almost always means the day of the year, often written with one or two digits of the year in front — 6230 or 26230 for day 230 of 2026.