How to Calculate Days Between Two Dates — Free Calculator (2026)
By Rui Barreira · Last updated: 18 June 2026
Counting the days between two dates by hand is surprisingly error-prone: month lengths differ, leap years add an extra day in February, and it is easy to mis-count where to start and stop. The date calculator handles all of that instantly and returns the result in multiple formats—total days, weeks, months, working days, and more.
How to Use the Tool
- Select a start date using the date picker.
- Select an end date (it can be before or after the start date).
- The tool immediately displays the difference as total days, total weeks, total months, a combined years + months + days breakdown, working days (Monday–Friday), and weekend days.
How the Calculation Works
The tool subtracts the start date from the end date at the millisecond level, then converts that raw difference into each output unit. Working days are calculated by iterating across the date range and counting only Monday–Friday days. Leap years are accounted for automatically: any February 29 that falls in the range is included in the total, so you never have to remember whether a given year is a leap year.
Use Cases
- Project planning: determine how many working days remain until a deadline, or how long a completed project actually took.
- Contracts and legal deadlines: many agreements specify notice periods or expiry windows in calendar days; verify the exact date with no ambiguity.
- Travel planning: count how many nights a trip spans or how far in advance you need to book.
- Age calculation: find the number of days since a birth date to express age with precision.
- Billing and invoicing: calculate the number of days a service was active for prorated billing.
Frequently Asked Questions
- How many working days are between two dates?
- The tool calculates working days automatically by counting Monday–Friday days within the selected range. Public holidays are not currently excluded, as these vary by country and region, so treat the working-day figure as a business-day baseline before subtracting local holidays.
- Does the calculator count the start date and the end date?
- The tool calculates the difference between the two dates, which counts the end date but not the start date by default (this is the standard calendar convention). For example, from January 1 to January 3 is 2 days. If your context requires counting both endpoints (as some legal frameworks do), add 1 to the result.
- How do I calculate the number of months between two dates?
- The tool shows both a total months figure (rounded down) and a combined years + months + days breakdown. For example, the difference between March 15 and November 3 would be shown as 7 months and 19 days, as well as the total day count. This is more accurate than simply dividing days by 30, since months have different lengths.
Frequently Asked Questions
- How many working days are between two dates?
- The tool calculates working days automatically by counting Monday–Friday days within the selected range. Public holidays are not excluded, as these vary by country and region — treat the working-day figure as a baseline before subtracting local holidays.
- Does the calculator count the start date and the end date?
- The tool calculates the difference between the two dates, which counts the end date but not the start date by default (the standard calendar convention). From January 1 to January 3 is 2 days. Add 1 if your context requires counting both endpoints.
- How do I calculate the number of months between two dates?
- The tool shows both a total months figure (rounded down) and a combined years + months + days breakdown. This is more accurate than dividing days by 30, since months have different lengths.