Julian Date Converter

Turn a calendar date and UTC time into Julian date and weekday.

Other ToolsUpdated 2026-10-162 min read
Julian Date Converter
Gregorian date from 1801 to 2099.
Time in 24 hour UTC. Noon gives a whole JD.
Julian date
...
Modified Julian date...
Day of week...

What it does

Astronomers count days without months or years to simplify spans. The Julian date is a continuous count of days and fractions since noon Universal Time on January 1, 4713 BC. Adding 0.5 marks midnight, adding 0.75 marks 6 AM, and so on.

The tool above turns a Gregorian date plus UTC time into Julian date, Modified Julian date, and weekday. The defaults January 1, 2026 at 12:00 UTC match the worked example, so the page opens showing JD 2461042. Type a new date or time to update all three results.

The math follows the standard Fliegel style Gregorian to JD form with month shift, century correction, and time fraction. January and February count as months 13 and 14 of the prior year. The century term B = 2 minus A plus floor(A/4) handles Gregorian leap rules. Time enters as UT hours over 24.

Modified Julian date trims the large leading digits for modern data: MJD = JD minus 2400000.5. The same instant reads smaller and starts at midnight instead of noon. Satellite logs and variable star tables often list MJD for compactness.

This page shows the formula path, one full hand checked example at 2026-01-01 12:00 UTC, a reference table, and practice checks that run through the tool. All date math uses UTC only, so daylight saving never shifts a result.

How to use

  1. Pick the calendar date. Dates must exist, so Feb 30 triggers an error.
  2. Type the UTC time in 24 hour form. Use 12:00 for a whole JD, 00:00 for .5.
  3. Keep years between 1801 and 2099, the range this compact formula covers.
  4. Read JD as the main result with up to four decimals.
  5. Read MJD for log friendly modern dates.
  6. Read weekday to cross check the calendar.

Formula

JD = floor(365.25 x (Y+4716)) + floor(30.6001 x (M+1)) + D + B minus 1524.5 + UT/24, with Jan Feb shift and B = 2 minus A + floor(A/4).
Y, M, D
Year, month, day, with Jan Feb as months 13, 14 of prior year.
A, B
Century terms: A = floor(Y/100), B = 2 minus A + floor(A/4).
UT
Universal Time in hours, 0 to 24.

After Feb 28, 1900 the extra sign terms in the USNO Almanac form sum to zero, leaving the compact version used here. Leap seconds are ignored. Results use UT1 scale without leap second steps.

Worked example

Example: 2026-01-01 at 12:00 UTC

Convert January 1, 2026 at noon UTC to Julian date.

  1. Write Y = 2026, M = 1, D = 1, UT = 12.
  2. Shift: M is 1, so use Y = 2025, M = 13.
  3. Century: A = 20, B = 2 minus 20 + 5 = minus 13.
  4. Days: floor(365.25 x 6741) = 2462150, floor(30.6001 x 14) = 428.
  5. Sum: 2462150 + 428 + 1 minus 13 minus 1524.5 + 0.5 = 2461042.
  6. MJD: 2461042 minus 2400000.5 = 61041.5. Weekday Thursday.

Reference table

Anchor Julian dates for checks
UTC instantJDMJD
2000-01-01 12:00245154551544.5
2026-01-01 12:00246104261041.5
2026-01-01 00:002461041.561041
2026-07-04 00:002461225.561225

Limits

  • Years 1801 to 2099 only in this compact form.
  • Gregorian calendar only. Julian calendar dates before Oct 1582 need other tables.
  • UTC scale, no leap seconds. High precision timing needs TT or TAI forms.
  • Time entry is hours and minutes. Seconds need decimal minutes.

Common mistakes

  • Entering local time instead of UTC, shifting JD by the zone offset.
  • Forgetting the Jan Feb year shift, which moves results by about a year.
  • Reading JD at midnight as whole. Midnight carries .5, noon is whole.
  • Mixing JD with Modified JD. They differ by 2400000.5.
  • Typing Feb 29 in a common year, which the tool rejects.

Try it yourself

Quick checks. Answers sit tucked under each question.

JD for 2000-01-01 at 12:00 UTC?

2451545 with MJD 51544.5 on Saturday.

JD for 2026-07-04 at 00:00 UTC?

2461225.5 with MJD 61225 on Saturday.

Questions

What is Julian date?

Days since noon UTC Jan 1, 4713 BC, plus fraction of day. Noon is whole, midnight is .5.

What is Modified Julian date?

JD minus 2400000.5. Smaller numbers starting at midnight, handy for modern logs.

Why start at noon?

Early astronomers dated a full night under one date. Noon start keeps midnight inside the same day count.

Does time zone matter?

Yes. Convert local time to UTC first. A 5 hour offset shifts JD by about 0.2083.

What range works here?

Gregorian dates from 1801 to 2099 with valid month and day.

Why Thursday for 2026-01-01?

Calendar math places Jan 1, 2026 on Thursday. Weekday output cross checks the JD.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.