Date Difference Calculator
Count days, weeks, months, and business days between dates.
Calculate the difference between dates
Choose a start date and an end date. The results update automatically.
Choose the first date.
Choose the second date.
The earlier date is included and the later date is excluded. Dates are arranged in chronological order for counting.
How the date difference is calculated
Dates are compared as calendar days, without using the time of day. Completed calendar years and months are counted first, followed by the remaining days.
By default, the earlier date is counted and the later date is not. Select the inclusive option to count both dates. This also applies when the entered dates are reversed.
Business day totals use Monday through Friday and do not account for holidays. These calculations describe calendar dates rather than exact elapsed hours.
Your dates and results are processed locally in your browser. Nothing is uploaded to JoliTools or saved in an account.
About this tool
Knowing how many days separate two dates can help with everything from planning a project to organizing a personal event. The JoliTools Date Difference Calculator provides a simple way to measure that time without counting through a calendar manually. Enter a start date and an end date, and the calculator shows the total calendar days between them. It also breaks the difference into years, months, and days, displays completed weeks, and separates business days from weekend days. You can choose whether to include the final calendar date in the count. Results update automatically whenever you change an input. All calculations happen locally in your browser, and your dates are never uploaded to JoliTools.
Calendar differences are more complicated than dividing a number of days into equal months. Some months have 30 days, others have 31, and February has either 28 or 29 depending on the year. The calculator accounts for these differences by counting completed calendar years and months before finding the remaining days. If a month does not contain the starting day number, the calculation uses the last available day of that month. For example, January 31 to February 28 in a year without a leap day represents one completed calendar month under this method. The total days are calculated separately using actual calendar dates. Completed calendar months are not the same as an estimate created by dividing the total number of days by 30.
How to use the date difference calculator
- 1Choose the start date and end date using the date fields.
- 2Select Include the end date if you want both dates counted.
- 3Review the total days, calendar breakdown, weeks, and weekday totals.
- 4Copy the results if you want to save the calculation or use it elsewhere.
Good to know
The calculator can be useful for planning deadlines, measuring project timelines, counting the days until a trip, or checking how much time has passed since an event. Suppose you are organizing a project that begins on January 1 and reaches a milestone on January 10. The default calculation shows 9 days between those dates. If your plan needs to count both January 1 and January 10 as included days, selecting the inclusive option gives 10 days. The distinction matters because different situations use different counting methods. For some schedules, you may want to know the elapsed calendar interval, while for others you may want every date covered by an activity. The calculator shows the selected counting method alongside the result so that the number is easier to interpret.
Business day and weekend totals provide another view of the same date range. The calculator treats Monday through Friday as business days and Saturday and Sunday as weekend days. It counts the number of each type of day within the selected interval, including the final date only when the inclusive option is enabled. This can help with general work planning, estimating available weekdays, or comparing a project timeline with a calendar schedule. However, a weekday is not always a working day. Public holidays, company closures, personal leave, and regional schedules can all change when people actually work. The calculator does not look up holidays or account for individual work schedules. For plans that depend on official business calendars, you should check the relevant calendar separately.
The Date Difference Calculator uses calendar dates rather than exact times. This avoids unexpected differences caused by time zones or daylight saving changes, but it also means the tool does not calculate hours or minutes between events. If the end date is earlier than the start date, the calculator reverses their chronological order for the calculation and explains what happened. This produces an absolute difference instead of a negative number. The calendar breakdown follows a consistent completed month method, which may differ from other calculators that borrow days directly from neighboring months. The tool is intended for general planning and reference, not for interpreting official deadlines or requirements that may use different counting rules. Your dates remain in your browser, and you can copy a plain text summary without creating an account or uploading any information.
Frequently asked questions
The calculator compares the two calendar dates and counts the days between them. By default, it includes the earlier date and excludes the later date. It also shows completed calendar years and months followed by the remaining days. Actual month lengths and leap years are included in the calculation rather than treating every month as the same length.
Selecting Include the end date counts both calendar dates. This adds one day to the default total and also updates the calendar breakdown, business days, and weekend days. For example, January 1 through January 10 has a default difference of 9 days, while inclusive counting gives 10 days. If the dates were entered in reverse order, the calculator uses chronological order before applying the same rule.
Business days are counted as Monday through Friday. Saturday and Sunday are counted as weekend days. The totals follow the same date range and inclusive counting option used for the main result. Public holidays, local holidays, and personal days off are not excluded, so the business day count is a general estimate rather than a complete work schedule.
The calculator automatically places the dates in chronological order and shows the absolute difference, so the result never becomes negative. It also displays a notice explaining that the entered end date comes before the start date. You can use the Swap button to exchange the input dates if you prefer to see them in chronological order.
No. Your dates and calculation results are processed locally in your browser. They are not uploaded to JoliTools or saved in an account or database. If you choose Copy results, a plain text summary is copied to your device clipboard. Closing or refreshing the page clears the current calculation.
Related tools
More free tools you might find useful.
Age Calculator
Calculate your exact age and find your next birthday.
Working Days Calculator
Count weekdays between dates and estimate your working schedule.
Add or Subtract Days
Add or subtract days from any date and find the resulting calendar day.
Mortgage Calculator
Estimate your monthly mortgage payment and total loan cost.
Part of Calculators on JoliTools, free tools, no sign-up.