Julian Day Number Calculator

Convert dates and times to the astronomical Julian Date (JD) and Modified Julian Date (MJD), and back again. The Julian Date is a continuous count of days used in astronomy, satellite tracking and software.

Julian Date now
–

Modified Julian Date
–
Julian Day Number today

Date and time → Julian Date

Julian Date → date and time

What is a Julian Day number?

The Julian Day Number (JDN) counts whole days since a starting point far in the past: noon Universal Time on 1 January 4713 BC in the Julian calendar (24 November 4714 BC in the proleptic Gregorian calendar). Adding a fraction for the time of day gives the Julian Date (JD).

The system goes back to the "Julian Period" described by the scholar Joseph Scaliger in 1583. Astronomers adopted the day count in the 19th century because it avoids months, years, calendar reforms and time zones: the number of days between two events is simply one Julian Date minus the other.

Julian Days begin at noon, not midnight. So midnight at the start of a calendar date has a Julian Date ending in .5, and noon on that date is a whole number.

This is different from the "Julian date" printed on packaging, which is a year plus day-of-year code. For those, use the Julian date converter.

How to calculate the Julian Day number

For a date in the Gregorian calendar with year Y, month M and day D, using whole-number division (drop any remainder):

a = (14 − M) / 12
y = Y + 4800 − a
m = M + 12a − 3
JDN = D + (153m + 2) / 5 + 365y + y/4 − y/100 + y/400 − 32045

Then add the time of day:

JD = JDN + (hour − 12) / 24 + minute / 1440 + second / 86400

For example, 1 January 2000 gives JDN 2451545, so midnight that day is JD 2451544.5 and noon is JD 2451545.0.

Reference Julian Dates

EventDateJulian Date
Start of the Julian Period1 January 4713 BC (Julian calendar), noon0.0
Gregorian calendar introduced15 October 1582, midnight2299160.5
MJD zero17 November 1858, midnight2400000.5
Unix epoch1 January 1970, midnight UTC2440587.5
J2000.01 January 2000, noon2451545.0
Start of 20261 January 2026, midnight UT2461041.5

The calculator uses Universal Time and doesn't account for leap seconds or the small difference between UT and the Terrestrial Time used in precise astronomy.

Frequently asked questions

Why does the Julian Day start at noon?

Astronomers chose noon so that a whole night of observations falls on a single Julian Day instead of changing date at midnight. This is why Julian Dates for midnight end in .5.

What is the Modified Julian Date (MJD)?

The Modified Julian Date is the Julian Date minus 2,400,000.5. It gives smaller numbers and starts each day at midnight. MJD 0 is midnight at the start of 17 November 1858.

What is the Julian Date of the Unix epoch?

The Unix epoch, midnight UTC on 1 January 1970, is Julian Date 2440587.5. To convert a Unix timestamp in seconds to a Julian Date, divide it by 86,400 and add 2440587.5.

What is J2000?

J2000.0 is the standard reference epoch used in astronomy. It is Julian Date 2451545.0, which is noon on 1 January 2000 (in Terrestrial Time).