Date calculator

Count the days, weeks, business days and exact years/months/days between two dates, or find the date N days, weeks, months or years from today. Handles leap years and month-end rollover. Useful for contract terms, project deadlines, notice periods and PTO.

Runs in your browser · nothing is uploaded
Total daysYears / months / daysWeeksWeekdays (Mon–Fri)

Add or subtract from a date

Result

Assumptions

How it is calculated

Examples

SituationInputResult
Tenure at a job2021-03-02 → 2026-09-062,014 days = 5 y 6 mo 4 d
Vacation days2026-08-03 → 2026-08-07, include end5 days, 5 weekdays
Net-30 invoice due2026-09-06 + 30 days2026-10-06 (Tuesday)
One-year lease2026-02-28 + 1 year2027-02-28
Month-end billing2026-01-31 + 1 month2026-02-28 (clamped)

Common mistakes

FAQ

Should I include the end date?

Include it when you are counting a duration that covers both ends — days of leave, days on site, the length of a rental. Leave it unchecked for an interval ("how many days until"). Sept 1 to Sept 3 is 3 days inclusive, 2 days exclusive.

What is one month after January 31?

February has no 31st, so this tool returns the last day of February (28, or 29 in a leap year) — the same behavior as Excel's EDATE. If a contract says "the last day of each month" that is correct; if it says "the 31st", most businesses also roll to month-end when the day does not exist.

Why do other sites give a different years/months/days result?

Month-end edge cases (Jan 31 → Mar 1) can be reported as "1 month 1 day" or "1 month −2 days" depending on method. This tool adds whole months to the start date without passing the end date, then counts the leftover days, so the parts are always non-negative. The total day count is the same either way.

Does "weekdays" exclude public holidays?

No — it excludes Saturdays and Sundays only. A separate business-day calculator handles U.S. federal holidays.

Is anything I type saved or sent anywhere?

No. The calculation runs in your browser only. Refreshing the page clears it.

Related tools