Free tool
Days Between Dates Calculator
Count calendar days, weeks and business days between two dates, or add and subtract days from a date. List your own holidays to skip.
Days between two dates
- Days between the dates
- –
- In weeks and days
- –
- In years, months and days
- –
- Business days (Mon to Fri, minus holidays)
- –
- Weekend days
- –
- From and to
- –
Working: –
Add or subtract days from a date
- Resulting date
- –
- As YYYY-MM-DD
- –
- Starting from
- –
Holidays to skip in business days (optional)
Used by both calculators on this page. Weekends are always skipped, so a holiday on a Saturday or Sunday changes nothing.
Assumptions and limits
Every figure comes from the numbers you enter. Where a rule of thumb is used, it is labeled as one.
- The start date counts and the end date does not, unless you tick "Include the end date". The business-day count covers the same days.
- Business days are Monday to Friday. Weekends are fixed, and no public holiday calendar is built in: list your own holidays.
- Years, months and days: whole months are added to the start date, using the last day of a shorter month when needed, and the leftover days are counted.
- Adding business days never counts the start date, the same rule as the WORKDAY function in spreadsheets. Zero business days returns the start date.
- Dates are plain calendar dates between the years 1000 and 9999, so time zones and daylight saving time do not affect results. If the end is before the start, the span is shown the same way and flagged.
Runs entirely in your browser. Nothing you type or upload is sent to our servers.
How the date calculation works
Every date is turned into a count of whole days since a fixed starting day, so finding the gap between two dates is a subtraction, and adding days is an addition. Month lengths and leap years are handled by the calendar itself, not by a rule of thumb. Business days are then found by counting the weekdays inside that range and removing any holiday dates you list.
Worked example 1: January 1 to December 25, 2024
- 2024 is a leap year with 366 days. January 1 is day 1 and December 25 is day 360, so the gap is 360 − 1 = 359 days.
- 359 ÷ 7 = 51 weeks with 2 days left over, so 51 weeks and 2 days.
- January 1, 2024 was a Monday. Each full week holds 5 weekdays, so 51 weeks hold 51 × 5 = 255. The last 2 days in the range are a Monday and a Tuesday, so 255 + 2 = 257 business days. December 25 itself is not counted.
The calculator above opens with these dates so you can check it. Tick "Include the end date" to count December 25 as well, which makes 360 calendar days and 258 business days, since December 25, 2024 was a Wednesday.
Worked example 2: a due date 30 days or 10 business days out
An invoice is issued on Friday, March 15, 2024.
- 30 calendar days later: March has 31 days, so March 15 + 16 days = March 31, and 16 + 14 = 30 days lands on April 14, 2024, a Sunday.
- 10 business days later: 2 weeks × 5 business days = 10, so Friday, March 29, 2024. If your office is closed on Monday, March 18, list that date as a holiday and the answer moves one business day to Monday, April 1.
Which count do you need?
- Calendar days suit warranty periods, notice periods and countdowns, when your contract or rule says "days" without qualification.
- Business days suit shipping estimates, payment terms and turnaround times. Check how your contract or carrier defines them, since some treat Saturday as a business day.
- Years, months and days suit anniversaries and durations that people say aloud.
Related tools
Tracking hours as well as days? The Time Card Calculator adds up shifts and pay. To express a gap as a percent of a target, use the Percent Change Calculator. Billing for the days worked? Create a PDF with the Free Invoice Generator.
Frequently asked questions
How do I count the days between two dates?
Subtract the earlier date from the later one. Counting from January 1 to January 8 gives 7 days, because the start date counts and the end date does not. Tick "Include the end date" if you want both ends counted, which makes it 8 days. This tool does the subtraction using calendar dates, so month lengths and leap days are handled for you.
Should the start or end date be counted?
It depends on what you are measuring. For the time elapsed between two moments, count the start and leave out the end. For a span of calendar days such as a hotel stay or a project that runs through the last day, include both. The checkbox switches between the two, and the business-day count follows the same rule.
How are business days counted?
Business days are Monday to Friday, minus any dates you list as holidays. Saturdays and Sundays are always skipped. The range is the same one used for the calendar-day count, so the start date counts if it is a weekday and the end date counts only when you include it. Weekends are fixed at Saturday and Sunday in this tool.
Does it know about public holidays?
No. Holiday calendars differ by country, state and employer, and they change, so none are built in. Paste the dates you need to skip into the holidays box, one per line or separated by commas, and they are removed from the business-day count. Holidays that fall on a weekend are ignored, since weekends are already skipped.
Does it handle leap years?
Yes. It works from real calendar dates, so February 29 exists in 2024 and 2028 but not in 2100, which is not a leap year. Counting from February 28 to March 1 gives 2 days in 2024 and 1 day in 2023. You do not need to adjust for leap years yourself.
How are years, months and days worked out?
Whole months are added to the start date until the next step would pass the end date, then the remaining days are counted. If the start day does not exist in a month, such as the 31st in a 30-day month, it is moved to that month's last day. January 31 to March 1 in 2023 is therefore 1 month and 1 day.
How do I add or subtract days from a date?
Use the second calculator. Enter a start date and a number of days, and use a negative number to go back. Choose calendar days to count every day, or business days to skip weekends and your listed holidays. The start date is never counted as one of the days, so one business day after a Friday is the following Monday.
Do time zones or daylight saving time change the answer?
No. The tool compares calendar dates only, with no clock time, so a daylight saving change or a time zone cannot shift the result by a day. If you need hours and minutes between two moments, use the Time Card Calculator for a shift or work out the elapsed time separately.
Link to this tool
Found it useful? Copy a link for your page, newsletter or documentation.
Get new tools and guides by email
Optional. The tool above works without signing up.
More free tools
Browse all everyday calculators or the full list of free tools.
- Time Card CalculatorAdd up daily and weekly hours with unpaid breaks and overnight shifts, view them as hours:minutes and decimals, and estimate gross pay at your rate.
- GPA CalculatorCalculate semester and cumulative GPA on a 4.0 scale with credits, plus and minus grades and optional honors or AP extra points that you enter.
- Time CalculatorAdd and subtract hours, minutes and seconds, find the time between two clock times, or add a duration to a time of day, in clock and decimal hours.
- Age CalculatorFind exact age in years, months and days, total days lived, and the date and countdown to the next birthday, with leap days and month ends handled.
- Square Footage CalculatorFind the area of a room, L-shape, triangle, circle or trapezoid in square feet, yards and meters, with a waste allowance and a package count.
- Concrete CalculatorEstimate concrete for slabs, footings, columns and steps in cubic yards and meters, with a waste allowance and bag counts from the yield you enter.