Date Difference Calculator
Find calendar years, months, days and total days between two dates.
Find calendar years, months, days and total days between two dates.
The Date Difference Calculator compares two calendar dates and reports both a calendar-style difference and total elapsed days. It is useful for project timelines, anniversaries, contracts, schedules and general date planning.
Whether you're counting down to a deadline, calculating someone's exact time in a role for an anniversary, or working out a contractual notice period, the difference between two dates is rarely a round number of days once you need calendar-accurate years, months and days rather than just a day count.
For related tasks, try Countdown Timer, Add Days to Date or Business Days Calculator.
Calendar years, months and days are calculated by stepping through actual calendar boundaries, while total days uses the elapsed number of 24-hour date intervals.
From 1 January 2026 to 1 February 2026, the total elapsed time is 31 days and the calendar difference is one month.
The gap between 15 March and 15 June is exactly 3 calendar months regardless of the year, but the total day count varies between 92 and 93 days depending on whether the span includes February in a leap year.
The calendar-style difference (years, months, days) and the total elapsed days describe the same span differently, similar to the age calculator. A two-month span in one part of the year might be 59 days while the same two calendar months elsewhere could be 61 days, because months vary in length.
Between 12 March 2024 and 7 October 2026 the calendar difference is 2 years, 6 months and 25 days, and the total is 939 days. To check, 12 March 2024 to 12 March 2026 is two years, then six more months reach 12 September, and 25 days remain to 7 October. Counting inclusively, with both end dates included, the span is 940 days. State clearly which method you use when the result matters.
The two results answer different questions. Years, months and days are natural for ages, anniversaries and tenure, but months have different lengths, so one month can be 28 to 31 days. Total days is exact and suits interest calculations, contracts and project schedules. Do not convert between them by multiplying by 30 or 365, which is only a rough guide. Use the form your document or rule specifies.
Date differences matter for notice periods, probation, warranties, statute limits and how long someone has worked for an employer. A 90 day probation that begins on 1 July ends on 28 September if the start day is counted as day one and on 29 September if it is not. Employment and legal rules often specify the counting method, so check them. Keep the exact dates in your records, not just the number of days.
You can use the tool to see how long until an event, how long since one happened, or how much time a project took. Historians and genealogists compare dates across years, and leap years are handled automatically. For long spans before the year 1582 the calendar changed from Julian to Gregorian in different countries at different times, so results for very old dates may not match historical records.
Hotels and rentals count nights, while many forms count days. A stay from 10 October to 15 October is 5 nights, but it covers 6 calendar days if both the arrival and departure dates are counted. Contracts may use either, so check the wording. The calculator gives the difference between the two dates, which matches nights. Add one if you want an inclusive count of days, and be consistent when you compare quotes or calculate a daily rate.
An employee started on 15 January 2019, and today is 7 October 2026. From 15 January 2019 to 15 January 2026 is 7 years, then 8 months take it to 15 September 2026, and 22 days reach 7 October. So the tenure is 7 years, 8 months and 22 days. In days, it is 2,822: seven years contain 2,557 days including two leap days, and the final stretch from 15 January to 7 October is 265 days. Both forms are correct. Use the calendar form for service awards and the day count for calculations, such as how many days of leave have accrued.
Date differences are used for ageing invoices, measuring how long a customer has been overdue, checking warranty periods, working out interest on a daily basis and tracking project durations. Interest calculations often use the actual number of days divided by 365, or sometimes 360, so check the convention. For reports, define clearly whether you count both end dates. If an invoice dated 1 March is due on 31 March, it is 30 days later, but a report that counts inclusive days might show 31. Agree on the method so that numbers match across teams.
Months have different lengths, so the same number of calendar months can contain different numbers of days. From 31 January to 1 March in 2026 is 29 days, while in 2028, a leap year, it is 30. Some calculators say this is one month and one day, while others say 29 days, because they treat end-of-month dates differently. The tool counts whole months based on the day of the month where possible, and the day difference for the rest. When the exact result matters, check which convention your contract or rule uses.
Date formats cause many mistakes. The text 07/10/2026 means 7 October in many countries and 10 July in the United States. Use the date picker or the year-month-day format to avoid confusion. Calendars before 1582 in some countries, and later in others, use the Julian calendar, so historical dates may be off by days. Birthdays, holidays and anniversaries are best checked with the date written out in words. When you share a result, write the dates beside it so that others can verify the numbers.
The date difference is the length of time between two dates. It can be given as total days or as years, months and days. Inclusive counting counts both end dates, and exclusive counting counts only the days in between. A leap year adds a day. The day-count convention states how many days a year has when you calculate interest, usually the actual number of days or a standard 360. Tenure is the length of time in a role or contract. The ISO date format writes the year first.
There are 365 days in a normal year and 366 in a leap year, and 7 days in a week. Between two dates in the same month, the difference is the later day minus the earlier day. To check a result in months, remember that months differ in length, so 30 days is not always a month. Write dates in year-month-day form to avoid confusion, and note whether your rule counts the first day.
Yes. The tool orders the dates and reports the absolute difference.
Yes. Actual calendar dates are used.
No. Use the Business Days Calculator when weekends should be excluded.
Yes, the tool handles date ranges spanning any number of years, correctly accounting for leap years along the way.
No, this tool counts every calendar day; use the Business Days Calculator if you specifically need weekdays only.