Time calculators

Julian Date Calculator

Updated Jul 11, 2026 By Jehan Wadia
Rate Formulas

Smart Quick Converter Ordinal Julian Date (yyddd): the 2-digit year plus 3-digit day-of-year shorthand used in manufacturing, food labelling, and logistics.

All calculations are performed in UTC.
Accepts 07/11/2026, 11-Jul-2026, July 11, 2026, 2026-192, 26192, 26.192, today, +1 week, -3 days. Detection is automatic.
Result
Detected: —
Calendar Date (UTC)
Ordinal Julian (yyddd)
Ordinal Julian (yyyyddd)
Day of the Week
Progress Through the Year

Calendar Date → Julian Day Number Julian Day Number (JDN): a continuous count of days since noon UTC on January 1, 4713 BC.

Enter the moment in UTC. Fields are pre-filled with the current UTC date & time.
Era
Format HH:MM:SS.S
Calendar System Auto uses the Julian calendar up to Oct 4, 1582 and the Gregorian calendar from Oct 15, 1582 (the Papal reform). Julian Only forces the Julian calendar for every date.
Result
Julian Day Number (JDN) Continuous day count from noon UTC, January 1, 4713 BC.
Modified Julian Date (MJD) MJD = JDN − 2,400,000.5; widely used in modern scientific datasets.
Day of the Week
Step-by-Step Solution

Julian Day Number → Calendar Date

The resulting time is expressed in UTC / UT1.
Decimal accepted to 6 places, e.g. 2461224.366563.
Calendar System Auto uses Julian before Oct 15, 1582 and Gregorian after. Julian Only always expresses the output in the Julian calendar.
Result
Calendar Date (with Era)
Time (UT1)
Day of the Week
Modified Julian Date (MJD) MJD = JDN − 2,400,000.5.

Two-Date JDN Interval

Whole-day JDN arithmetic in UTC. Edit any panel or the interval — the others recalculate on tab-out.
Panel A
Era
Calendar Auto: Julian ≤ Oct 4, 1582, Gregorian ≥ Oct 15, 1582. Julian Only forces Julian.
JDN
Day of Week
Positive = B after A; negative = B before A.
Panel B
Era
Calendar Auto: Julian ≤ Oct 4, 1582, Gregorian ≥ Oct 15, 1582. Julian Only forces Julian.
JDN
Day of Week

Introduction

A Julian date is a way to write any calendar date as a simple number. Instead of using a month and day, it counts the days in order from the start of the year — or from a fixed point in history. Scientists, farmers, food makers, and shipping companies all use Julian dates because they make it easy to track time and count the days between two events.

This Julian Date Calculator lets you convert dates in four ways. The Quick Converter reads almost any date format you type and instantly gives you the ordinal Julian date (the day-of-year number) or turns an ordinal code back into a regular calendar date. The Date → JDN tab converts any calendar date into an astronomical Julian Day Number — the continuous count of days since January 1, 4713 BC — and shows each math step so you can follow along. The JDN → Date tab does the reverse, turning a Julian Day Number back into a calendar date and time. The Date Interval tab finds the exact number of days between two dates using their Julian Day Numbers.

All results are calculated in UTC. The tool supports both the Julian and Gregorian calendar systems and handles dates across thousands of years. Enter a date below to get started.

How to Use Our Julian Date Calculator

Enter a calendar date, an ordinal Julian date, or a Julian Day Number and this calculator will convert it for you. It can also find the number of days between two dates. Results include the Julian Day Number (JDN), ordinal Julian date, Modified Julian Date (MJD), and the day of the week.

Quick Converter Tab: Type any date into the input box. You can use formats like 07/11/2026, 11-Jul-2026, July 11 2026, or an ordinal code like 26192 or 2026-192. You can also type "today," "+1 week," or "-3 days" for quick relative dates. Press "Convert" to see the calendar date, ordinal Julian date, day of the week, and a chart showing how far through the year that date falls. If you need to add a specific number of days to a starting date, the Date Interval tab or our dedicated tool can help.

Date → JDN Tab: Pick an era (AD or BC), then enter a year, month, and day. Set the time in HH:MM:SS.S format if you need a precise result, or leave it at 00:00:00.0 for midnight. Choose "Auto" for the calendar system to let the tool switch between Julian and Gregorian at the 1582 reform, or pick "Julian Only" to force the Julian calendar. Press "Convert" to get the Julian Day Number, Modified Julian Date, day of the week, and a full step-by-step solution.

JDN → Date Tab: Enter a Julian Day Number in the input box. Decimals up to six places are accepted for a time-of-day result. Choose your calendar system, then press "Convert." The tool will return the matching calendar date, time in UTC, day of the week, and Modified Julian Date. If you need to work across different time zones, remember to convert your local time to UTC before entering it.

Date Interval Tab: Fill in a date in Panel A using the era, year, month, and day fields. Then either enter a date in Panel B or type a number of days in the "Days Later" box. Press "Calculate" and the tool will find the JDN for both dates and show the exact number of days between them. A positive interval means Panel B is after Panel A. A negative number means Panel B is before Panel A. For everyday interval counting that does not require Julian Day Numbers, you can also use our Days From Date Calculator.

What Is a Julian Date?

A Julian date is a way to write a calendar date as a simple number. There are two main types, and they are used for very different reasons.

Ordinal Julian Date (Day of the Year)

An ordinal Julian date counts how many days have passed in the current year. January 1 is day 1, February 1 is day 32, and so on up to day 365 (or 366 in a leap year). It is often written as a 5-digit code like 26192, where "26" is the year and "192" is the day number. You will see this format on food packages, medicine labels, and shipping boxes. It tells you when a product was made without using a full date. To find how many days have passed since a known production date, try our Days Since Calculator.

Julian Day Number (JDN)

A Julian Day Number is a running count of days that started at noon on January 1, 4713 BC. Today's JDN is in the millions. Scientists, astronomers, and historians use it because it gives every day in history one single number. This makes it easy to find the exact number of days between any two dates, even dates thousands of years apart. Our Age Calculator uses a similar principle to measure the time elapsed between two calendar dates. The Modified Julian Date (MJD) is a shorter version. You get it by subtracting 2,400,000.5 from the JDN.

Julian Calendar vs. Gregorian Calendar

The Julian calendar was created by Julius Caesar in 46 BC. It used a simple leap year rule: one leap year every 4 years. Over time, this added too many leap days, and the calendar drifted away from the real seasons. In 1582, Pope Gregory XIII fixed this by removing 10 days (October 5–14 were skipped) and adding a better leap year rule. This new system is the Gregorian calendar, which most of the world uses today. When you work with dates before October 15, 1582, the Julian calendar applies. After that date, the Gregorian calendar applies. You can explore more everyday date calculations with our Date Calculator.

How to Convert a Date to a Julian Day Number

The conversion uses a math formula that accounts for years, months, and the calendar system. First, you adjust the month and year. If the month is January or February, you subtract 1 from the year and add 12 to the month. Next, you calculate a correction term if the date falls in the Gregorian calendar. Finally, you plug everything into the formula to get the JDN. The calculator on this page does all of this work for you instantly.

Common Uses of Julian Dates

  • Food and medicine: Lot codes on packaging often use the ordinal format (yyddd) to mark production dates.
  • Astronomy: Astronomers use JDN to time events like eclipses, planet positions, and satellite passes.
  • Military and government: The U.S. military uses ordinal dates in reports and logistics, often alongside military time for precise record-keeping.
  • Computing: Some databases store dates as Julian Day Numbers because a single number is easier to sort and compare.
  • Logistics and shipping: Companies use ordinal Julian dates alongside lead time calculations and business day counts to schedule production and delivery.

Formulas used

Julian Day Number (JD)
JD = \lfloor 365.25\,(y + 4716) \rfloor + \lfloor 30.6001\,(m + 1) \rfloor + D + B - 1524.5
Gregorian calendar correction (B)
A = \lfloor y / 100 \rfloor, \quad B = 2 - A + \lfloor A / 4 \rfloor
Day with time fraction
D = d + \frac{h \times 3600 + m \times 60 + s}{86400}
Modified Julian Date (MJD)
MJD = JD - 2400000.5
Day of the week from JDN
\text{index} = \bigl(\lfloor JD + 0.5 \rfloor + 1\bigr) \mod 7
Astronomical year for BC dates
Y_{\text{astro}} = 1 - Y_{\text{BC}}

Frequently asked questions

What is the difference between a Julian Day Number and an ordinal Julian date?

An ordinal Julian date is the day-of-year number, from 1 to 365 (or 366 in a leap year). For example, July 11 is day 192. A Julian Day Number (JDN) is a much bigger number that counts every day since January 1, 4713 BC. They are two different systems. The Quick Converter tab works with ordinal dates, and the Date → JDN tab works with Julian Day Numbers.

How do I read a 5-digit Julian date code on a food package?

The first two digits are the year and the last three digits are the day of the year. For example, 26192 means the 192nd day of 2026, which is July 11, 2026. Type the 5-digit code into the Quick Converter tab and press Convert to see the full calendar date.

What does the Auto calendar setting do?

The Auto setting uses the Julian calendar for all dates on or before October 4, 1582, and the Gregorian calendar for dates on or after October 15, 1582. This matches the historical switch made by Pope Gregory XIII. If you choose Julian Only, the tool uses the Julian calendar for every date, no matter the year.

Why does the calculator say October 5–14, 1582 do not exist?

When the Gregorian calendar was introduced in 1582, ten days were removed. The day after October 4 became October 15. Those ten dates never happened in the Gregorian calendar. If you need to work with one of those dates, select Julian Only as the calendar system.

What time zone does the calculator use?

All calculations use UTC (Coordinated Universal Time). If you are in a different time zone, convert your local time to UTC before entering it. This keeps all results consistent.

What is a Modified Julian Date (MJD)?

The Modified Julian Date is a shorter version of the Julian Day Number. You get it by subtracting 2,400,000.5 from the JDN. Scientists and engineers use MJD because the numbers are smaller and easier to work with in modern datasets.

Can I enter a BC date into the calculator?

Yes. In the Date → JDN tab and the Date Interval tab, select the BC era option before entering the year. The calculator supports dates back to 4713 BC, which is the start of the Julian Day system.

How do I find how many days are between two dates?

Use the Date Interval tab. Enter a date in Panel A and a date in Panel B, then press Calculate. The tool will show the exact number of days between them. A positive number means Panel B is after Panel A. A negative number means Panel B is before Panel A.

What date formats does the Quick Converter accept?

It accepts many formats, including MM/DD/YYYY (07/11/2026), DD-Mon-YYYY (11-Jul-2026), Month Day, Year (July 11, 2026), and ordinal codes like 26192, 2026192, or 2026-192. You can also type today, +1 week, or -3 days for relative dates.

What does the decimal part of a Julian Day Number mean?

The decimal part represents the time of day. A JDN ending in .0 means noon UTC, and .5 means midnight UTC. For example, 2461232.500000 is midnight on July 11, 2026, and 2461232.750000 is 6:00 AM UTC on the same day.

Why does the Julian Day start at noon instead of midnight?

Astronomers chose noon as the starting point so that a single night of observation would fall within one Julian Day. If the day started at midnight, an observing session would be split across two day numbers, which would make record-keeping harder.

How do I use the step-by-step solution in the Date to JDN tab?

After you press Convert in the Date → JDN tab, scroll down to the Step-by-Step Solution section. It shows each part of the formula: adjusting the year and month, calculating the calendar correction, adding the time fraction, and combining everything into the final Julian Day Number. This is helpful for learning or checking homework.

What does the year progress chart show?

The circular chart in the Quick Converter tab shows how far through the year your date falls. It displays the day number and the percentage of the year that has passed. For example, day 192 of a 365-day year is about 52.6% through the year.

Can I copy the results to my clipboard?

Yes. Every result row has a small copy button on the right side. Click it to copy that value to your clipboard. A checkmark will appear briefly to confirm the copy was successful.

How does the calculator handle leap years?

For Gregorian dates, a year is a leap year if it is divisible by 4, except for century years, which must be divisible by 400. For Julian calendar dates, every year divisible by 4 is a leap year. The calculator applies the correct rule based on your calendar setting.

What is the highest Julian Day Number the calculator supports?

The calculator supports years up to 9999 AD. The JDN for December 31, 9999 is about 5,373,484. You can enter any JDN within this range in the JDN → Date tab.

How do two-digit years work in ordinal Julian dates?

When you enter a 5-digit ordinal code like 26192, the calculator reads the first two digits as the year. Years 00–68 are treated as 2000–2068, and years 69–99 are treated as 1969–1999. This follows the same convention most computer systems use.