🔬
🔬 Science & engineering

Julian Date & MJD Calculator

Results update as you type.

Your numbers

Understanding the Julian date and MJD calculator — concept and principle

The Julian Date (JD) is a continuous count of days, including fractions, since noon Universal Time on 1 January 4713 BC in the proleptic Julian calendar. Subtracting two JDs gives the exact interval between events, with no months or leap years to worry about. The calculator also gives the Modified Julian Date (MJD) and Greenwich mean sidereal time (GMST).

Julian Date timelineJD counts days from noon 1 Jan 4713 BC; 8 Nov 2026 12:00 UTC is JD 2,461,353, MJD 61,352.5, 9,808 days after J2000.0.One long day count, no monthsJD 0noon, 1 Jan 4713 BCJ2000.01 Jan 2000, 12hMJD 017 Nov 1858, 0htoday9,808 days8 Nov 2026, 12:00 UTCJD 2,461,353MJD 61,352.5JD days start at noon:noon = .0, midnight = .5
Every date becomes one running day number, so intervals are a simple subtraction.

How it is calculated

The calculator uses the algorithm in Jean Meeus, Astronomical Algorithms, for Gregorian dates:

  1. If the month is January or February, treat it as month 13 or 14 of the previous year.
  2. A = floor(Y / 100) and B = 2 − A + floor(A / 4) (the Gregorian leap-year correction).
  3. JD = floor(365.25 × (Y + 4716)) + floor(30.6001 × (M + 1)) + D + B − 1524.5 + hour / 24.

Then MJD = JD − 2,400,000.5, and GMST (hours) = 18.697374558 + 24.06570982441908 × (JD − 2,451,545), reduced to 0–24 h. The hour must be in UTC.

The principle

Moving January and February to the end of the year puts the leap day last, so 30.6001 × (M + 1) can reproduce the cumulative month lengths, and 365.25 counts Julian years with leap days. B removes the century leap days that the Gregorian calendar skips. JD days begin at noon, so midnight dates end in .5. MJD starts days at midnight with shorter numbers; MJD 0 is 17 November 1858, 0h UTC. Sidereal time measures Earth's rotation against the stars rather than the Sun; a sidereal day is about 3 min 56 s shorter than a solar day. JD 2,451,545.0 is the J2000.0 epoch (1 January 2000, 12h).

Worked example

  1. Inputs: 8 November 2026, 12:00 UTC. Month 11 is after February, so Y = 2026, M = 11.
  2. A = 20, B = 2 − 20 + 5 = −13.
  3. floor(365.25 × 6742) = 2,462,515 and floor(30.6001 × 12) = 367.
  4. JD = 2,462,515 + 367 + 8 − 13 − 1524.5 + 0.5 = 2,461,353.
  5. MJD = 2,461,353 − 2,400,000.5 = 61,352.5.
  6. Days since J2000.0 = 9,808, so GMST = 18.697374558 + 24.06570982441908 × 9,808 mod 24 = 15.17933246 h (about 15 h 10 m 46 s).
How Julian Date changes with YearHow Julian Date changes with Year1.5e+062e+062.5e+063e+063.5e+065061,0131,5202,0262,5323,0394,052Example: 2,461,353Year
Each point is the calculator re-run with only “Year” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
YearJulian Date
5061,906,367
1,0132,091,362
1,5202,276,357
2,0262,461,353
2,5322,646,348
3,0392,831,343
4,0523,201,335

How to read the result

A whole JD means noon UTC; .5 means midnight. Differences between JDs are elapsed days, so 0.25 is six hours. GMST tells you which right ascension is on the Greenwich meridian; add your east longitude ÷ 15 to get local sidereal time.

Common mistakes

Keep in mind: The GMST expression is a simplified approximation intended for dates near the present; it ignores the difference between UTC and UT1 and nutation, so it is not suitable for precise telescope pointing.

Frequently asked questions

What is the difference between a Julian Date and a "Julian date" on food packaging?

Packaging and military "Julian dates" usually mean the day of the year (1–366). That is a different system from the astronomical JD.

Why is MJD used in satellite and observatory data?

It keeps numbers smaller and starts each day at midnight, which suits civil time stamps.

Sources: J. Meeus, Astronomical Algorithms, 2nd ed., Willmann-Bell, 1998, Chapter 7 · U.S. Naval Observatory, Computing Greenwich Apparent Sidereal Time (approximate formulas)

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →