Modified Julian Date Calculator
Enter a calendar date to get its Modified Julian Date and full Julian Date.
Result
How it is calculated
The date is typed as YYYY-MM-DD and is read as a proleptic Gregorian calendar date, even for years before the Gregorian reform. A standard integer algorithm turns year, month and day into the Julian Day Number, which counts whole days and refers to noon. Because the tool evaluates midnight at the start of the day (00:00 UT), the Julian Date is JD = JDN − 0.5. The Modified Julian Date is MJD = JD − 2,400,000.5, which makes it a whole number at midnight. The tool also names the weekday. Impossible dates such as 30 February, or any format other than year-month-day, return no result, and there is no time-of-day or time zone input.
Worked example
Take 1 January 2000. The algorithm gives a Julian Day Number of 2,451,545, so at 00:00 UT the Julian Date is 2,451,545 − 0.5 = 2,451,544.5. Subtracting 2,400,000.5 gives MJD = 51,544.0, which is the main result shown as 51,544.0. The weekday is Saturday. As a check, 17 November 1858 gives MJD 0.0, the zero point of the scale, so 51,544 days separate it from 1 January 2000.
Common mistakes
- Typing the date as 01/01/2000 or 1-1-2000. Only the form year-month-day with four-digit year is accepted, so write 2000-01-01.
- Confusing JD and MJD. JD changes at noon and is around 2.4 million, while MJD changes at midnight; when you mix the two the day is out by half a day and by 2,400,000.5.
- Expecting a time of day. The result is for 00:00 UT of the date; for an observation at 18:00 UT add 0.75 to the MJD yourself.
- Entering a local date that is already the next day in UT. If your local time is ahead of UT, the UT date can be the day before, so convert to UT first.
- Using the result for historical dates before 1582 as a Julian-calendar date. The tool applies Gregorian rules to every year, so it will not match sources that use the Julian calendar for those dates.
About this calculator
The Julian Date (JD) is a continuous day count astronomers use instead of the calendar, counting from noon UT on January 1, 4713 BC — a system chosen precisely so it never resets and never has to deal with months, leap years, or calendar reforms. The Modified Julian Date (MJD) is JD minus 2,400,000.5, which both shortens the huge JD number and shifts the day boundary to midnight, making MJD = 0 correspond to November 17, 1858.
MJD is the standard timestamp in astronomy, satellite operations, and GPS/GNSS systems, where it's far more convenient than calendar dates for computing time intervals and orbital calculations — it's used, for instance, in satellite ephemeris data and by observatories logging observation times.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
MJD counts days from midnight on 17 November 1858, so that date returns 0.0, and it keeps numbers short for logs and observation records. The tool evaluates 00:00 UT only. If your event happened later in the day, add the fraction yourself: 18:00 adds 0.75 and 06:00 adds 0.25. Which time scale do your records use, UTC or something else?