How to Calculate the Difference Between Two Dates
Enter any two dates in the Date Difference tab and the tool instantly calculates the exact gap in years, months, and days — using calendar month arithmetic, not just a raw day count. You also see the total number of days, total hours, and business days between the two dates. Click Swap ⇆ to flip the direction without retyping.
How to Add or Subtract Days from a Date
The Add / Subtract tab takes any starting date and a number of days (enter a negative number to go backwards). Enable Business days only to skip weekends — useful for calculating delivery deadlines, contract terms, or SLA expiry dates.
Examples:
- “What date is 30 days from today?” — enter today + 30
- “What was the date 90 calendar days ago?” — enter today − 90
- “When is the 10th business day after signing?” — enter signing date + 10 with business days enabled
Age Calculator
Enter a date of birth in the Age Calculator tab to see the exact age in years, months, and days as of today (or any reference date you choose). The calculation accounts for leap years. If you were born on February 29, the tool treats March 1 as your birthday in non-leap years — consistent with most legal and HR systems.
Find the Next Weekday
The Next Weekday tab calculates when the next occurrence of a chosen weekday falls after a given date. If the start date is already the selected weekday, the tool returns the same weekday next week (strictly the next occurrence). This is useful for scheduling recurring events or finding the next Monday, Friday, or any other specific weekday.
How Calendar Month Arithmetic Works
Raw day subtraction (e.g. 31 days × number of months) does not align with how humans think about time. This tool uses calendar month arithmetic:
| From | + N months | Result |
|---|---|---|
| January 31 | + 1 month | February 28 (or 29 in a leap year) |
| March 31 | + 1 month | April 30 |
| January 15 | + 2 months | March 15 |
The remaining days are counted from the calendar-adjusted anchor point. So January 31 to March 1 is 1 month and 1 day — not 29 raw days expressed as a fraction of a month.
Business Days vs. Calendar Days
The distinction matters in legal, financial, and HR contexts:
| Scenario | Calendar Days | Business Days |
|---|---|---|
| Friday to Monday | 3 days | 1 day |
| Friday + 5 days | Wednesday (next week) | Friday (next week — Mon+Tue+Wed+Thu+Fri) |
This tool counts Monday through Friday as business days. Public holidays are not factored in as they vary by country and region.
Date Format
All date inputs use ISO 8601 format (YYYY-MM-DD), the international standard that avoids ambiguity between DD/MM/YYYY (Europe) and MM/DD/YYYY (United States). Most browsers render date fields with a calendar picker for easy selection.
Privacy
All calculations run in your browser using JavaScript’s built-in Date API. No dates or personal information are ever sent to a server or stored anywhere. The tool works offline once the page has loaded.