Skip to content
techfen
☰

Date Difference Calculator

Count the exact number of days, weeks, months and years between any two dates.

Share:WhatsAppTelegram

How to use the Date Difference

  1. Enter the start date and the end date.
  2. Tick 'Include the end date' if both days should count.
  3. Read the difference in days, weeks, months and years.

Counting days between dates

Whether you’re counting days until a deadline, the length of a project, notice period, rent period, pregnancy weeks or the duration of a trip, doing it by hand across months with 28, 30 and 31 days is error-prone. This calculator gives the exact figure instantly.

Including or excluding the end date

By default, the calculator counts the days between the dates: from 1 to 10 January is 9 days. Tick “Include the end date” to count both the first and last day, which gives 10 days. Use the inclusive count for things like leave (1–10 January is 10 days of leave), hotel stays counted by days, or event durations; use the default for elapsed time.

Different ways to express the gap

  • Years, months and days: calendar-accurate, like an age.
  • Weeks and days: handy for pregnancy, training plans and projects.
  • Approximate months: days divided by the average month length.
  • Hours: total days × 24.

Order doesn’t matter

If the end date is earlier than the start date, the calculator swaps them, so you always get a positive difference.

Related tools

To exclude Sundays, Saturdays and holidays, use the working days calculator. To find a date a certain number of days away, use add days to a date. For a live countdown to an event, try the countdown timer.

Examples

  • Notice period: resignation on 1 July, last day 29 September gives 90 days including the end date.
  • Rent: tenancy from 5 January to 4 April is 89 days elapsed.
  • Exam countdown: today to your exam date gives the days left to prepare.
  • Pregnancy: from the first day of the last period to today gives weeks and days, though the due date calculator is more convenient for that.

Tip: bookmark the page to quickly count days for deadlines and bills.

Frequently asked questions

How many days are there between two dates?
Enter both dates; the tool shows the exact count, with or without the end date.
Should I include the end date?
Include it when both days count, like leave. Exclude it for elapsed time.
Does it account for leap years?
Yes. The calculation uses real calendar dates.
Can I exclude weekends?
Use the working days calculator for that.

Last updated: