What is date difference?
Date difference is the quantitative duration between two specific points on the calendar, measurable in days, weeks, or business days. This calculator works out the total count of calendar days and working weekdays between two dates, or projects a future or past date by adding or subtracting days.
How it's calculated
Years and months are counted on the calendar, then the remaining days. Leap years are included automatically.
Assumptions
- Dates are calendar dates; times of day and time zones are not used.
- By default the start date is counted and the end date is not, like counting nights.
Worked example
From 1 January 2026 to 31 January 2026 is 30 days, or 31 days when the end date is included.
Common scenarios
Illustrative worked scenarios in rupees. Rates and growth are assumptions; actual outcomes can differ.
From 1 January 2026 to 31 January 2026, excluding the end date, is 30 days. Try these inputs
From 1 February 2024 to 1 March 2024, including the end date, is 30 days. Try these inputs
From 1 July 2025 to 1 July 2026, excluding the end date, is 365 days. Try these inputs
From 1 January 2020 to 1 January 2026, including the end date, is 2,193 days. Try these inputs
Questions
How do I add days to a date?
Choose the add option, enter the start date and the number of days. Calendar days are counted from the day after the start date, so 90 days after 1 January 2027 is 1 April 2027. Switch to working days to skip Saturdays and Sundays instead; public holidays are not skipped.
Should I include the end date?
Include it when both days count, such as the length of an event or a leave period. Leave it out for durations such as nights of a stay.
What if the end date is before the start date?
The dates are swapped and the time between them is shown.
How many weeks are there between two dates?
Divide the days between them by 7. The result shows whole weeks and the days left over: 1 January to 31 January 2026 is 30 days, or 4 weeks and 2 days.
How do I subtract one date from another?
Enter the earlier date as the start and the later date as the end to get the days between them. To subtract days from a single date, use the add or subtract option instead.
Are weekends and holidays counted?
The main figure counts every calendar day. Weekdays (Monday to Friday) are shown separately; public holidays are not taken out, because they differ by country and region.
Sources
Add it to your site
Show this calculator on your own website or blog, free. It keeps working as we update it.
HaatBeat