Use this Date Difference Calculator to find the number of days between two dates, see the calendar duration in years, months and days, and count weekdays and weekend days. You can also add or subtract a chosen number of days, weeks, months or years from a starting date. All calculations run in your browser.
Calculate Date Differences
Count the time between two dates, include or exclude the end date, or move forward and backward from a date using calendar units.
Enter two dates
Your date result
Weekday counts include Monday to Friday only. Weekend counts include Saturday and Sunday. Public holidays are not excluded, and this tool does not calculate jurisdiction-specific business or bank holidays.
What Is a Date Difference?
A date difference is the amount of calendar time between two dates. It is commonly expressed as elapsed days, weeks and days, or a calendar duration made up of years, months and days. The result depends on whether you count the end date as part of the period.
This Date Difference Calculator provides both an elapsed-day count and an optional inclusive count. It also separates weekdays from weekend days, which is useful for an initial schedule estimate. It does not automatically remove public holidays.
How to Use the Date Difference Calculator
- Choose Difference Between Dates.
- Select the start date and end date using the date fields.
- Leave the inclusive option unchecked to count elapsed days, or select it to include the end date.
- Press Calculate to see total days, weeks, calendar duration, weekdays and weekend days.
- Use Copy result to copy the summary, or Reset to restore the example dates.
How to Add or Subtract Days, Weeks, Months or Years
Select Add or Subtract Time, enter a starting date and a whole number, and choose days, weeks, months or years. Select Add or Subtract and calculate the resulting date.
When a target month does not contain the original day, the calculator uses the final valid day of that month. For example, adding one month to 31 January produces the last valid day of February. A leap-day date moved to a non-leap year is adjusted in the same way.
Date Difference Formula
The calculator compares calendar dates at UTC midnight, avoiding daylight-saving clock changes in the calculation. The elapsed-day count excludes the end date. The inclusive option adds one calendar day to the count and includes that end date in the weekday and weekend totals.
Example: Days Between Two Dates
From 1 November 2026 to 28 November 2026
The elapsed difference is 27 days. When the end date is included, the counted date span is 28 days.
How Weekdays and Weekend Days Are Counted
Weekdays in this tool mean Monday through Friday. Weekend days mean Saturday and Sunday. The calculator counts these separately across the selected date range, using the same end-date inclusion setting as the total-day count.
Public holidays, regional holidays, company closures and bank holidays are not excluded. For a legal deadline, employment schedule or official filing date, check the applicable calendar and rules for your location.
Calendar Months Are Not Fixed-Length Periods
A calendar month can contain 28, 29, 30 or 31 days. Therefore, a calendar duration such as one month is not always equal to 30 days. This calculator keeps month and year operations aligned to calendar dates and adjusts to the last valid date when needed.
Related Calculators
For a person’s age in years, months and days, use the Age Calculator. For selected Indian bank working Saturdays, see the Second and Fourth Saturday Calculator.
Frequently Asked Questions
Does the date difference calculator include the end date?
By default, it calculates elapsed days and does not include the end date in weekday and weekend counts. Select the inclusive option to add the end date to the counted span.
How many days are between two dates?
Subtract the earlier calendar date from the later calendar date. For an inclusive count, add one day to the elapsed difference.
Does it count Saturdays and Sundays?
Yes. It reports weekdays (Monday to Friday) and weekend days (Saturday and Sunday) separately.
Does it remove public holidays?
No. Public holidays and local non-working days are not included in the calculation rules. The weekday count is a Monday-to-Friday count only.
How does it handle leap years?
Date differences use the actual Gregorian calendar. When adding a year to 29 February in a non-leap year, the result is adjusted to 28 February.
Is one month always 30 days?
No. Calendar months have different lengths. The add-or-subtract mode uses calendar-month arithmetic rather than treating every month as 30 days.
Are my dates uploaded?
No. The calculations run locally in your browser; the entered dates are not submitted to a calculation server.
Disclaimer: This tool is for general date arithmetic and planning. It does not determine statutory deadlines, official business days or legal time limits.
