Skip to content

Day of Year Calculator

Find what day of the year any date falls on (1-365) and convert day numbers back to dates. Free day-of-year calculator with remaining days count.

Date & TimeCalculators
Instant results
Monday
Day 131
of 365 days in 2026
Days Passed
131
Days Remaining
234
Week Number
W19
Quarter
Q2
Year Progress36%
Jan 1Day 131 of 365Dec 31

Month Day Ranges

How to Use Day of Year Calculator

1

Enter the date

Pick any date or default to today. The calculator returns which day of the year, between 1 and 365 (or 366 in leap years), the date represents.

2

Or enter the day number

For reverse lookup, type a day number such as 100 and the tool gives you the calendar date for whichever year you specify.

3

Trust the leap-year handling

The calculator adjusts automatically based on the year. Day 60 lands on March 1 in non-leap years and on February 29 in leap years.

4

Apply the result

Use the value for scientific calculations, agricultural planning, astronomy formulas, or any context where sequential days work better than calendar dates.

When to Use Day of Year Calculator

Scientific and astronomical calculations

Astronomy, meteorology, and geography routinely express dates as day-of-year because solar position formulas, sunrise and sunset calculations, sun angle modeling, and frost prediction all key off the sequential day count. Day 80 lands near the spring equinox, while day 172 sits at the summer solstice in the northern hemisphere.

Agricultural planning

Planting and harvest schedules read more naturally as day-of-year than as calendar dates. Guidance like 'plant after day 100' or 'first frost typically lands around day 280' stays consistent across years aside from the leap-year wrinkle, which helps align operations with the seasonal patterns that crops actually respond to.

Photography and outdoor planning

Solar angle drives lighting quality, and day-of-year is how astronomers and photographers track that. Planning landscape shoots around golden-hour timing, predicting peak foliage, scheduling ski or beach days, and lining up sunset timing for outdoor events all benefit from working in sequential days.

Progress tracking and reporting

Saying 'we're at day 120 of 365' communicates status faster than parsing a calendar date. The single sequential number anchors yearly fitness goals, savings progress, project timelines, and deadline countdowns in a way that reads at a glance.

Day of Year Calculator Examples

Common reference points

Input
March 15, 2026
Output
Day 74 of 2026

The math is January's 31 plus February's 28 plus 15, which sums to 74 in a non-leap year. Leap years bump it to 75 from March onward. The calculator handles the leap-year adjustment automatically based on the year you specify.

Reverse calculation

Input
Day 200 of 2026
Output
July 19, 2026

Counting 200 days from January 1 lands on July 19. Reverse lookups are common in astronomical work where day-of-year is the natural unit and you need to translate back into a calendar date for human consumption.

Mid-year reference

Input
Day 183 of 2026
Output
July 2, 2026

Day 183 sits right around the year's halfway point, since 365 divided by 2 lands at 182.5. The midpoint is a handy anchor for tracking progress against annual goals and reviewing where the year actually stands.

Tips & Best Practices for Day of Year Calculator

  • 1.Mind the leap years because February 29 only exists in years divisible by 4 (with the century-rule exceptions). That single extra day shifts every day number from March 1 onward.
  • 2.Useful anchors include day 1 on January 1, day 365 or 366 on December 31, day 100 around April 10, and day 200 around July 19. These make quick mental conversions easier.
  • 3.For long-term goal tracking, day-of-year gives you a clean progress metric. 'Halfway through the year' translates to day 182 or 183 depending on leap-year status.
  • 4.Astronomical formulas treat day-of-year as the natural input rather than calendar date, because sun position varies smoothly with sequential day count rather than with month boundaries.
  • 5.In data science work, day-of-year makes a useful feature for machine learning models. It lets the model learn seasonal patterns without needing separate month and day columns to encode the same information.
  • 6.Some languages like Python expose day-of-year directly via strftime '%j'. Verify whether your specific function is zero-indexed or one-indexed before plugging the output into formulas.

Frequently Asked Questions

Day of year, often abbreviated DOY, is the sequential day number running from 1 on January 1 through 365 (or 366 in leap years) on December 31. The format shows up wherever a single sequential count works better than month and day pairs, including astronomy, agriculture, meteorology, and progress reporting.