CalcSeed

Julian Day Number Calculator

Enter a date to find its Julian Day Number and day of the week.

=
Quick answer: with the default inputs (2,026, 11, 18), the julian day number is 2,461,363. At these inputs: modified Julian date = 61,362. Change any input to update the result.
Julian day number
—

What this calculator does

Enter a Gregorian date and the calculator converts it to its Julian Day Number (JDN), a Modified Julian Date and the day of the week. At the default input of November 18, 2026 the results are JDN 2,461,363, MJD 61,362 and Wednesday. The JDN is a single integer per day, which is why astronomers and historians use it: subtracting two JDNs gives the day count between two dates with no month lengths or leap rules to worry about.

JDN=d+⌊153m+25⌋+365y+…JDN = d + lfloor rac{153m+2}{5} floor + 365y + ldots

How the algorithm works

This is the Fliegel and Van Flandern integer algorithm, designed so every term floors cleanly on computers. The variable a = floor((14 − month) ÷ 12) shifts January and February into the previous internal year, so the leap day always lands at the end of the internal year and the year-length terms stay exact. The term floor((153m + 2) ÷ 5) encodes a repeating 153-day cycle of five months alternating 31 and 30 days, which is how month lengths disappear from the arithmetic. The final −32,045 aligns the count to the epoch of January 1, 4713 BC.

Worked example: November 18, 2026

Start with a = floor((14 − 11) ÷ 12) = 0, since the month is past February. The internal year is 2026 + 4800 − 0 = 6826 and the internal month is 11 − 3 = 8. Then JDN = 18 + floor((153 × 8 + 2) ÷ 5) + 365 × 6826 + floor(6826 ÷ 4) − floor(6826 ÷ 100) + floor(6826 ÷ 400) − 32,045. Each piece evaluates to 18 + 245 + 2,491,490 + 1,706 − 68 + 17 − 32,045, and the sum is 2,461,363, exactly what the calculator returns.

The weekday falls out of the same integer: (JDN + 1) mod 7 gives an index into the week, and (2,461,363 + 1) mod 7 = 3, which is Wednesday — November 18, 2026 is indeed a Wednesday. The Modified Julian Date subtracts a large constant to bring modern dates into five-digit range: 2,461,363 − 2,400,001 = 61,362.

The noon epoch

The Julian day count begins at noon on January 1, 4713 BC in the proleptic Julian calendar. Astronomers chose noon so that a whole night of observation — which straddles two calendar dates — falls inside a single Julian day. The integer JDN therefore identifies the daylight half of the civil day; a full Julian Date with decimals would put midnight at 2,461,362.5 for the evening of November 17.

Reference JDNs worth knowing

DateJDNWeekday
January 1, 20002,451,545Saturday
January 1, 20262,461,042Thursday
November 18, 20262,461,363Wednesday
January 1, 21002,488,070Friday

The table also shows how date differences become subtraction: November 18, 2026 minus January 1, 2026 is 2,461,363 − 2,461,042 = 321 days, with no need to count month by month or adjust for February.

JDN is not the Julian calendar

Despite the shared name, the Julian Day Number has nothing to do with the Julian calendar that Julius Caesar introduced. The Julian calendar is a dating system with a leap day every 4 years; the Julian Day is a continuous count of days invented in the 16th century for astronomy. Dates before the 1582 Gregorian reform entered into this calculator are treated as proleptic Gregorian — the calendar extended backwards — which will not match the Julian-calendar dates that history books use for the same events.

Why one number per day is powerful

  • Day differences are a single subtraction, exact across leap years and month boundaries
  • The weekday is a modulo-7 operation: (JDN + 1) mod 7 maps 0 to Sunday through 6 to Saturday
  • Eclipse and orbital cycles are expressed in days, so JDNs slot straight into the predictions
  • Software that stores dates as JDNs survives calendar reforms and ancient date ambiguities

Modified Julian Date explained

Raw JD values for modern dates run past 2.4 million, which is awkward to read and store at limited precision. The Modified Julian Date subtracts 2,400,000.5 so that MJD 0 falls on November 17, 1858 at midnight, and the count starts from midnight rather than noon. This calculator returns the integer form, MJD = JDN − 2,400,001, so November 18, 2026 gives 61,362. The −2,400,001 variant keeps the arithmetic in whole numbers; if you need the half-day-precise convention used in satellite tracking, subtract 0.5 mentally and read 61,362.5 as covering the civil day from midnight.

Common uses and mistakes

The JDN shows up anywhere long time spans must be counted exactly: telescope scheduling, archaeology, genealogy software and calendar libraries. The two classic mistakes are treating a JDN as a calendar system (it is a count, as the worked example shows) and forgetting the noon epoch when converting to clock times — a JDN of 2,461,363 covers noon to noon, not midnight to midnight, so evening events on the same civil date sit on the previous Julian day.

Frequently asked questions

What is the Julian Day Number for November 18, 2026?

2,461,363. The Modified Julian Date is 61,362 and the day of the week is Wednesday.

How do I get the weekday from a JDN?

Compute (JDN + 1) mod 7 and read the result as 0 Sunday, 1 Monday through 6 Saturday. For 2,461,363 the value is 3, which is Wednesday.

What was the JDN for January 1, 2000?

2,451,545, a Saturday. It is the most-quoted reference JDN because it sits near the Y2K transition.

How do I count days between two dates?

Convert both to JDNs and subtract. November 18, 2026 (2,461,363) minus January 1, 2026 (2,461,042) is 321 days, leap-year handling included automatically.

Is the Julian Day Number the same as the Julian calendar?

No. The Julian calendar is an old dating system; the Julian Day is a continuous day count created for astronomy. They share a name and nothing else.

What is the Modified Julian Date?

A shortened form: MJD = JDN − 2,400,001 in this calculator, giving 61,362 for the default date. The standard MJD convention subtracts 2,400,000.5 and counts from midnight.

Why does the Julian day start at noon?

So one astronomical night of observation falls entirely within a single numbered day, since nights straddle two civil calendar dates.

Does this work for dates before 1582?

The algorithm accepts them, but treats them as proleptic Gregorian. Historical sources date events before October 15, 1582 in the Julian calendar, so the JDN will not match those dates directly.

What is the JDN of January 1, 2100?

2,488,070, a Friday. Even though 2100 is not a leap year, the algorithm handles the century rule through its divide-by-100 and divide-by-400 terms.

Method and sources

Calculation basis

Calendar logic follows the proleptic Gregorian calendar (ISO 8601) with correct leap-year handling.

Last updated: November 18, 2026
Formula & data sources
  • Fliegel and Van Flandern Julian Day Number algorithm for Gregorian dates.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 18). Julian Day Number Calculator. https://calcseed.com/c/date/julian-day-number-calculator/
MLA 9"Julian Day Number Calculator." CalcSeed, 18 Nov. 2026, calcseed.com/c/date/julian-day-number-calculator/.
ChicagoCalcSeed. "Julian Day Number Calculator." Last modified November 18, 2026. https://calcseed.com/c/date/julian-day-number-calculator/

Related calculators