Day Of Year Calculator

The day of the year is the ordinal number of a date within its year: 1 January is day 1, and 31 December is day 365 — or 366 in a leap year.

Runs in your browser — nothing is uploaded

Nothing is uploaded. The calculation happens on your device.

Drop a .txt file here Tap to choose a .txt file

or browse your device — you can also paste (Ctrl+V)

Your camera and gallery open from the file picker

One file at a time. Files over 200 MB may be too large for browser processing.

    Your result will appear here.

    Free, no account, no sign-up. Nothing is uploaded. Everything runs on your device.

    The day of the year is the ordinal number of a date within its year: 1 January is day 1, and 31 December is day 365 — or 366 in a leap year. This tool gives that number for any date, together with how many days are left in the year and whether the year is a leap year. Leap day 2024, 29 February, is day 60 with 306 days remaining; 7 November 2026 is day 311 with 54 days to go. That numbering is used in astronomy, logistics, manufacturing date codes and some legal deadlines, where 'day 311' is less ambiguous than a month name. The calculation uses UTC dates and runs entirely in your browser, so nothing is uploaded and the answer is the same in every timezone. Impossible dates are refused rather than guessed, and dates before the year 1 or far in the future are outside what the tool handles.

    How to use Day Of Year Calculator

    1. Paste your text type, paste (Ctrl+V) or drop a .txt file into the box above.
    2. Click Convert the tool runs entirely in your browser — nothing is uploaded.
    3. Read your results they appear below the tool as soon as the conversion finishes.
    4. Download the result save it for your records.
    5. Convert another clear the box and paste new text — no sign-up, no limits.

    Format facts

    InputAny plain text, or a .txt file (dropped or browsed).
    EngineBuilt-in browser engine
    CategoryDate & Time Tools

    Limits

    • Browser processing has practical limits: files over 200 MB (or very long media) may be too large for your device. You will get an honest “too large” message, never a fake result.
    • Pasted content is handled as plain text — formatting from documents is not preserved.

    Frequently asked questions

    What is the day of the year?

    The ordinal number of a date within its year: 1 January is day 1, 31 December is day 365, or 366 in a leap year. 29 February 2024 is day 60.

    Does it also say how many days are left?

    Yes. It reports the days remaining in the year and whether the year is a leap year — 7 November 2026 is day 311 with 54 days left.

    What is this numbering used for?

    Astronomy, logistics, manufacturing date codes and some legal deadlines, where 'day 311' is less ambiguous than a month name.

    Does it work for leap years?

    Yes. In a leap year the year has 366 days, so dates after February count one higher than in a common year.