Day of Year Calculator — Find the Ordinal Day Number
Discover which day number (1 through 366) any date falls on within its year, with a visual progress bar, remaining days count, and automatic leap year detection.
Day of Year
85.48% through the year
Remaining Days
53
Leap Year
No
Date
November 8, 2026
Day of Year Reference Table
| Month Start | Day # (Common) | Day # (Leap) | % Through Year |
|---|---|---|---|
| January 1 | 1 | 1 | 0.27% |
| February 1 | 32 | 32 | 8.49% |
| March 1 | 60 | 61 | 16.16% |
| April 1 | 91 | 92 | 24.93% |
| July 1 | 182 | 183 | 49.86% |
| October 1 | 274 | 275 | 75.07% |
| December 31 | 365 | 366 | 100% |
Related Calculators
Week Number Calculator
Find the ISO week number for any date with week start and end dates.
Day of the Week Calculator
Find what day of the week any date falls on.
Date Calculator
Calculate date differences or add and subtract time periods from any date.
Day Counter
Count calendar days, business days, and weekend days between two dates.
Sunrise Calculator
Calculate sunrise and sunset times for any location and date.
Ohm's Law Calculator
Calculate voltage, current, resistance, and power using Ohm's Law.
About this calculator
Day of Year Formula
Day of Year = (Date - January 1 of same year) / 86,400,000 + 1 Progress = (Day of Year / Total Days in Year) * 100% Remaining = Total Days in Year - Day of Year Variables Explained
- Date: The target date for which you want the day of year number.
- January 1: The first day of the same year, used as the reference point. It is always day 1.
- 86,400,000: Milliseconds in one day, used to convert the millisecond difference to whole days.
- +1: Added because January 1 itself is day 1 (not day 0). The formula counts from zero and adds 1 for the 1-based numbering convention.
- Total Days in Year: 365 for common years, 366 for leap years. Determines the denominator for progress percentage and the ceiling for remaining days.
- Leap Year: A year is a leap year if divisible by 4, except century years must also be divisible by 400. Formula: (year % 4 === 0 && year % 100 !== 0) || (year % 400 === 0).
Step-by-Step Example
Find the day of year for August 15, 2026:
- January: 31 days
- February: 28 days (2026 is not a leap year)
- March: 31 days
- April: 30 days
- May: 31 days
- June: 30 days
- July: 31 days
- August 1-15: 15 days
- Total: 31 + 28 + 31 + 30 + 31 + 30 + 31 + 15 = Day 227
- Progress: 227 / 365 = 62.19% through the year
- Remaining days: 365 - 227 = 138 days left
Sources
- ISO 8601 Date and Time Standard — Ordinal Date Format
- Gregorian Calendar and Leap Year Rules — U.S. Naval Observatory
- USDA Food Safety and Inspection Service — Date Labeling on Products
- timeanddate.com — Day of Year Reference
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026