Enter data
Date/Time- —
Settings
- 4
- 2
- 6
- 8
- 10
- 9.8 m/s²
- 9.81 m/s²
- 10 m/s² (school)
Result
CalcCoreWhat the calculator counts
The calculator finds the difference between two dates in years, months and days, plus total days, weeks and months. The dates can be entered in any order: it works out which is earlier. For example, from January 15 to March 10, 2025, 54 days have passed, i.e. 7 weeks and 5 days, or 1 month 23 days. The second date is today by default, so to find how many days have passed since an event you only need to enter the first one.
With or without the last day
A plain difference does not count the last day: from January 1 to December 31, 2024 it is 365 days. If you need both dates included, choose “Including the last day”: then you get 366 days, i.e. exactly 1 year. This mode suits leave, rentals and event lengths where both the first and the last day count. For working days both dates are included by default, as in Excel functions.
Months of different lengths
Months have different numbers of days, so whole months are added to the start date and, if the target month has no such day, its last day is used: January 31 plus 1 month is February 28. Thanks to that, from January 31 to March 1, 2023 you get 1 month 1 day, with no negative or lost days. The difference in days is calculated in UTC, so a daylight saving time change shifts nothing.
Working days
The “Working days” tab counts days that are neither weekends nor holidays. For May 2025, of 31 calendar days 9 fall on Saturday and Sunday, leaving 22 working days. If you add two holidays on working days (for example May 1 and 8), you get 20 working days. A holiday that falls on a weekend is not subtracted twice.
A choice of weekend
By default the weekend is Saturday and Sunday, but you can choose “Sunday only”, “Friday and Saturday” (as some countries work) or “No weekend” if every day counts as working. That makes the calculator suitable for shift schedules and international projects.
Holidays are entered by hand
State holidays change, including during martial law, so there is no built-in list: enter holidays as your own list of dates separated by commas, spaces or new lines in the MM/DD/YYYY or YYYY-MM-DD format. Holidays outside the chosen range are ignored, and those on weekends are not subtracted separately, which the calculator tells you. The list can be saved in the link via “Share”.
How many of each weekday between the dates
Under the result there is a collapsed block (click to open): how many Mondays, Tuesdays, Wednesdays and so on are in the range, marked weekend or working. For May 2025 that is 4 each of Mondays, Tuesdays, Wednesdays and Sundays and 5 each of Thursdays, Fridays and Saturdays. The table helps plan shifts, schedules and classes.
Limits
The calculation uses the Gregorian calendar: for dates before 1582 the result is nominal. The calculator does not know about transferred working days and has no built-in state holidays. Legal deadlines (contracts, limitation periods, leave) have their own counting rules, so for them rely on the law and documents and use the calculator as an aid.
The calculation uses the Gregorian calendar. For legal deadlines (contracts, limitation periods, leave) rely on the law and documents, not on the calculator.
FAQ
How do I calculate the difference between two dates?
Enter both dates: the calculator shows the difference in years, months and days and the total days. For 01/15/2025 and 03/10/2025 that is 54 days, or 1 month 23 days.
Is the last day counted?
Not by default. Choose “Including the last day” if both the first and the last date should count: January 1 – December 31, 2024 then gives 366 days.
Can I enter the dates in reverse order?
Yes, the calculator works out which date is earlier and shows a positive difference. A note says the dates were swapped.
How many days have passed from a date until today?
Enter only the first date: the second is “Today” by default. That counts how many days have passed since an event.
How are working days counted?
The calendar days of the range minus weekends and holidays. By default both end dates are included, as in Excel; you can change it to “Without the last date”.
Does the calculator have state holidays?
No, they change. Enter holidays as your own list of dates and the calculator will not count them as working days.
What if a holiday falls on a weekend?
It is not subtracted a second time: a weekend day is already not a working day. The calculator tells you about it in a separate line.
How do I change the weekend days?
In the “Weekend days” field choose “Saturday and Sunday”, “Sunday only”, “Friday and Saturday” or “No weekend”.
Why does January 31 to March 1 give 1 month 1 day?
1 month is added to January 31 and, since February has no 31st, February 28 is used (the 29th in a leap year). From February 28 to March 1 there is 1 day left.
Does the calculator account for leap years?
Yes, all differences use the real calendar, including 29 February.
Is the calculator suitable for legal deadlines?
Only as an aid. Deadlines in contracts and laws have their own rules (starting from the next day, moving to a working day), so check them against documents or with a lawyer.
Does it work for dates before 1582?
The result is nominal because the calculation uses the Gregorian calendar. For old Julian dates there is a separate converter.