Dates, Age & Deadlines · Dates & Everyday

How to Count Days Between Dates

A practical method for counting days, weekdays, and date shifts, including the end-date and month-end choices that change the answer.

To count days between two dates, subtract the earlier date from the later date. The result is the number of elapsed calendar days; the end date is an endpoint, not an extra day. The Date Calculator performs this count and also shows weekdays, an inclusive-day option, and a years/months/days breakdown.

Count calendar days

For a start date and an end date, the basic formula is:

days = end date − start date

For example, October 20, 2026 to November 19, 2026 is 30 calendar days. October 20 to October 21 is one day. The time of day is not part of the calculation; both dates are treated as complete calendar dates.

If you need the interval in whole weeks, divide the day count by seven. Thirty days is four weeks and two days.

Decide whether to include the end date

The same pair of dates can produce two useful answers:

  • Exclusive count: the elapsed gap between the dates. October 20 to November 19 is 30 days.
  • Inclusive count: both the first and last dates count. Add one day, making 31 days.

Use the exclusive count for an elapsed-time question, such as how many days remain before a deadline. Use the inclusive count for an event that covers both endpoint days, such as a hotel stay or a multi-day schedule. The important step is to state which convention you used; mixing them is a common one-day error.

When the start and end dates are the same, the exclusive count is zero and the inclusive count is one.

Count weekdays without counting holidays

A weekday count includes Monday through Friday and excludes Saturday and Sunday. October 20 to November 19, 2026 contains 22 weekdays. Including November 19 adds one weekday, for 23.

This is not an official business-day count. U.S. federal holidays, state holidays, company shutdowns, and other non-working days are not excluded. If a contract or payroll rule needs holiday-aware days, use the official holiday calendar for the relevant jurisdiction and subtract those dates separately. The calculator labels the result as weekdays for that reason.

Add or subtract days from a date

To move a date forward or backward, apply whole years and months first, then weeks and days. For example:

  • October 20, 2026 plus one month is November 20, 2026.
  • October 20, 2026 plus 90 days is January 18, 2027.
  • January 31, 2026 plus one month is February 28, 2026.

The order matters at month ends. Adding one month is not the same as adding 30 days; one month follows the calendar, while 30 days is a fixed elapsed count.

Handle month ends and leap days

Months have different lengths, so a date shift or a years/months/days difference needs a stated convention. This calculator keeps the day where possible and clamps to the last day of the target month:

  • January 31 + 1 month = February 28 (February 29 in a leap year).
  • February 28 + 1 month = March 28.
  • February 29, 2024 + 1 year = February 28, 2025.

For a date difference, full months are counted first, then remaining days. February 28 to March 31 is one month and three days: February 28 plus one month is March 28, and March 28 to March 31 is three days. Another tool could describe the same interval differently if it uses a different month-end convention.

Use the same method for age

Age is a date difference with a birthday convention. Count full years, then full months, then remaining days from the date of birth to the age date. For example, May 15, 1990 to October 20, 2026 is 36 years, 5 months, and 5 days.

The Age Calculator also shows total days, completed months, and the next birthday. For a February 29 birthday, it uses February 28 in non-leap years for the next-birthday countdown; that is a stated convention, not a legal rule.

FAQs

Does "days between dates" include the end date?

No by default. The end date is the endpoint, so October 20 to November 19 is 30 days. Add one day if both endpoint dates should count.

How are weekdays counted?

Monday through Friday are counted and weekends are excluded. Holidays are not excluded unless you subtract them separately from an official calendar.

Why does January 31 plus one month show February 28?

February has no 31st. The calculator clamps to the last day of the target month instead of rolling into March. In a leap year the result is February 29.

How do I add 90 days to a date?

Enter the start date, choose the add operation, and put 90 in the days field. Leave years, months, and weeks at zero.

Can I count business days excluding holidays?

Not directly. The weekday result excludes weekends only. Use the official holiday list for the relevant place and subtract those dates from the weekday count.

How is age different from a date difference?

Age applies a birthday convention: age increases on the birthday, and a February 29 birthday needs a non-leap-year rule for the next birthday. The calendar-day difference itself is the same subtraction.