InputTestHub

Julian Day Converter

Converts any calendar date to its Julian Day number and back, handling the Gregorian reform and refusing the ten days that never existed.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
YYYY-MM-DD. Negative years are BC.
HH:MM in Universal Time.
Used when converting the other way.
Enter your figures and press Calculate.
In short A Julian Day is a continuous count of days since noon Universal Time on 1 January 4713 BC in the Julian calendar. It has no months, no leap years and no reform gap, which is exactly why astronomy uses it: the interval between any two events is a subtraction, and no calendar rule can interfere. J2000.0, the epoch nearly every modern formula counts from, is JD 2451545.0 — noon on 1 January 2000. The Modified Julian Day is JD minus 2,400,000.5, which both shortens the number and moves the day boundary to midnight, and it is what most modern software uses. The half-day offset trips people up constantly and it is not a bug in anyone code: a Julian Day was defined to start at NOON, because it was built for astronomers who work through the night and would rather the date did not change in the middle of an observing session. So a whole number is midday and a number ending in .5 is midnight. There is one place a converter has to be careful. When the Gregorian calendar was adopted, Thursday 4 October 1582 was followed directly by Friday 15 October 1582 — ten days were removed to correct the drift the Julian calendar had accumulated. Those ten dates never existed, and a converter that silently returns a number for 10 October 1582 is describing a day nobody lived through. This one refuses them. Julian Day numbering itself runs straight across the reform without a gap, and so does the weekday cycle: 4 October was a Thursday and 15 October was a Friday.

How to use the Julian Day Converter

  1. Choose which direction you want to convert.
  2. Enter the date and time, or the Julian Day number.
  3. Read the result, with the Modified Julian Day and the weekday.

About the Julian Day Converter

Calendar date to Julian Day and back, with the Gregorian reform handled properly.

What people use it for

  • Converting a date for an astronomical formula.
  • Finding the number of days between two widely separated dates.
  • Reading a Julian or Modified Julian Day out of a data file.

Details

J2000.0JD 2451545.0 — noon on 1 January 2000
Modified Julian DayJD − 2,400,000.5
A Julian Day starts atNOON, not midnight
JD 0noon on 1 January 4713 BC, Julian calendar
The Gregorian reform4 Oct 1582 was followed by 15 Oct 1582
Those ten datesnever existed and are refused here
PrivacyEverything runs in your browser. No location lookup, nothing sent anywhere
The weekday is derived from the Julian Day itself rather than from calendar arithmetic, so it stays correct across the Gregorian reform where counting calendar days would not.

Where this tool stops

Times are Universal Time. Astronomical formulae usually want Terrestrial Time, which currently runs about 69 seconds ahead of UT and is not applied here — that matters for an eclipse contact time and not for a date conversion.

Frequently asked questions

What is a Julian Day?
A continuous count of days since noon on 1 January 4713 BC. It has no months or leap years, so the gap between two dates is just a subtraction — which is why astronomy uses it for everything.
Why does a Julian Day start at noon?
Because it was designed for astronomers, who observe at night and would rather the date did not change mid-session. It is the reason midnight falls on a .5.
What is the Modified Julian Day?
JD minus 2,400,000.5. It gives a shorter number and moves the day boundary to midnight, which suits computers better. Most modern data files use it.
What happened in October 1582?
Ten days were deleted. Thursday 4 October was followed directly by Friday 15 October, to correct the drift the Julian calendar had built up. The dates between never existed, and this tool refuses them rather than inventing a number.
Is the Julian Day related to the Julian calendar?
Only by name and origin. The Julian Day count is continuous and calendar-free; the Julian calendar is the pre-1582 system of leap years. Julian Day numbering runs straight across the reform without a break.
Can I use dates before 1582?
Yes. Dates from 15 October 1582 onward are treated as Gregorian and earlier ones as Julian, which is what was actually in use, and the tool tells you which it applied.
Is there a limit on how often I can use the Julian Day Converter?
It is free, with no account, no trial and no daily cap. Every calculators tool on inputtesthub.com works the same way: open the page and use it.
Is what I paste into the Julian Day Converter stored?
No. The Julian Day Converter runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
When would I actually need the Julian Day Converter?
The most common reasons people reach for it: converting a date for an astronomical formula. Finding the number of days between two widely separated dates. Reading a Julian or Modified Julian Day out of a data file. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything the Julian Day Converter cannot do?
Times are Universal Time. Astronomical formulae usually want Terrestrial Time, which currently runs about 69 seconds ahead of UT and is not applied here — that matters for an eclipse contact time and not for a date conversion. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What figures does the Julian Day Converter work from?
J2000.0 is JD 2451545.0 — noon on 1 January 2000. Modified Julian Day is JD − 2,400,000.5. A Julian Day starts at is NOON, not midnight. These are printed on the page itself, so you do not have to take them on trust.
Is the number rounded?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…