Date Difference
Days, weeks, months, and years between any two dates — with optional business-days-only count.
Find the exact difference between any two dates — in days, weeks, months, and years. Toggle 'business days only' to skip weekends for project planning, paid leave, or contract terms. Useful for calculating tenure, gestational age, lease durations, statute-of-limitations windows, or any other date-driven deadline.
Calendar days vs business days vs working days
Calendar days count every day including weekends and holidays. This is the right unit for age, gestational duration, lease terms, and most legal deadlines (a '30-day notice' usually means 30 calendar days unless the contract specifies otherwise).
Business days exclude weekends. Use this for shipping estimates, payroll cutoffs, and project schedules. Standard US business days are Monday through Friday. Note that 'next business day' delivery from a Friday means Monday, not Saturday.
Working days exclude weekends and observed public holidays. The exact count depends on jurisdiction — the US has 10–11 federal holidays, the UK has 8 bank holidays, Germany has 9–13 depending on the state. This calculator's business-days mode skips weekends but doesn't subtract holidays; subtract those manually if your deadline depends on it.
Why month and year math is tricky
Months don't have a fixed length. The difference between Jan 15 and Feb 15 is exactly 1 month, but it's also 31 days. The difference between Feb 15 and Mar 15 is also 1 month — but only 28 or 29 days. So 'months between two dates' is a slightly fuzzy quantity that can be expressed as either calendar months (counting month boundaries) or 30-day chunks. We report calendar months.
Year math has the same issue plus leap days. Someone born on Feb 29 only has a 'true' birthday once every 4 years; for legal purposes most jurisdictions roll their birthday to Feb 28 or Mar 1 in non-leap years. When calculating tenure or age in years, we count completed full years from the start date — the same convention used by HR systems and US legal age.
Common date-difference use cases
Tenure and anniversaries: hire date to today, in completed years and months. HR systems use this to calculate vacation accrual, vesting schedules, and service awards.
Project planning: kickoff date plus N business days = realistic delivery date that ignores weekends. Useful for SLAs, sprint planning, and contract milestones.
Notice periods and legal windows: lease termination, statute of limitations, appeal deadlines. Always check whether the relevant statute counts calendar days or business days — getting this wrong by a single day can be procedurally fatal.
Personal milestones: days since a quit date, weeks of pregnancy, time until a wedding or vacation. The 'countdown' use case is one of the most popular and a frequent reason people land on this page.
Frequently asked questions
How is the difference calculated?
Days = absolute difference in calendar days. Years/months use calendar arithmetic (not 30-day months) so 'Mar 15 to Apr 15' is exactly 1 month.
What counts as a business day?
Monday through Friday. Public holidays are not excluded — for that, subtract your country's federal holidays from the result manually.
Is the end date inclusive?
Days between is exclusive of the end date (Jan 1 → Jan 2 = 1 day). Business days count is inclusive of both endpoints when they fall on weekdays.
Can I count backwards?
Yes — order doesn't matter. If end is before start, the calculator returns the absolute difference.
Does it handle leap years?
Yes. JavaScript's Date object handles leap days, so Feb 29 → Mar 1 is 1 day in non-leap years and Feb 29 → Mar 1 is also 1 day across a leap year boundary.
More in Date Math
Calendar arithmetic: countdowns, add or subtract days/weeks/months, exact differences, and business-day counts.
- Days Until a Date
Countdown to any future date — birthdays, holidays, deadlines.
- Add or Subtract Days
Add or subtract days, weeks, months, years, or business days from any date.
- Business Days Calculator
Count business days between two dates or add/subtract working days from any date, with custom holidays excluded.
Related calculators
Browse all Time →Add or Subtract Days
Add or subtract days, weeks, months, years, or business days from any date.
Days Until a Date
Countdown to any future date — birthdays, holidays, deadlines.
Business Days Calculator
Count business days between two dates or add/subtract working days from any date, with custom holidays excluded.
Days From Today
What date is 30, 60, or 90 days from today? Calendar days or business days, with day of the week.
How Long Have We Been Together?
Enter the day your relationship started and see exactly how long you've been together — to the second. Perfect for anniversaries.
How Long Have I Been Married?
Enter your wedding date and see your exact marriage length in years, months, days, hours, and seconds — with traditional anniversary gifts.
Age Calculator
Your exact age in years, months, days, hours, and minutes.
Lunar Age Calculator
How many lunar months, full moons, and new moons between any two dates.