Astronomy · Converter

Modified Julian Date (MJD) converter

Enter an MJD to get the calendar date and UTC time, or pick a date to get its MJD. Today at midnight UTC is MJD 61379.0.

MJD ⇄ date converter

Enter a calendar date
Calendar date
Julian date (day-of-year)
Astronomical
Julian Date (JD)
Modified JD (MJD)
Julian Day Number
—

Click or tap any result to copy it.

Enter an MJD value, or switch the scale to JD for a full Julian Date.

Definition

The Modified Julian Date is defined by one exact relationship:

MJD = JD − 2400000.5

The .5 matters: the Julian Date begins each day at noon, so subtracting half a day makes the MJD begin at midnight, like a calendar date. MJD 0 is 00:00 UTC on November 17, 1858.

Quick facts

  • MJD = JD − 2,400,000.5, and JD = MJD + 2,400,000.5
  • Epoch: 1858-11-17 00:00 UTC
  • Changes at midnight UTC; whole numbers fall at 00:00 UTC
  • MJD = Unix time / 86400 + 40587

MJD today

The current Modified Julian Date is about 61379.035: 61,379 whole days since the 1858 epoch, plus the fraction of the current UTC day. The home page shows it updating to the second.

Saturday, December 5, 2026 at 00:00 UTC has a Julian Date of 2461379.5. Subtract the constant:

MJD = 2461379.5 − 2400000.5 = 61379.0

How to convert MJD to a date by hand

The whole part is a day count from November 17, 1858, and the fraction is the time of day from midnight UTC:

MJD 61242.75

Whole days:  61242 days after 1858-11-17   ->  2026-07-21
Fraction:    0.75 x 24 h = 18 h            ->  18:00 UTC

Result: July 21, 2026 at 18:00 UTC   (JD = 61242.75 + 2400000.5 = 2461243.25)

In code, the same conversion is one line in most languages:

Python    datetime(1858, 11, 17) + timedelta(days=61242.75)       # 2026-07-21 18:00
pandas    pd.to_datetime(61242.75, unit='D', origin=pd.Timestamp('1858-11-17'))
astropy   Time(61242.75, format='mjd', scale='utc').iso
JS        new Date((61242.75 - 40587) * 86400000).toISOString()
Excel     =A1-15018              (format the cell as date and time)
SQLite    SELECT datetime(61242.75 + 2400000.5);
Unix time (MJD - 40587) * 86400  ->  1784656800

Fuller examples, including the reverse direction, are on the Python, JavaScript, Excel and SQL pages.

MJD reference values

MomentMJD
MJD epoch (1858-11-17 00:00)0
Sputnik 1 launch day (1957-10-04)36115
Unix epoch (1970-01-01 00:00)40587
GPS epoch (1980-01-06 00:00)44244
MJD 50000 (1995-10-10)50000
J2000.0 (2000-01-01 12:00 TT)51544.5
MJD 60000 (2023-02-25)60000
2026-01-01 00:0061041
2027-01-01 00:0061406
MJD 62000 (2028-08-17)62000

MJD and similar day counts

NameDefinitionDay starts at
Julian Date (JD)days since 4713 BC Jan 1, 12:00noon UTC
Modified JD (MJD)JD − 2400000.5midnight UTC
Reduced JD (RJD)JD − 2400000noon UTC
Truncated JD (TJD)⌊JD − 2440000.5⌋midnight UTC

Reduced JD is easy to mistake for MJD because the numbers differ by only half a day. Check which one a data file uses before combining sources.

Which time scale?

An MJD is only as precise as its time scale. Civil data and this converter use UTC. Ephemerides and pulsar timing often use Terrestrial Time (TT) or Barycentric Dynamical Time (TDB), written MJD(TT) or MJD(TDB). TT is currently about 69 seconds ahead of UTC, so MJD(TT) is about 0.0008 larger than MJD(UTC) for the same instant. Satellite and geodesy files (IERS bulletins, for example) label the scale; use it.

Where MJD is used

  • Satellite and spacecraft tracking: compact time tags in fixed-width formats.
  • Geodesy and Earth orientation: the IERS publishes its Earth-orientation parameters against MJD.
  • Astronomy: light curves, pulsar timing and survey data are routinely tabulated in MJD.
  • Computing: a small day count that is easy to store and subtract.

Related

Frequently asked questions

What is the Modified Julian Date (MJD)?

The Modified Julian Date is the astronomical Julian Date minus 2,400,000.5. Subtracting 2.4 million removes digits that never change in modern dates, and the extra 0.5 moves the start of the day from noon to midnight, so the MJD changes at 00:00 UTC like a calendar date.

How do I convert MJD to a date?

Add the whole number of days to November 17, 1858, then turn the fraction into hours (fraction × 24). MJD 61242.75 is 61,242 days after November 17, 1858, which is July 21, 2026, at 18:00 UTC. The converter on this page does it for you, and the code examples above do it in Python, JavaScript, Excel and SQL.

How do I convert MJD to Unix time?

Unix time = (MJD − 40587) × 86400. MJD 40587 is January 1, 1970. Going the other way, MJD = Unix time / 86400 + 40587.

What is the MJD today?

Today's MJD at midnight UTC is shown in the "MJD today" section of this page and updates daily. In late 2025 the MJD passed 61,000, and it reaches 62,000 on August 17, 2028.

Why was the MJD created?

The Smithsonian Astrophysical Observatory introduced it in 1957 to record satellite tracking data, starting with Sputnik. The full Julian Date needed more digits than its computers could store and changed at noon; the MJD is shorter and changes at midnight. It was later adopted by the IAU and is standard in geodesy and astronomy.

When does the MJD epoch start?

MJD 0.0 is 00:00 UTC on November 17, 1858, which is Julian Date 2,400,000.5.

What is the difference between MJD and the Julian Date?

They count the same days with a different zero point. JD = MJD + 2,400,000.5. The JD changes at noon UTC; the MJD at midnight UTC. For July 21, 2026 at 00:00 UTC, the JD is 2461242.5 and the MJD 61242.0.