Date Difference Calculator
Calculate the difference between two dates in days, weeks, months and years precisely, with support for both Gregorian and Hijri calendars and leap years.
Difference between dates
1 years, 10 months, 24 days
Send the result to your email
Save your result and revisit it later straight from your inbox.
Share this calculator
How does this calculator work?
This tool computes the duration between any two dates you choose (start and end) in days, weeks, months and years, accounting for month lengths and leap years, and shows both dates in Gregorian and Hijri. The difference from the Age Calculator is that this one computes the duration between any two dates without assuming one is a birth date. Read the output like this: "9780 days" is the number of full days elapsed between the two dates, and "26 years, 9 months and 10 days" breaks that duration down. Counting rule: total days is the time difference between the two dates, meaning the start day is not counted as a full day; from January 1 to January 2 = one day. Hijri conversion uses the Tabular Islamic calendar, a computational calendar with fixed month lengths, which may differ by a day or two from the official Umm al-Qura calendar or local confirmations. The total days between the two dates is fixed and unaffected by the chosen calendar.
Formula used
Difference in days = number of days elapsed between the first and second date (start day not counted as a full day). It is then converted to weeks, months and years, and the Hijri difference is computed by converting both dates to the Tabular Islamic calendar.
Worked example
Verified Gregorian example: from 2000-01-01 to 2026-10-11 equals 9780 days, i.e. 26 years, 9 months and 10 days. Leap years add a day to February and affect the total day count.
Common uses
- Calculating time durations
- Contract & subscription dates
- Event planning
Frequently asked questions
What is the difference between this calculator and the Age Calculator?
The Date Difference Calculator computes the duration between any two dates in days, weeks, months and years, while the Age Calculator computes your age from your birth date to a reference date.
Is the start day counted in the day total?
No. Total days is the time difference between the two dates; from January 1 to January 2 = one day, meaning the start day is not counted as a full day.
Does the calculator account for leap years?
Yes, calculations use real dates, making them accurate with leap years.
Can I calculate the difference in the Hijri calendar?
Yes, the calculator supports both Hijri and Gregorian and shows results in both; Hijri conversion uses the Tabular Islamic calendar.
What is the difference between calculating in months vs days?
Days are more precise; months are approximate because months of the year have different lengths.
Share this calculator