FREE · TIME & DATE TOOLS
Date & Duration Calculator.
Calculate the time between two dates in years, months, days, weeks, working days and hours, or add and subtract days, weeks, months or years.
Gregorian calendar, years 0001–9999. Adding months keeps the day number when possible (31 January + 1 month = 28 or 29 February).
Steps to use Date & Duration Calculator
Choose “Time between two dates” and pick the dates (tick “Include the end date” for leave or rentals), or choose “Add or subtract” and enter an amount and unit. Results update instantly and the link keeps your dates.
How Date & Duration Calculator processes your input
Date difference and date arithmetic with calendar-correct month handling, total days, weeks, working days, months, decimal years, hours, minutes and seconds, ISO week number and a shareable link.
Date & Duration Calculator: worked example
31 January 2024 to 15 March 2026 = 2 years, 1 month, 15 days (774 days); 31 January 2024 + 1 month = 29 February 2024.
How to count the days between two dates
- Choose
Time between two dates. - Enter the start date and the end date. The order does not matter: if the end date is earlier, the result is shown as a negative duration.
- Tick
Include the end dateif both the first and the last day must be counted, for example for leave, a hotel stay or an event. - Read the duration in years, months and days, the total number of days, the weeks and the working days (Monday to Friday).
Example: from 1 March 2026 to 31 March 2026 the tool returns 30 days. With the end date included it returns 31 days, because 31 March itself is counted.
Inclusive or exclusive: which count do you need?
By default the calculator measures elapsed time, like subtracting one date from another in a spreadsheet: the end date is not counted. Include the end date when you are counting calendar days that both start and end something, such as the days of a holiday or a contract that ends on the last day.
Months follow the calendar, not an average of 30 days. Adding one month to 31 January gives the last day of February (29 February in 2024), so durations that cross short months stay correct.
Working days and holidays
The working-day figure counts Monday to Friday only and does not know public holidays. To remove holidays or use a Friday–Saturday weekend, use the Business Days Calculator. To find the date that is a number of days before or after another date, use Add or Subtract Days from a Date.
Questions about Date & Duration Calculator
Does the calculator count the end date?
Not by default. Tick “Include the end date” to add one day, which is what most people expect when they count the days of a holiday or a rental.
Why do 31 January plus one month give 29 February?
February has no 31st, so the calculator moves to the last day of that month. In non-leap years the result is 28 February.
Are public holidays removed from working days?
No. Working days here are Monday to Friday. Use the Business Days Calculator to enter your own holidays.
Can I calculate dates far in the past or future?
Yes, any date from year 0001 to 9999 in the Gregorian calendar.
Is Date & Duration Calculator free, and do I need an account?
Yes. This tool is free to use in your browser without an account. Processing takes place on your device.
What are the limits and what should I check?
Gregorian calendar, years 0001–9999. Working days count Monday to Friday without public holidays (use the Business Days Calculator to add holidays). Review the result before using it in your work.
Is my input sent to a server?
Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.