Date Difference Calculator
Find the difference between two dates in days, weeks, months, and years.
Years
0 years 6 months
Months
6
Weeks
28.3
Days
198
What this tool includes
- Two date inputs
- Days
- Weeks
- Months
- Years
How this is calculated
This calculator compares two selected dates and shows the gap in days, weeks, months and years. Days are calculated from the difference between the two date values. Weeks are days divided by seven. Months are whole calendar-month differences, with years shown as whole years and leftover months.
Because calendar months have different lengths, a month count is not the same as dividing days by 30. This makes the result better for everyday date comparisons, contract windows and age-style differences, while days remain the most precise unit.
Use the result as a practical planning estimate for two date inputs, days, weeks, months, years. The calculator is designed to make the main moving parts visible immediately, so it is most useful when you want to compare scenarios, sense-check a decision, or understand why one input changes the final result.
Before relying on the number, check whether your situation includes anything outside the calculator scope. Common examples are local rules, provider fees, payroll timing, special reliefs, bank holidays, tariff changes, exchange-rate markups, unusual tax codes, or personal circumstances that need official guidance or professional advice.
To make the estimate more accurate, use figures from the most recent bill, payslip, lender quote, receipt, official notice or provider screen you have. Rounded inputs are fine for quick comparisons, but precise inputs are better when you are deciding whether something is affordable or comparing two similar options.
Re-run the calculator whenever a key assumption changes, such as a new rate, different term, changed salary, updated threshold, extra fee, altered usage pattern or different date range. Keeping those assumptions fresh is often more useful than trying to make one calculation perfect.
If you are using the result for a formal decision, keep a note of the inputs you used and the date of the calculation. That makes it easier to compare the estimate with a later quote, bill, payslip or official calculation.
Assumptions behind this estimate
- Uses browser date handling for calendar dates.
- Months are whole calendar-month differences.
- Does not adjust for time zones beyond the selected dates.
Worked examples
15 March 1995 to 15 March 2026
- The whole-year difference is 31 years.
- The whole-month difference is 372 months.
- The day count gives the precise total number of calendar days between the dates.
Project from 1 July to 31 August
- The date span crosses two calendar months.
- The month count helps with planning, while the day count gives the exact duration.
- Use the Working Days Calculator instead if weekends need removing.
FAQ
How do I calculate days between two dates?
Select the first and second dates; the calculator subtracts one date value from the other.
Why are months different from days divided by 30?
Calendar months vary from 28 to 31 days, so whole calendar months are counted separately.
Can this count working days?
Use the Working Days Calculator for weekday-only counts.
Written and maintained by AtlasPeak, a UK-focused calculator site that explains the assumptions behind each result. Last updated: July 2026.