Modified Julian Date Calculator

Enter a calendar date to get its Modified Julian Date and full Julian Date.

Result

51,544.0
2,451,544.5
Saturday

How it is calculated

The date is picked in the date field, which sends it as YYYY-MM-DD whatever display format your browser uses, and is read as a proleptic Gregorian calendar date, even for years before the Gregorian reform. A standard integer algorithm turns year, month and day into the Julian Day Number, which counts whole days and refers to noon. Because the tool evaluates midnight at the start of the day (00:00 UT), the Julian Date is JD = JDN − 0.5. The Modified Julian Date is MJD = JD − 2,400,000.5, which makes it a whole number at midnight. The tool also names the weekday. In a link, impossible dates such as February 30, or any format other than year-month-day, return no result, and there is no time-of-day or time zone input.

Worked example

Take January 1, 2000. The algorithm gives a Julian Day Number of 2,451,545, so at 00:00 UT the Julian Date is 2,451,545 − 0.5 = 2,451,544.5. Subtracting 2,400,000.5 gives MJD = 51,544.0, which is the main result shown as 51,544.0. The weekday is Saturday. As a check, November 17, 1858, gives MJD 0.0, the zero point of the scale, so 51,544 days separate it from January 1, 2000.

Try this example →

Common mistakes

  • Mixing up day and month in the date field, whose display order follows your browser (03/04 can be March 4 or April 3); check the field shows the intended day before reading the result.
  • Confusing JD and MJD. JD changes at noon and is around 2.4 million, while MJD changes at midnight; when you mix the two the day is out by half a day and by 2,400,000.5.
  • Expecting a time of day. The result is for 00:00 UT of the date; for an observation at 18:00 UT add 0.75 to the MJD yourself.
  • Entering a local date that is already the next day in UT. If your local time is ahead of UT, the UT date can be the day before, so convert to UT first.
  • Using the result for historical dates before 1582 as a Julian-calendar date. The tool applies Gregorian rules to every year, so it will not match sources that use the Julian calendar for those dates.

Sources

  • Modified Julian Date — U.S. Naval Observatory (archived copy, Internet Archive via UNT Web Archive)

About this calculator

The Julian Date (JD) is a continuous day count astronomers use instead of the calendar, counting from noon UT on January 1, 4713 BC — a system chosen precisely so it never resets and never has to deal with months, leap years, or calendar reforms. The Modified Julian Date (MJD) is JD minus 2,400,000.5, which both shortens the huge JD number and shifts the day boundary to midnight, making MJD = 0 correspond to November 17, 1858.

MJD is the standard timestamp in astronomy, satellite operations, and GPS/GNSS systems, where it's far more convenient than calendar dates for computing time intervals and orbital calculations — it's used, for instance, in satellite ephemeris data and by observatories logging observation times.

Was this helpful?

You can pick up to 3 reactions.

Note from the editors

MJD counts days from midnight on November 17, 1858, so that date returns 0.0, and it keeps numbers short for logs and observation records. The tool evaluates 00:00 UT only. If your event happened later in the day, add the fraction yourself: 18:00 adds 0.75 and 06:00 adds 0.25. Which time scale do your records use, UTC or something else?

Comments

  • Be the first to comment.

Popular calculators

All Calculators