Date Duration Calculator – Days Between Two Dates and Time Between Times
Count the days, weeks, months, and business days between two dates, or add and subtract time spans across hours, minutes and seconds.
Calculator InputsFormula v1.0
Used only in duration mode; negatives subtract.
Calendar days = (end date − start date) ÷ 86,400,000 ms; business days count Monday-Friday between the two dates
Calendar days between the dates
• Business days exclude Saturdays and Sundays only; subtract public holidays that fall inside the range.
Step-by-Step Mathematical Working
Formula and method
Calendar days = (end date − start date) ÷ 86,400,000 ms; business days count Monday-Friday between the two datesCalendar days count every date; business days skip Saturdays and Sundays but do not remove public holidays, which vary by country and year. Always check the holiday calendar for your jurisdiction before finalising a deadline.
Variables
- Start date
- The earlier date in the range
- End date
- The later date in the range
- Inclusive
- Whether the start and end dates themselves are counted
Worked example
From 1 January 2026 to 8 January 2026 is 7 calendar days and 5 business days, because 3 and 4 January fall on a weekend.
Who this calculator is for
Project planners, event organizers, HR and payroll teams, students counting days to an exam, and anyone reconciling invoice periods.
Complete guide to the date duration calculator – days between two dates and time between times
Every figure below comes from this calculator itself. The method is Calendar days = (end date − start date) ÷ 86,400,000 ms; business days count Monday-Friday between the two dates, applied to the tool's default inputs and then stress-tested one input at a time.
What the Date Duration Calculator – Days Between Two Dates and Time Between Times works out
Date Duration Calculator – Days Between Two Dates and Time Between Times answers one specific question: Count the days, weeks, months, and business days between two dates, or add and subtract time spans across hours, minutes and seconds. It is written for project planners, event organizers, HR and payroll teams, students counting days to an exam, and anyone reconciling invoice periods.
The method is Calendar days = (end date − start date) ÷ 86,400,000 ms; business days count Monday-Friday between the two dates. The inputs are What do you want to calculate?, Start date, End date, Days to add or subtract (days), Hours to add or subtract (hours), Minutes to add or subtract (minutes), Endpoint handling, Start time (hour, 0–23) (h), Start time (minutes) (min), End time (hour, 0–23) (h), End time (minutes) (min). With the default values - What do you want to calculate? = between, Start date = 2026-01-01, End date = 2026-01-08, Days to add or subtract = 30 days, Hours to add or subtract = 0 hours, Minutes to add or subtract = 0 minutes, Endpoint handling = exclusive, Start time (hour, 0–23) = 9 h, Start time (minutes) = 0 min, End time (hour, 0–23) = 17 h, End time (minutes) = 30 min - the result is Calendar days between the dates: 7 days. Changing Days to add or subtract alone leaves the headline result at 7 days, which tells you that another input is driving the answer. Confirm which quantity actually varies in your scenario before adjusting anything else.
Reading the output line by line
Alongside 7 days this method reports 8 supporting quantities: Business days (Mon–Fri): 5 days; Weekend days: 2 days; Weeks and days: 1 week 0 days; Calendar difference: 0 years, 0 months, 7 days. Reading them together shows which part of the calculation is doing the work.
The arithmetic as executed: Subtract the earlier date from the later one: 7 whole days elapsed. Both endpoints are excluded, so the count is the elapsed whole days. Count Monday-Friday dates in the range: 5 business days. Public holidays are not removed; subtract them manually for contractual deadlines. Reproduce the steps once by hand; if your numbers match, the model and your inputs are consistent.
How to interpret the answer
Calendar days count every date; business days skip Saturdays and Sundays but do not remove public holidays, which vary by country and year. Always check the holiday calendar for your jurisdiction before finalising a deadline.
Read it as one scenario: 7 days with business days (mon–fri) at 5 days holds only for the inputs shown. Change whichever input you are genuinely unsure about and read the pair of figures together.
Common mistakes to avoid
Assuming business days exclude public holidays: they do not unless you remove them manually. Counting inclusively by accident, which adds a day at each end of the range. Comparing a date at midnight with one at 23:00 and losing a whole day to time-zone drift.
Before relying on the figure, re-read What do you want to calculate?, Start date, End date, Days to add or subtract (days), Hours to add or subtract (hours), Minutes to add or subtract (minutes), Endpoint handling, Start time (hour, 0–23) (h), Start time (minutes) (min), End time (hour, 0–23) (h), End time (minutes) (min) and confirm each entry matches its label, including whether a quantity is entered in the unit the label names. Adjust Days to add or subtract on its own and watch whether the result behaves as the method says it should - here 7 days should shift smoothly rather than jump.
Limitations and responsible use
Does not model public holidays or non-standard working weeks. Time-zone offsets are ignored because dates are compared in UTC.
Each number above is bounded by the limits just described, so treat it as a conditional result. Every figure here can be reproduced by hand from the formula shown, but no calculation can confirm that the inputs match your actual circumstances. For a consequential decision, check the current term and its conditions against a primary source, since they are revised.
Frequently asked questions
Does the calculator count the start date?
By default no. The count is end − start, so 1 January to 2 January is one calendar day. Use the inclusive option to add both endpoints.
How are business days counted?
Every Monday to Friday in the range is counted from the day after the start date up to and including the end date.
Can I add time as well as dates?
Yes. Use the duration mode to add or subtract a span of days, hours, and minutes and see the resulting date and time.
Related searches for this calculator
People also look for date calculator, days between dates, business days calculator, how many days until and time duration calculator. Everything on this page is calculated in your browser from the formula shown above.
Related Conversion Calculators
Explore another calculator in this subject.
Date Difference Calculator
Calculate elapsed days and weeks between two calendar dates entered in ISO format.
Age Calculator – Exact Age in Years, Months, Weeks, Days and Hours
Calculate your exact age between two dates in years, months, days, and total units, with the next birthday countdown and the weekday you were born on.
Time Duration Calculator
Add hours and minutes or estimate total elapsed minutes and decimal hours.