Julian Date Calculator

Dates

Julian date2,461,377.5
Modified Julian date61,377.0
Days since J2000.09,832.5
Julian day number2,461,378
How this was calculated
  1. Month adjustment: Month 12 is after February, so year 2,026 and month 12 stand.
  2. Gregorian correction: A = 20, B = 2 - 20 + 5 = -13.
  3. Julian date: 2,462,515 + 397 + 3 + (-13) - 1,524.5 + 0.0 = 2,461,377.5.
  4. MJD: 2,461,377.5 - 2,400,000.5 = 61,377.0.

Astronomers count time the way accountants count ledger lines: one unbroken sequence of days, no months, no leap-year exceptions, running from noon on 1 January 4713 BC. The Julian date of an instant is its position in that sequence, fraction and all, and the difference between two Julian dates is an exact interval - which is why variable-star observers, satellite trackers and ephemeris software all speak Julian. This calculator converts a Gregorian calendar date and UTC time to its Julian date by the standard astronomical algorithm.

Alongside the Julian date itself it reports the three quantities users most often need with it: the modified Julian date (the same count trimmed for civil use), the Julian day number (the integer day whose noon the date falls in), and the days elapsed since the J2000.0 epoch - the reference instant, 1 January 2000 at 12:00 UTC, JD 2,451,545.0 exactly, from which modern star catalogues and orbital elements measure.

Worked examples

2026-12-03, JD 2,461,377.5

(2026 · 12 · 3 · 0)

Julian date2,461,377.5
Modified Julian date61,377.0
Days since J2000.09,832.5
Julian day number2,461,378

J2000 epoch, 2,451,545.0

(2000 · 1 · 1 · 12)

Julian date2,451,545.0
Modified Julian date51,544.5
Days since J2000.00.0
Julian day number2,451,545

Unix epoch, 2,440,587.5

(1970 · 1 · 1 · 0)

Julian date2,440,587.5
Modified Julian date40,587.0
Days since J2000.0-10,957.5
Julian day number2,440,588

The standard algorithm, step by step

The conversion is integer arithmetic designed to swallow the Gregorian leap rules whole. First, January and February are counted as months 13 and 14 of the previous year, so the leap day falls at the end of the shifted year where the cycle arithmetic expects it - the second worked example, 1 January 2000, is computed as month 13 of 1999. Then a Gregorian correction term, built from the century count A and B = 2 - A + A/4, removes the leap days the Julian calendar would have added in century years. For both the 2000 and 1970 examples A is 19 and B is -13; for December 2026, A is 20 and B is again -13.

The assembled count for 3 December 2026 at 00:00 UTC runs 2,462,515 + 397 + 3 - 13 - 1,524.5 + 0.0 = 2,461,377.5: the large first term counts the years, the middle terms the months and day, the correction applies the Gregorian rule, the -1,524.5 anchors the sequence and shifts the day boundary to noon, and the final term adds the fraction of the day elapsed since that noon - 0.0 at midnight UTC, which is halfway through the Julian day that began at noon on 2 December.

  • January and February count as months 13 and 14 of the previous year
  • Gregorian correction: B = 2 - A + A/4, with A the century count
  • The Julian day begins at noon: midnight UTC is JD x.5
  • MJD = JD - 2,400,000.5; days since J2000 = JD - 2,451,545.0

Worked examples: a current date, the epoch and the Unix epoch

The first example is the present era: 3 December 2026, 00:00 UTC converts to JD 2,461,377.5, modified Julian date 61,377.0, and 9,832.5 days since J2000.0. Note the half days: because the Julian day starts at noon, a UTC midnight always lands on a .5, and the 'days since J2000' inherits that fraction - it is an interval between instants, not a count of calendar days, and its .5 is information, not rounding.

The second example is the anchor itself: 1 January 2000 at 12:00 UTC is JD 2,451,545.0 by definition, MJD 51,544.5, and exactly 0.0 days since J2000.0 - the self-test every implementation should pass. The third reaches back before the epoch: 1 January 1970 at 00:00 UTC, the Unix epoch, is JD 2,440,587.5, MJD 40,587.0, and -10,957.5 days since J2000.0. That negative figure is 30 years of days minus half a day, and the Unix timestamp for the same instant (zero) is the same timeline in seconds counted from a nearer zero.

Intervals are where the system earns its keep: the span from the Unix epoch example to the 2026 example is 2,461,377.5 - 2,440,587.5 = 20,790 days exactly, a subtraction a calendar would have to perform across 57 years of month lengths and leap rules. Every date library on earth ultimately does some version of this conversion internally; the Julian date simply makes the intermediate quantity public, inspectable and identical across all of them.

Date and time (UTC)Julian dateMJDDays since J2000.0JDN
2026-12-03 00:002,461,377.561,377.09,832.52,461,378
2000-01-01 12:002,451,545.051,544.50.02,451,545
1970-01-01 00:002,440,587.540,587.0-10,957.52,440,588

Julian date, Julian day number and MJD

Three related counts share the name, and this page reports all three so they are never confused. The Julian date is the full instant-level quantity, fraction included: 2,461,377.5. The Julian day number is the integer label of the day - 2,461,378 for the day that begins at noon on 3 December 2026 - used when only the day matters. The modified Julian date subtracts 2,400,000.5, which both trims two digits and moves the start of the day to midnight: MJD 61,377.0 begins at the midnight that opens 3 December, which is why its value for a midnight instant is a whole number while the Julian date's is a half.

MJD is the working form in most telemetry, satellite and software contexts, precisely because its days align with civil days and its numbers fit comfortably in data fields. The conversion is a single constant in both directions - MJD 51,544.5 plus 2,400,000.5 returns the epoch's JD 2,451,545.0 - so no information is ever lost moving between the forms; choose by audience, not by accuracy.

Why the day starts at noon, and the half-day trap

The noon start is a legacy of the observatory night: astronomers working through a whole night wanted one date for the whole session, so the astronomical day ran from noon to noon. The Gregorian calendar reform of 1582 skipped ten civil days and the Julian count did not notice - the sequence is continuous across it - but the noon convention survives inside every Julian date, and it is the source of the commonest conversion bug in amateur software: forgetting that a UTC midnight is JD .5, not .0, and landing every computed date half a day out.

The examples on this page are chosen to expose exactly that: two of the three are midnights and both end in .5 (2,461,377.5 and 2,440,587.5), while the noon input lands on .0 (2,451,545.0). If a converter you are testing returns whole numbers for midnight inputs, it is silently using a midnight-based count - probably MJD arithmetic wearing a JD label - and every interval it computes against true Julian dates will be off by half a day.

One more relative deserves a mention because it shares the epoch: the Besselian and Julian epochs of older catalogues (B1950.0, J2000.0) are defined in Julian years of 365.25 days from these same day counts, so an old star position 'at epoch B1950.0' is ultimately a Julian-date statement too. The count on this page is the common root under all of them.

Days since J2000 and epoch arithmetic

Modern astronomy measures from J2000.0 because star catalogues, planetary ephemerides and satellite elements are all stated at that epoch; the 'days since J2000' output is the quantity those systems consume directly. The 9,832.5 days of the first example and the -10,957.5 of the Unix-epoch example are the same kind of figure with opposite signs - the count runs backwards before 2000 as happily as forwards after it, which is the entire point of a continuous day count: no era boundary, no year zero problem, no special cases in the subtraction.

A naming warning to close, because it corrupts real data every year: the 'Julian date' printed on food packaging and used in warehousing is the day-of-year number, 1 to 366 - a different quantity entirely, and not one this page computes. If a specification asks for a Julian date, establish which of the two it means before writing 2,461,377.5 or a day-of-year into a field sized for the other.

For programmers, one implementation note: the algorithm's divisions are integer divisions with floor behaviour, and in languages where integer division truncates toward zero the formula needs care for negative years - for all dates in the common era, including every example here, the straightforward form is exact, and the outputs are representable precisely in double precision up to far beyond the present day count.

Keep the three outputs together in your notes, each under its own name, and the ambiguity never starts.

Self-test for any Julian converter: 1 January 2000 at 12:00 UTC must return exactly 2,451,545.0, and a midnight input must end in .5 - the 1970 example's 2,440,587.5 shows both checks at once.

FAQs

What is the Julian date of 3 December 2026 at 00:00 UTC?

2,461,377.5, with MJD 61,377.0 and 9,832.5 days since J2000.0.

Why does a midnight input end in .5?

The Julian day begins at noon, so midnight UTC falls halfway through it: the 1970 example is 2,440,587.5 for the same reason.

What JD is the J2000.0 epoch itself?

2,451,545.0: 1 January 2000 at 12:00 UTC, 0.0 days since J2000 by definition.

Convert JD 2,451,545.0 to MJD.

51,544.5: subtract 2,400,000.5.

How long before J2000 was the Unix epoch?

10,957.5 days: its JD of 2,440,587.5 sits that far below 2,451,545.0.

What is the Julian day number for 3 December 2026?

2,461,378 - the integer day beginning at noon on that date, whose midnight instant is JD 2,461,377.5.

Sources

Related calculators

Unix Timestamp Converter
Convert a Unix timestamp in seconds to its exact UTC date, time and weekday — or build a timestamp from days since the epoch. Pure UTC arithmetic, no timezone surprises.
ISO Week Number Calculator
The ISO 8601 week number and week-year of any date — including the New Year edge cases where the ISO year differs from the calendar year.
Days Until Calculator
Exactly how many days stand between today and any date — with the weeks-and-days breakdown, the target's weekday, and a reverse count for dates already past.