Date Difference Calculator

Select a start and end date to see the number of calendar days between them, plus weeks and a calendar years-months-days breakdown. Choose whether to count both the start and end dates.

Choose your dates

The first date in the range.

The second date in the range.

Count dates

Counts the calendar-day steps from the start date to the end date.

Counts every calendar date in the selected range.

Counts Monday to Friday only. It does not remove public holidays, company holidays or local non-working days.

Calendar days
Choose two dates to calculate the difference.

This calculator compares calendar dates only. It ignores time of day, time zones, public holidays and local working-day rules.

How to use this calculator

  1. Enter a Start date and an End date.
  2. Choose Days between dates for exclusive counting, or Include both start and end dates for inclusive counting.
  3. Turn on Also show weekdays to add a Monday-to-Friday count alongside the calendar days.
  4. The result updates as you type, showing the calendar days, the calendar-duration breakdown, whole weeks and approximate months. Use Reset to start again.

By default, the calculator shows days between the dates. Turn on "Include both dates" when you want to count every calendar date in the range. Either way, dates can be entered in any order — enter them in reverse and the calculator normalises them and shows a note.

This calculator compares calendar dates only. It ignores time of day, time zones, public holidays and local working-day rules.

How is the number of days between two dates calculated?

The calculator counts real calendar days from one date to the other — it never converts either date into a timestamp or subtracts 24-hour periods, so the result cannot be thrown off by a daylight-saving clock change or a time zone.

days between = end date − start date (exclusive)
  • Exclusive counts the day-steps from the start date to the end date.
  • Inclusive adds one, so every calendar date in the range is counted.

Example: 1 March to 2 March is 1 day exclusive, or 2 days inclusive. Over a longer span, 15 January 2026 to 30 March 2026 is 74 days exclusive (75 inclusive), which is 10 whole weeks and 4 days, and a calendar duration of 2 months and 15 days.

What is the difference between inclusive and exclusive counting?

Exclusive counting — the default — treats the two dates as the ends of a range and counts the steps between them, the way you would count nights on a booking. Inclusive counting counts every calendar date in the range, including both the start and the end date, which is one more than the exclusive count. Neither figure changes the calendar-duration breakdown (years, months and days), which is always the exact interval from the earlier date to the later one.

Why does the calendar duration differ from the approximate months and years?

The calendar duration works through years, months and days the way a calendar does — it counts whole months from the start date, using each month's real length, then the leftover days. The approximate months and years instead divide the total day count by the average length of a Gregorian month (30.436875 days) or year (365.2425 days). Both are useful figures, but they answer different questions: the calendar duration matches "how a person would describe the gap", while the approximate figures are a quick day-count conversion. They are labelled separately so the two are never confused.

How are weeks between two dates calculated?

Whole weeks are the selected day count divided by 7 and rounded down, with the leftover days shown alongside — for example, 74 days is 10 whole weeks and 4 remaining days. The decimal weeks figure is the same day count divided by 7 without rounding, so 74 days is also 10.57 weeks.

How does the weekday count work?

Turning on "Also show weekdays" counts Monday to Friday only, over the same exclusive or inclusive range as the day count. Monday to Tuesday is 1 weekday exclusive, or 2 inclusive; Friday to the following Monday is 1 weekday exclusive (Friday itself), or 2 inclusive (Friday and Monday). This is a plain weekday count — it does not subtract public holidays, bank holidays, company holidays or any other local non-working day, so it is not the same as a business-day or working-day calculation.

What happens if I enter the end date before the start date?

The calculator still works. It keeps the two dates you entered exactly as typed, shows a note that they were entered in reverse chronological order, and calculates the duration from the earlier date to the later one as a positive number of days, weeks, months and years. This version does not show a signed (negative) difference or an "add or subtract days" mode.

What this calculator does not do

  • It ignores time of day and time zones — only the calendar date matters.
  • It does not remove public holidays, bank holidays or company holidays from the weekday count.
  • It is not a legal, payroll, contractual-deadline or visa calculator — those often have their own counting rules, cut-off times and exclusions.
  • It does not add or subtract a number of days from a single date, and does not repeat on a schedule.
  • Approximate months and years are clearly labelled and are not the calendar duration.

Is my data private?

Yes. The calculation runs entirely in your browser using the dates you enter. Nothing is sent to a server, no calendar is connected, and no date, duration or weekday value you enter is recorded in analytics.

For a date of birth specifically, see the Age Calculator, which gives your exact age in years, months and days plus a countdown to your next birthday. Expecting a baby? The Pregnancy Due Date Calculator estimates a due date and current stage from the first day of your last period.

Frequently asked questions

How many days are between two dates?

Subtract the earlier date from the later date, counting whole calendar days. By default this calculator uses exclusive counting — the number of day-steps from the start date to the end date — so 1 March to 2 March is 1 day, and 15 January 2026 to 30 March 2026 is 74 days.

Does the calculator include the start and end date?

Only if you turn on "Include both start and end dates". The default, exclusive count treats the range as a number of steps between the two dates: 1 March to 2 March is 1 day. Switching to inclusive counts every calendar date in the range, including both ends, so the same dates become 2 days. Inclusive counting is always the exclusive count plus one.

Why are the months different from the days divided by 30?

A calendar month is not a fixed number of days — it is 28, 29, 30 or 31 depending on the month and the year. The calendar duration shown by this calculator counts real months and days, the same way you would count on a calendar. The approximate-months and approximate-years figures divide the day count by the average Gregorian month (30.436875 days) and year (365.2425 days) instead, which is useful as a rough conversion but will not exactly match the calendar duration.

Does this count weekdays or business days?

Turning on "Also show weekdays" counts Monday to Friday only, using the same exclusive or inclusive range as the day count above. It does not remove public holidays, bank holidays, company holidays or any other local non-working day, so it is a plain weekday count, not a true business-day calculator.

What if the end date is before the start date?

The calculator accepts dates in either order. If the end date is earlier than the start date, it shows a note that the dates were entered in reverse order, then calculates the duration from the earlier date to the later date as a positive number. This version does not show a signed (negative) difference.

Does daylight saving time affect the result?

No. This calculator compares calendar dates, not timestamps — it never converts a date to a moment in time or subtracts 24-hour periods, so a daylight-saving clock change cannot shift the result by a day. The same two dates always produce the same day count, whichever time zone you are in.

Can I use this for a legal or contract deadline?

Treat it as a starting point only, not a substitute for the exact rule that applies. Legal, payroll, contractual and visa deadlines often have their own counting conventions — some exclude weekends or public holidays, some start counting from the day after an event, and some have a cut-off time of day. This calculator ignores all of those; check the specific rule that applies, or ask a qualified professional, before relying on a date for a deadline.

Can it calculate dates in the future or the past?

Yes. Enter any two dates from 1 January 1900 to 31 December 2200, in either order, past or future — for a countdown to an upcoming date, or the time since a past one.