G-32 · Time & dates · 5 min read

How to calculate the number of days between dates

Count the days between two dates, decide whether to include the end date, count business days, add days to a date and work out an exact age.

Fig. G-32 · Time & dates

Counting days by hand on a calendar is slow and easy to get wrong by one. Month lengths vary, leap years add a day, and the answer depends on whether you count the first and last day. This guide explains the difference between inclusive and exclusive counts, how business days are counted, how to find a date a set number of days away, and how exact age is calculated.

Step by step

  1. Open the date difference calculator and pick the start date.
  2. Pick the end date.
  3. Read the breakdown: years, months and days; the total number of days and weeks; and the number of business days (Monday to Friday).
  4. To go the other way and find a date from a number of days, use add days to a date.
  5. To find someone's exact age, use the age calculator.

All three tools treat dates as plain calendar dates, so your time zone and daylight saving changes never shift the answer by a day. They run in your browser.

Inclusive and exclusive counts

The total in the date difference calculator is the plain difference between the two dates. From 1 January to 2 January is 1 day. This is an exclusive count: it counts the number of days you move forward, not the number of days on the calendar you touch.

An inclusive count includes both the start and the end date. From 1 January to 2 January inclusive is 2 days. To get it, add 1 to the plain difference:

Inclusive days = (end − start) + 1

Which one you need depends on the question:

Question Count to use Example (15 Jan to 1 Mar 2026)
How many days until the event? Exclusive 45 days
How long was the hotel stay (nights)? Exclusive 45 nights
How many days does the course run, first and last day included? Inclusive 46 days
How many days of leave am I taking? Inclusive, often business days only See below

A worked example

From Thursday 15 January 2026 to Sunday 1 March 2026:

  • 15 January to 31 January: 16 days
  • February 2026 (not a leap year): 28 days
  • 28 February to 1 March: 1 day
  • Total: 16 + 28 + 1 = 45 days, or 6 full weeks and 3 days

As years, months and days the calculator shows 1 month and 14 days: 15 January to 15 February is one month, and 15 February to 1 March is 14 more days.

Note "One month" is not a fixed number of days. 15 January to 15 February is 31 days; 15 February to 15 March is 28 days in a common year. That is why the breakdown and the total days can look inconsistent at first glance. Both are correct.

Counting business days

Business days in these tools are Monday to Friday. Saturdays and Sundays are skipped; public holidays are not, because they differ between countries, regions and even employers. If a holiday falls in your range, subtract it yourself.

The date difference calculator counts business days including both the start and end dates. From Thursday 15 January to Sunday 1 March 2026 there are 32 business days: every weekday from 15 January up to Friday 27 February.

For leave requests this inclusive count is usually what you want: taking Monday to Friday off is 5 days of leave. For deadlines such as "within 10 business days", use the add-days tool described next, which counts forward from the day after the start.

Adding days to a date

To find the date a number of days, weeks, months or years away, use add days to a date:

  1. Choose the start date (today by default).
  2. Choose Add or Subtract, then enter the amount and the unit.
  3. Tick Business days only to skip weekends.
  4. Read the result with its weekday, ISO date, day of the year and ISO week number.

The start date itself is not counted: adding 1 day to a Monday gives Tuesday. Some examples from Monday 23 November 2026:

  • +90 days is Sunday 21 February 2027.
  • +10 business days is Monday 7 December 2026.

Adding months keeps the same day of the month when it exists and otherwise uses the last day of the month. 31 January plus one month is 28 February, or 29 February in a leap year. This matters for things like monthly billing dates and contract terms, where "one month later" from the 31st can land on different days.

Tip Contracts and notices sometimes say "30 days" and sometimes "one month". They can give different dates, so use the unit the document actually uses.

Calculating an exact age

Age is counted in whole years, then whole months, then the remaining days, which is how most people and forms describe it. The age calculator also shows total days and weeks lived and the days left until the next birthday.

Someone born on 17 May 1990 is, on 23 November 2026:

  • 36 years, 6 months and 6 days old
  • 13,339 days old in total
  • 175 days away from their next birthday

You can change the "Age at" date to find an age on a past or future date, for example to check eligibility on a specific deadline. If a birth day does not exist in a month, the month's last day is used. Someone born on 29 February has their birthday counted on 1 March in common years in this tool.

FAQ

Common questions.

01Is the end date included in the count?

The total days figure is the plain difference, so 1 January to 2 January is 1 day. Add 1 if you need both days included. The business-day count includes both the start and end dates.

02Are public holidays excluded from business days?

No. Only Saturdays and Sundays are skipped. Public holidays vary by country and region, so subtract any that fall in your range yourself.

03Does it handle leap years?

Yes. The tools use real calendar dates, so 29 February is counted in leap years and month lengths are always correct. {{tool:date-difference-calculator}}