How to Use the Julian Date Converter

Choose the conversion mode, enter the date or Julian value, review the resulting JD, JDN, MJD, and equivalent calendar date, and use arithmetic or bulk mode for multiple conversions.

  1. 1. Choose the conversion mode: Pick the mode that matches what you have. Date → JD / JDN / MJD to convert a calendar date into a Julian value. JD / JDN / MJD → Date to go the other way. Gregorian ↔ Julian calendar for historical date conversion. Ordinal for YYYYDDD, YYDDD, or day-of-year codes. Arithmetic for differences and date offsets. Reference epochs for the offset from JD 0, J2000.0, Unix, GPS, or MJD 0. Bulk to convert a list of dates or values at once.
  2. 2. Enter the date or value: In Date → JD mode, pick whether the date is written in the Gregorian or Julian calendar, then enter the year, month, day, and time of day in Universal Time. In JD / JDN / MJD → Date mode, choose which type of value you have and paste it. In Ordinal mode, paste the code. If you only need a whole day, leave the time at noon UT so the JD comes out as a clean integer.
  3. 3. Set the decimal precision: Choose how many decimal places to show for JD and MJD, from 3 to 10. Six decimals is enough for most work (about 0.09 seconds). Use eight or more if you are working with sub-second timestamps, or fewer if you want a cleaner display.
  4. 4. Review the results: The results panel shows the Julian Date, Julian Day Number, Modified Julian Date, day-of-year, weekday, YYYYDDD and YYDDD codes, and the equivalent dates in both the Gregorian and Julian calendars — along with the step-by-step calculation so you can verify the numbers.
  5. 5. Convert back or explore reference epochs: To reverse a conversion, switch to JD / JDN / MJD → Date. To see how far your instant sits from J2000.0, MJD 0, Unix, or GPS, open the Reference epochs mode. To process a whole list of dates or JD values at once, use Bulk convert.
  6. 6. Use date arithmetic when you need intervals: The Arithmetic mode has two options. Difference between two dates gives the exact day count and hours between any two instants — useful for mission planning, elapsed-time calculations, and anything that needs to cross month or leap-year boundaries. Add / subtract days shifts a starting date forward or backward by a fractional number of days.

What Is a Julian Date?

A Julian Date (JD) is a continuous count of days used mainly in astronomy. It was defined so that time intervals between two instants are a simple subtraction — no months, no leap years, no time zone offsets. JD 0.0 is noon Universal Time on 1 January 4713 BC in the proleptic Julian calendar.

Because the day starts at noon, civil noon is always an integer JD and civil midnight is always a value ending in .5. This is a convention, not a curiosity — the noon boundary keeps an entire night of astronomical observation inside a single Julian day.

JD vs JDN vs MJD

Three closely related values, easy to mix up.

  • JD (Julian Date) — continuous day count with a fractional part, so a specific time of day is encoded. JD 2451545.0 is noon UT on 1 January 2000.
  • JDN (Julian Day Number) — the integer day label for a whole day. JDN = floor(JD + 0.5). Same noon boundary, so it changes at noon UT.
  • MJD (Modified Julian Date) — JD minus 2400000.5. The day boundary moves from noon to midnight, which matches civil dates and most software. MJD 0 is midnight on 17 November 1858.

MJD is the more convenient of the three in software and satellite operations because the day starts when a normal day starts. JD remains the traditional value in astronomy and star catalogs.

Julian Calendar vs Julian Date

These share a name and nothing else.

The Julian calendar is the historical civil calendar introduced by Julius Caesar, with a leap day every four years. It drifted from the seasons over centuries and was replaced by the Gregorian calendar starting in 1582.

The Julian Date is an astronomical day count named after Joseph Scaliger, not Julius Caesar. It is not a calendar at all. The calculator supports both — use the Gregorian ↔ Julian calendar mode to convert a calendar date between the two systems, and any of the other modes for astronomical JD work.

Formulas

Given a calendar date and time:

  1. Compute the Julian Day Number for the date using the algorithm for the chosen calendar (Gregorian or Julian).
  2. Convert time of day to a fraction: fraction = (hour + minute/60 + second/3600) / 24.
  3. Then JD = JDN − 0.5 + fraction.

From JD:

  • JDN = floor(JD + 0.5)
  • MJD = JD − 2400000.5
  • Days from J2000.0 = JD − 2451545.0

Worked Examples

2000-01-01 at 12:00 UT → JD 2451545.0. This is the J2000.0 epoch, and noon produces a clean integer.

2000-01-01 at 00:00 UT → JD 2451544.5. Midnight falls half a day before noon, so the value ends in .5.

JD 2451545.0 → 2000-01-01 12:00 UT. The reverse conversion gives back the same instant.

YYYYDDD and YYDDD Ordinal Codes

In manufacturing, logistics, and food safety, the phrase Julian date usually means an ordinal date code — a year plus a day-of-year number from 001 to 366. It is not the astronomical JD and should not be converted to one without also knowing the time of day.

  • YYYYDDD — four-digit year plus three-digit day-of-year. 2000001 is 1 January 2000.
  • YYDDD — two-digit year plus day-of-year. 00001 is 1 January 2000 under the 00–69 → 2000+ convention.

Both are supported as a separate, clearly labeled format. The calculator does not treat them as astronomical JD.

Reference Epochs

Several standard epochs have a fixed Julian Date:

  • JD 0 — noon, 1 January 4713 BC (proleptic Julian calendar).
  • MJD 0 — midnight, 17 November 1858. JD 2400000.5.
  • Unix epoch — midnight, 1 January 1970 UTC. JD 2440587.5.
  • GPS epoch — midnight, 6 January 1980 UTC. JD 2444244.5.
  • J2000.0 — noon, 1 January 2000. JD 2451545.0. The modern astronomical standard epoch.

Fractional Time and Precision

One second is roughly 0.0000116 days. Six decimal places of JD gives about 0.09-second precision; eight decimal places gives about a millisecond. The calculator lets you choose 3 to 10 decimals so you can match the precision your data actually has.

Date Arithmetic with JD

The simplest way to find the interval between two instants is to convert both to JD and subtract. That works across month boundaries, leap years, and calendar reforms without special cases, because JD is continuous. The Date / JD arithmetic mode does this in both directions — difference between two dates, and add or subtract days (fractional days allowed) from a starting date.

Historical Dates and the Gregorian Reform

The Gregorian calendar replaced the Julian calendar in October 1582. Ten days were skipped: the day after Thursday 4 October 1582 (Julian) was Friday 15 October 1582 (Gregorian). Adoption was not uniform — Catholic countries switched in 1582, most Protestant countries in the 18th century, and some Orthodox countries as late as the 20th.

Because of this, the same civil numbers can mean different instants depending on which calendar the source used. The calculator makes the calendar choice explicit — the input is interpreted strictly as Gregorian or strictly as Julian, and the equivalent date in the other calendar is shown. There is no silent automatic switch, because there is no universal rule that would produce the right answer.

Limitations

This calculator handles the standard astronomical JD, JDN, and MJD, the Gregorian and Julian calendars, and the ordinal date codes. It does not model proleptic Gregorian or proleptic Julian as separate selectable conventions — pick whichever calendar the date actually uses and read the equivalent in the other. It does not provide leap-second-aware time scales (UTC vs TAI vs TT) beyond the standard UT/UTC approximation. For high-precision astronomy that requires a specific time scale, use a dedicated ephemeris tool.

Julian Date Converter – JD, JDN, MJD & Julian Calendar

Frequently Asked Questions

Q: What is the difference between JD and JDN?

JD includes a fractional part for the time of day and rolls over at noon. JDN is the integer version of the same count, also noon-based, that changes once per day. A JD of 2451545.75 corresponds to JDN 2451545. They describe the same underlying day count — the difference is precision, not meaning.

Q: What is Modified Julian Date (MJD)?

MJD = JD − 2400000.5. The day boundary moves from noon to midnight, matching civil dates and most software. MJD is widely used in satellite operations, geodesy, and software because the day changes when a normal day changes. MJD 0 is midnight on 17 November 1858.

Q: How do I convert a calendar date to JD?

Enter the calendar date and time in the Date → JD mode. The calculator computes the Julian Day Number for that date, then adds the fractional part for the time of day: JD = JDN − 0.5 + time/24. Both JD and the derived JDN and MJD are shown, along with the steps used.

Q: How do I convert a JD, JDN, or MJD value back to a date?

Switch to the JD / JDN / MJD → Date mode, choose which type of value you are entering, and paste the number. The calculator returns the equivalent date and time in the Gregorian calendar, the Julian calendar equivalent, the day-of-year, and the weekday.

Q: Can the calculator handle dates before 1582?

Yes. It supports years down to −4713 in the proleptic Julian calendar, and BC years are displayed with a BC suffix so the era is unambiguous. The choice of Gregorian or Julian calendar is explicit — the input is interpreted strictly as one or the other, and the equivalent date in the other calendar is shown.

Q: Can I convert a Julian calendar date to Gregorian?

Yes. Use the Gregorian ↔ Julian calendar mode. Enter the date, choose which calendar it was written in, and the calculator shows the equivalent in the other. This is useful for historical records, genealogy, and any source written before the Gregorian reform of 1582 — or later, in countries that adopted it late.

Q: How do I convert a YYYYDDD or YYDDD code to a date?

Use the Ordinal mode, choose YYYYDDD or YYDDD, and paste the code. The calculator returns the corresponding Gregorian date (at 00:00 UT) plus the JD, JDN, MJD, day-of-year, and the code round-tripped back. YYDDD is decoded under the 00–69 → 2000+ and 70–99 → 1900+ convention by default.

Q: How accurate is a Julian Date conversion?

The conversion itself is exact — your input precision is what limits the output. As long as you supply the correct calendar, date, and time, the JD, JDN, and MJD values are mathematically exact. The main caveats are: dates near the 1582 reform depend on which calendar the source used, and leap seconds are not modeled (UT and UTC are treated as equivalent here).

Loaded shared calculation