Date Duration Calculator

How much time sits between two dates — in every unit that matters.

Pick a start and an end date to see the duration.

How this date duration calculator works

A date duration calculator answers “how many days between two dates?” and the follow-up that search results often skip: the exact span in years, months, and days, plus totals in weeks, months, and hours. Enter a start and an end date. This free days-between-dates calculator uses real calendar months — not a 365.25-day average — so 1 January to 1 February is one month, not 31 divided by 30.4.

The same page can count working days only: weekends come off, and you can list public holidays to subtract. Hours are 24 times the whole days, on purpose — this is a calendar tool, not a clock. Nothing leaves your browser until you choose to save a result locally.

How to use the date duration calculator

  1. Pick a start date and an end date. The end date must come after the start date.
  2. Leave “Count the end date as a full day” on if you want both dates included — a one-day event then counts as 1 day, not 0.
  3. Read the duration as years, months, and days, plus the totals in days, weeks, months, and hours.
  4. Open Advanced only if you need working days. Choose a weekend pattern and add public holidays. Closing Advanced takes working days out of the result even if those options stay typed in.

Inclusive vs exclusive counting

Two dates on a calendar can be counted two ways. Exclusive counting is the gap between them: 1 January to 2 January is 1 day, and the same date twice is 0. Inclusive counting treats the end date as a full day, which is what people mean for a stay, a course, or an event that runs “from the 1st to the 31st”. Inclusive is the default here. Turn the checkbox off when you want a pure difference, the way an age calculator subtracts two dates.

Date duration formulas

These are the same rules the calculator uses. The spoken duration walks through real months; the totals are whole units derived from that span.

Duration as a calendar difference
duration=(years,months,days)

The calculator does not divide total days by 365.25. It subtracts the start from the end using actual months, borrowing days from the previous month when needed, so a span that crosses February is exact whether that February has 28 or 29 days.

Total hours from whole days
hours=total days×24

Hours are 24 times the whole days in the span. Daylight saving is ignored on purpose: a calendar day is 24 hours here, so a span that crosses a clock change is not 23 or 25 hours on that day. Use a time-of-day tool if you need clock hours.

Working days, weekends, and holidays

Open Advanced and tick “Exclude weekends” to count business days. The weekend can be Saturday–Sunday, Friday–Saturday, or Sunday only. Add up to 12 public holidays to subtract; a holiday that already falls on a weekend is ignored, so it cannot come off twice. Closing Advanced hides the working-day count from the result and from history, even if the holiday list is still on screen.

A worked example

Start 1 January 2026, end 10 January 2026, counting the end date. The calendar duration is 10 days (0 years, 0 months, 10 days), which is 1 week plus 3 leftover days, 0 whole months, and 240 hours. 1 January 2026 is a Thursday, so with Saturday–Sunday weekends the working days are Thursday through Friday of both weeks: 7 working days and 3 weekend days. Uncheck the end date and the same range becomes 9 days.

Things to keep in mind

This is not an age calculator — for a birthday, use the age calculator, which also names the weekday of birth and counts down to the next one. It is not a timesheet: overnight shifts and unpaid breaks live on the hours-worked calculator. Dates use the Gregorian calendar at local midnight, so visitors west of Greenwich are not shifted onto the previous day. The tool does not apply a country’s labour-law definition of a working day beyond the weekend preset and the holidays you type.

Date duration calculator FAQ

How do I calculate the number of days between two dates?

Enter a start date and an end date. The calculator shows the exact duration in years, months, and days, and a total in whole days. Leave “Count the end date as a full day” on to include both dates; turn it off for a pure difference.

What is the difference between inclusive and exclusive counting?

Inclusive counting treats the end date as a full day, so 1 January to 1 January is 1 day and 1–31 January is 1 month. Exclusive counting is the gap between the dates, so the same date twice is 0 days. Inclusive is the default because it matches how people count stays and events.

How do I count only working days or business days?

Open Advanced, tick “Exclude weekends”, and pick which days are the weekend. Saturday–Sunday is the usual Western week; Friday–Saturday matches many Middle Eastern weeks; Sunday only is for a six-day week. The result then shows working days and weekend days separately.

Can I subtract public holidays?

Yes. With weekends excluded, add the holiday dates (up to 12). A holiday that falls on a weekend is ignored because it was never a working day. Closing Advanced takes holidays out of the result.

Why don’t the hours change when the clocks go forward or back?

Hours are 24 times the number of calendar days. Daylight saving is ignored so a duration is the same in every timezone. This tool counts dates, not clock times.

Does this date duration calculator store my dates?

Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.