Skip to content
CALQEVA

Search tools

Date & Time

Date Difference Calculator

Find the number of days between two dates, and see the same gap in years, months and days, in weeks, and as weekdays and weekend days. Turn on Include the end date to count both the first and the last day.

How to use this calculator

  1. Set the start date. It starts as today, so to count the days until a date, just choose the end date.
  2. Set the end date. It can be before or after the start date.
  3. Turn on Include the end date if both the first and last day should be counted, as leave applications usually require.
  4. Read the total number of days, then the breakdown into years, months and days, weeks, weekdays and weekend days.

Formula

Days = End date − Start date (+1 when the end date is included)

End − Start
the number of calendar days from the start date to the end date
+1
added when counting inclusively, so that both the start and end dates are counted

Dates are compared at midnight UTC so that time zones and daylight saving changes cannot shift the count.

Worked example

Leave from 1 October 2026 to 10 October 2026, counting both days.

  1. Exclusive difference10 October − 1 October = 9 days
  2. Inclusive9 + 1 = 10 days
  3. Weekend days in range3, 4 and 10 October (Saturday, Sunday, Saturday)

Ten calendar days of leave, of which seven are weekdays.

How to calculate the number of days between two dates

The difference between two dates is the number of days you move forward from the first to reach the second. From 1 January to 31 December 2026 is 364 days, because the count measures the gap between the two dates. Include the end date and it becomes 365, the whole year.

By hand, that means adding the days left in the start month, every full month in between and the days in the end month, remembering that February has 29 days in a leap year. The calculator counts on the real calendar, so month lengths and leap years are always right.

Years, months and days: how months are counted

Months have different lengths, so the years, months and days breakdown counts calendar months rather than blocks of 30 days. 15 March to 15 April is one month, even though some months are 30 days and others 31.

When the start date is a day the end month does not have, the month ends on that month's last day. 31 January to 28 February 2026 counts as exactly one month, which is 28 days. In a leap year the same idea applies: 1 February to 1 March is 29 days in 2024 and 28 days in 2026.

Inclusive and exclusive counting

There are two correct ways to count days between dates, and they differ by one. Exclusive counting measures the gap: from Monday to Friday is four days. Inclusive counting counts both endpoints: Monday to Friday is five days of leave.

Hotels charge by nights, which is exclusive. Leave applications, project durations and event days are usually inclusive. Use the toggle to switch between them rather than adding one by hand.

Working days and weekends

The weekday count treats Monday to Friday as working days and excludes Saturday and Sunday. 1 January to 31 December 2026, counting both days, has 261 weekdays and 104 weekend days.

It does not exclude public holidays, which vary by country, state and organisation, and it does not know about six-day weeks, which are still common in parts of India. Subtract those yourself from the weekday figure.

When people count days between dates

A few situations come up again and again:

  • Notice periods and deadlines: the date 90 days after 13 October 2026 is 11 January 2027. Check the count by entering both dates.
  • Leave and travel: count leave days with the end date included, or hotel nights without it.
  • Age in days: enter a birth date and today's date. For age in years, months and days, plus your next birthday, use the age calculator.
  • Deposits and loans: the number of days from the start date to maturity. To see the interest a fixed deposit earns over that time, use the FD calculator.

Things to keep in mind

  • Public holidays are not excluded from the weekday count.
  • If the end date is before the start date, the calculator still gives the gap and notes that the order is reversed.

Frequently asked questions

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

Enter the two dates above; the total number of days is shown first, with weeks, months and years below it. For example, 1 June to 31 December 2026 is 213 days, or 214 if you include the end date.

Should I include the end date when applying for leave?

Usually yes. If you are away from 1 October to 10 October, both days are days you are not at work, so that is ten days of leave. Turn on the include end date option for this.

How many working days are there between two dates?

The result shows weekdays from Monday to Friday in the range. Subtract any public holidays and, if your workplace has a six-day week, treat Saturdays separately.

Does the calculator handle leap years?

Yes. It counts on the actual calendar, so 29 February is included in leap years such as 2024 and 2028, and every month has its correct length.

Was this calculator useful?

Quick reaction, a note, or both — whatever's useful to you.

Contact details are optional and only used to reply to you — never shared, never used for marketing.