Dates and Business Days

Julian Date Calculator

Get the astronomical Julian Date for a moment in UTC, convert one back to a calendar date, or find the ordinal day of the year.

Your numbers

Direction

Leave blank for midnight.

More options

Result

Julian Date for 2000-01-01 12:00 UTC

2451545.000000

Julian Date (JD)
2451545.000000
Modified Julian Date (MJD)
51544.500000
Day of the year (ordinal)
1 of 366
Ordinal date
2000-001
Year and day (YYDDD)
00001
Weekday
Saturday
How this was calculated
  1. Convert the calendar date to a whole Julian Day Number, which counts days from noon on January 1, 4713 BC (Julian calendar).
  2. The Julian Day Number for 2000-01-01 is 2451545. Julian days start at noon, so the time of day is added as (hours - 12) / 24 + minutes / 1440 + seconds / 86400.
  3. Time part = (12 - 12) / 24 + 0 / 1440 = 0.000000.
  4. JD = 2451545 + (0.000000) = 2451545.000000. MJD = JD - 2400000.5 = 51544.500000.
  • The date and time are read as UTC and in the Gregorian calendar, including dates before October 15, 1582. Astronomical tables that use the Julian calendar for early dates will differ for those years.
  • "Julian day" also means the day number within a year (the ordinal date). Both are shown here and they are different things.

Next step

How to use the julian date calculator

  1. Pick the direction: calendar date to Julian Date, Julian Date to calendar date, or year and day of year to calendar date.
  2. For a calendar date, enter the date and the time in UTC. Leave the time blank for midnight. Open More options to add seconds.
  3. For a Julian Date, enter the number and choose whether it is a JD or a Modified Julian Date.
  4. Read the results, including the day of the year (ordinal date) for the date you entered.

Formula

JDN = day + floor((153 m + 2) / 5) + 365 y + floor(y / 4) - floor(y / 100) + floor(y / 400) - 32045

where a = floor((14 - month) / 12), y = year + 4800 - a and m = month + 12 a - 3

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

MJD = JD - 2400000.5

The Julian Date is a continuous count of days used by astronomers. A Julian day starts at noon UTC, which is why midnight ends in .5.

Worked examples

The J2000 epoch: noon UTC on January 1, 2000 has a Julian Day Number of 2451545, and the time part is (12 - 12) / 24 = 0, so JD = 2451545.0. The Modified Julian Date is 2451545.0 - 2400000.5 = 51544.5.

Midnight: 00:00 UTC on January 1, 2000 is half a day earlier, so JD = 2451544.5.

October 10, 2026 at 00:00 UTC: JD 2461323.5 and MJD 61323.0. It is day 283 of 365 in the ordinal sense.

Back to a date: MJD 60000 converts to February 25, 2023 at 00:00:00 UTC.

Two meanings of "Julian day"

Astronomers use the Julian Date, a running count of days and fractions of days since noon on January 1, 4713 BC in the Julian calendar. The Modified Julian Date subtracts 2400000.5, so it starts at midnight on November 17, 1858 and the numbers stay shorter.

In other settings, "Julian day" or "Julian date" simply means the day of the year, from 1 to 365 or 366, sometimes written as a two-digit year plus a three-digit day. This tool shows both so you can tell which one you need. They are unrelated calculations that happen to share a name.

Precision and range

Julian Dates are shown to six decimal places, which is about 0.09 seconds. Converting back rounds to the nearest second. Supported dates run from January 1, 1000 (JD 2086302.5) to the end of year 9999.

Dates are read as UTC in the Gregorian calendar, extended backward. Astronomical tables for dates before October 15, 1582 use the Julian calendar, so those entries will not match this tool day for day.

Assumptions and limits

  • The input is a UTC date and time. Time zones and daylight saving time are not applied.
  • The Gregorian calendar is extended backward before 1582.
  • Results are rounded to six decimal places for JD and MJD, and to the nearest second for dates.
  • Leap seconds and the difference between UTC and astronomical time scales (such as TT) are not modeled.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

What is the Julian Date for January 1, 2000 at noon?

It is 2451545.0, which is the J2000.0 reference epoch (that epoch is strictly defined in Terrestrial Time, a minute or so away from UTC). Midnight at the start of that day is 2451544.5.

What is the difference between JD and MJD?

MJD equals JD minus 2400000.5. It starts counting at midnight on November 17, 1858 instead of noon on an ancient date, so recent values have five digits instead of seven.

Is a Julian date the same as a Julian calendar date?

No. The Julian calendar is an old civil calendar from Julius Caesar. A Julian Date is a day count that scientists use, and it is the same no matter which calendar you use to write the date.

How do I find the day number within the year?

Enter the date and read "Day of the year (ordinal)". October 10, 2026 is day 283. You can also go the other way with the year and day of year option.