# Day of Year Converter

Convert any date to its day-of-year number (1-366) and back, with ISO week number, leap-year check, and days remaining in the year.

> Canonical page: https://test.elysiatools.com/en/tools/day-of-year-converter

- **Category:** Utilities

- **Keywords:** day of year, ordinal date, day number, iso week, leap year, date converter, days remaining

## Overview

A bidirectional date ↔ ordinal converter. Enter a date to get its day-of-year number (e.g. Feb 1 = day 32), or enter a day number + year to get the calendar date. Each result also shows the ISO 8601 week number, whether the year is a leap year, how many days remain until year-end, and the day of the week. Useful for project tracking ("day 184 of 2026"), habit streaks, and log-file naming.

## Inputs

- **Conversion Mode** (select)
- **Date** (date): 2026-02-01
- **Year** (number)
- **Day Number (1-366)** (number): 32

## When to use

- Converting a calendar date into an ordinal day-of-year number for logging or tracking.
- Finding the calendar date and weekday associated with a specific day number and year.
- Checking whether a given year is a leap year and how many days remain until year-end.

## How it works

- Select Conversion Mode as either 'Date → Day of Year' or 'Day of Year → Date'.
- If converting from a date, enter a value in Date; if converting from an ordinal day, enter Year and Day Number (1-366).
- Review the generated text to verify the converted day or date along with the ISO week number, leap-year flag, weekday, and days remaining.

## Use cases

- Log file standardization: Formatting daily server or application archives using ordinal day identifiers.
- Milestone tracking: Determining the exact date and day of the week when a target annual day count is reached.
- Year-end planning: Checking the ISO 8601 week and remaining day count from a specified project deadline.

## Frequently asked questions

### What inputs are required for Date → Day of Year conversion?

Set Conversion Mode to 'Date → Day of Year' and provide a calendar date in the Date field.

### What inputs are required for Day of Year → Date conversion?

Set Conversion Mode to 'Day of Year → Date', enter the target Year (1–9999), and specify the Day Number (1–366).

### Does the tool indicate leap years automatically?

Yes, each calculation evaluates the year's leap-year status and adjusts the total annual day count accordingly.

### What additional details are included in the output?

Results include the day of the week, ISO 8601 week number, leap-year verification, and the number of days remaining in the year.

### Does this calculate continuous astronomical Julian Dates?

No, it calculates ordinal day-of-year numbers within a single calendar year, ranging from 1 to 366.

## Related tools

- [ISO Week Number and Fiscal Quarter Anchor Finder](https://test.elysiatools.com/en/tools/iso-week-number-and-fiscal-quarter-anchor): Convert any date to ISO 8601 week number, day-of-year, Julian Day, and fiscal-quarter boundaries (4-4-5, 4-5-4, 13-week, or standard).
- [Age Calculator](https://test.elysiatools.com/en/tools/age-calculator): Calculate age from birth date in years, months, days, and total time units
- [Fertilizer N-P-K Blend Calculator](https://test.elysiatools.com/en/tools/fertilizer-blend-calculator): Compute how to mix base fertilizers to hit a target N-P-K analysis like 10-10-10. Outputs per-fertilizer kg plus a parts ratio for any batch size.
- [Gregorian to Islamic Calendar](https://test.elysiatools.com/en/tools/gregorian-to-islamic): Convert Gregorian calendar dates to Islamic (Hijri) calendar dates
- [Interior Paint Coverage Estimator](https://test.elysiatools.com/en/tools/interior-paint-coverage-estimator): Estimate how many buckets of interior paint you need from room dimensions, doors/windows, coats, paint coverage, and bucket size — rounded up to whole buckets, with optional primer and waste factor.
- [Islamic to Gregorian Calendar](https://test.elysiatools.com/en/tools/islamic-to-gregorian): Convert Islamic (Hijri) calendar dates to Gregorian calendar dates
- [Nepali Bikram Sambat & Thai Solar Calendar Bridge](https://test.elysiatools.com/en/tools/nepali-bikram-sambat-and-thai-solar-calendar-bridge): Convert any date between Gregorian (AD), the Nepali Bikram Sambat (BS) calendar, and the Thai solar (Buddhist Era, BE) calendar. Shows the BS month-length table for the year and explains the algorithm.
- [Coordinate DMS Converter](https://test.elysiatools.com/en/tools/coordinate-converter-dms): Convert latitude and longitude between decimal degrees and degrees-minutes-seconds (DMS) format

## Samples

- [Web Image Processing Python Samples](https://test.elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://test.elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://test.elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Rust Samples](https://test.elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
