Julian Date Calculator / Converter (Accurate Results)

Whether you spotted a strange number on a food package, need to do precise astronomical calculations, or are decoding a military MRE stamp, you’ve come to the right place. Use the Julian date calculator below to instantly convert any calendar date to a Julian Day Number and vice versa.

Julian Date Calculator

Convert between calendar dates & Julian Day Numbers · Astronomy & beyond

Calendar Date Input
Today's JD updates automatically
Please enter a valid date.
Result
Enter a date and click Calculate
What is a Julian Date (JD)? The Julian Date is a continuous count of days since noon on January 1, 4713 BC (proleptic Julian calendar). It is widely used in astronomy, space science, and historical research to avoid calendar ambiguity. The decimal portion represents the fraction of the day elapsed since the last noon UT.
Julian Date Input
Please enter a valid Julian Day Number.
Result
Enter a JD and click Convert
Modified Julian Date (MJD) = JD − 2,400,000.5  |  J2000.0 epoch = JD 2,451,545.0 (Jan 1.5, 2000 TT)  |  Unix time 0 = JD 2,440,587.5
Start Date
End Date
Please fill in all fields with valid dates.
Result
Enter two dates to find the difference
Important Julian Day Epochs & Events
Event / EpochCalendar DateJulian Date (JD)
JD Origin (Noon)Jan 1, 4713 BC (Julian)0.0
MJD OriginNov 17, 18582,400,000.5
Unix EpochJan 1, 1970 (00:00 UTC)2,440,587.5
J2000.0Jan 1.5, 2000 (TT)2,451,545.0
GPS EpochJan 6, 19802,444,244.5
B1950.0Dec 31.923, 19492,433,282.423
Gregorian ReformOct 15, 15822,299,161.0
Moon Landing (Apollo 11)Jul 20, 19692,440,423.5
Derived Time Scales & Formulas
ScaleFormula
Modified Julian Date (MJD)MJD = JD − 2,400,000.5
Truncated Julian Date (TJD)TJD = JD − 2,440,000.5
Dublin Julian Day (DJD)DJD = JD − 2,415,020
J2000 offset (centuries)T = (JD − 2,451,545) / 36,525
Unix TimestampUnix = (JD − 2,440,587.5) × 86,400
Lilian Day NumberLDN = JD − 2,299,160.5
Calendar reform: The Gregorian calendar was adopted on October 15, 1582. Dates before this use the proleptic Gregorian or Julian calendar depending on context. When converting historical dates, always specify which calendar system was used.

What Is a Julian Date?

A Julian Date (JD) is a continuous count of days (and fractional days) elapsed since noon Universal Time on January 1, 4713 BC in the proleptic Julian calendar.

Rather than counting within months and years, which vary in length and have changed across history, the Julian Date system counts forward from a single fixed point in time, making it ideal for any calculation that spans long time periods.

Today’s Julian Day Number is displayed automatically in the julian date calculator above. It updates in real time.

One key detail: the Julian Day begins at noon UTC, not midnight. So a date like January 1, 2000, at midnight corresponds to JD 2,451,544.5, while noon on the same day is the more commonly cited JD 2,451,545.0.


julian date calculator

How to Use This Julian Date Calculator

The tool includes four modes:

  1. Date → Julian: Enter any calendar date and optional UTC to get the Julian Day Number, MJD, Truncated JD, J2000.0 offset, Unix timestamp, and day of the week. Pre-filled with today’s date and current time automatically.
  2. Julian → Date: Enter any Julian Day Number to convert it back to a full calendar date and time, including ISO 8601 format.
  3. Date Difference: Enter two calendar dates to calculate the exact number of days between them, using Julian Day arithmetic for precision.
  4. Quick Reference: A reference table of important epochs, events, and derived time scale formulas.

Results can be copied to the clipboard with one click.


How to Read a Julian Date on Food Packaging

When you see a numeric code on a can, carton, or packaged good, it is almost certainly the ordinal Julian date format, not the astronomical JDN.

Here’s how to decode the most common formats:

YYDDD (5-Digit Format) – Most Common

The first two digits are the last two digits of the year; the final three digits are the day of the year.

CodeYearDayCalendar Date
260842026084March 25, 2026
250012025001January 1, 2025
243662024366December 31, 2024 (leap year)

YYYYDDD (7-Digit Format) – Pharmaceutical & Military

Used when long-term traceability is required. The first four digits are the full year; the last three are the day.

CodeCalendar Date
2026084March 25, 2026
2025365December 31, 2025

YDDD (4-Digit Format) – Military MREs

Used on US military Meals Ready-to-Eat (MRE). Only the last digit of the year is used, since MREs are not expected to last beyond 10 years.

CodeMeaning
6084Day 084 of a year ending in 6 (e.g., 2026)

Important note: The Julian date on food packaging is a production date, not an expiration date.


How to Calculate a Julian Day Number

You don’t need to do this by hand; the Julian date calculator at the top handles it instantly.

But if you’re curious about the underlying algorithm, here is the standard formula for converting a Gregorian calendar date to a Julian Day Number, based on the method from Jean Meeus’s Astronomical Algorithms:

Step 1: Express your date as Year (Y), Month (M), Day (D).
Step 2: If M ≤ 2, set Y = Y − 1 and M = M + 12.
Step 3: Calculate A = floor(Y / 100) and B = 2 − A + floor(A / 4).
Step 4: JD = floor(365.25 × (Y + 4716)) + floor(30.6001 × (M + 1)) + D + B − 1524.5

For a Julian calendar date (historical, before October 15, 1582), the same formula applies but with B = 0.

Example: January 1, 2000 at noon UT
→ JD = 2,451,545.0 (the J2000.0 epoch)


Key Julian Date Epochs & Reference Points

These are the most important fixed points in the Julian Date system, used across astronomy, computing, and space science:

Epoch / EventCalendar DateJulian Date (JD)
JD Origin (noon)Jan 1, 4713 BC (Julian)0.0
Modified Julian Date originNov 17, 18582,400,000.5
Unix Epoch (00:00 UTC)Jan 1, 19702,440,587.5
J2000.0 (standard reference)Jan 1.5, 2000 TT2,451,545.0
GPS EpochJan 6, 19802,444,244.5
Gregorian calendar reformOct 15, 15822,299,161.0
Apollo 11 Moon LandingJul 20, 19692,440,423.5

Modified Julian Date (MJD) Explained

The Modified Julian Date (MJD) was introduced by the Smithsonian Astrophysical Observatory in 1957 to track Sputnik’s orbit.

Because full Julian Day Numbers had grown into the 2.4 million range by the mid-20th century, scientists wanted a shorter number that was easier to work with in computations and data storage.

Formula: MJD = JD − 2,400,000.5

Two things have changed compared to the standard JD:

  1. The number is roughly 2.4 million smaller (today’s MJD is around 60,000)
  2. The day starts at midnight UTC rather than noon, making it more intuitive for modern use

MJD is widely used in satellite tracking, geodesy, and time standard agencies such as the International Earth Rotation and Reference Systems Service (IERS).


Other Derived Time Scales

ScaleFormulaNotes
Modified Julian Date (MJD)JD − 2,400,000.5Day starts at midnight; widely used in space science
Truncated Julian Date (TJD)JD − 2,440,000.5NASA-originated format
Dublin Julian Day (DJD)JD − 2,415,020Used in older astronomical software
J2000.0 Offset(JD − 2,451,545) / 36,525Julian centuries from J2000; used in coordinate transforms
Unix Timestamp(JD − 2,440,587.5) × 86,400Seconds since Jan 1, 1970
Lilian Day NumberJD − 2,299,160.5Counts days since Gregorian calendar reform

The Julian Calendar vs. Julian Dates: Clearing Up the Confusion

These are two entirely separate things that share a name and the confusion is extremely common.

Key differences at a glance:

Julian CalendarJulian Day Number
Introduced byJulius Caesar, 46 BCJoseph Scaliger, 1583
What it isA solar calendar systemA continuous day count
Used forOrganising days, months, yearsTime-interval calculations
Still usedEastern Orthodox Church, some historical researchAstronomy, science, computing
Leap year ruleEvery 4 years, no exceptionsNot applicable

Frequently Asked Questions

1. What is today’s Julian date?

Today’s Julian Day Number is calculated and displayed automatically in the Julian date calculator at the top. The number updates in real time based on the current UTC date and time.

2. What is the difference between Julian Date and Modified Julian Date?

The Modified Julian Date (MJD) equals the Julian Date minus 2,400,000.5. The MJD starts at midnight UTC rather than noon, and produces smaller, more convenient numbers for modern scientific work.

3. What calendar should I use for historical dates?

Use the Julian calendar option in the calculator for dates before October 15, 1582, and the Gregorian calendar for dates on or after that date. This follows the standard convention used in astronomy and historical research.

4. What is J2000.0?

J2000.0 is the standard astronomical epoch equal to Julian Date 2,451,545.0, corresponding to January 1, 2000 at 12:00 Terrestrial Time. It is used as the reference point for modern star catalogues, coordinate systems, and planetary ephemerides.

5. Can Julian’s dates be negative?

Yes. Dates before the Julian Day epoch (noon, January 1, 4713 BC) would technically be negative, but in practice the epoch was chosen specifically so that all historically recorded astronomical observations have a positive JD value.


Final Words!

Use the Julian date calculator/converter to get accurate results.

Calculations use the algorithm from Jean Meeus, Astronomical Algorithms (2nd ed.), Chapter 7. The Gregorian calendar reform date of October 15, 1582 (JD 2,299,161) is used as the cutoff between calendar systems.