Days Between Dates
Count the days, weeks, months and working days between two dates, or add and subtract days from any date.
Runs 100% in your browser
Result: -

How many days until a deadline, a trip or an exam? How long ago did a project start? How many working days are in a notice period? This free Days Between Dates calculator answers all of these: it counts total days, weeks, hours and calendar months between two dates, counts working days using whichever weekend applies to you, and adds or subtracts days, weeks, months or years from any date.
How to count the days between two dates
- Pick a start date and an end date. The start is today by default; press Start = today to reset it.
- Decide whether to include the end date. Tick it to count both the first and last day, as you would for a hotel stay counted in days or a leave request.
- Choose your weekend. Select Saturday and Sunday, Friday and Saturday, a single day or none, so the working-day count matches where you live and work.
- Read the results. You get total days, the breakdown in years, months and days, weeks, working days, hours and minutes.
Counting rules explained
By default the calculator counts the number of midnights between two dates, which is how most software, spreadsheets and contracts measure duration: from 1 March to 2 March is one day. If you want every calendar day in the range, including the last one, tick Include end date. For example, a conference from 10 to 12 June lasts three days inclusive, but the difference between the dates is two.
The calculator works in whole calendar days in Coordinated Universal Time, so daylight saving changes cannot add or remove an hour and make a day disappear. The hours and minutes figures are therefore simply days multiplied by 24 and 1,440; across a daylight saving change your local clock time may differ by an hour.
Years, months and days
Months have 28 to 31 days, so "how many months" needs a rule. This tool counts whole calendar months first, then the remaining days. If a month does not have the starting day (for example the 31st), it uses the last day of that month, the convention followed by most date libraries and by spreadsheet functions such as EDATE. So 31 January to 1 March 2020 is 1 month and 1 day: one month after 31 January is 29 February in a leap year, plus one day.
Working days and weekends around the world
There is no single global weekend. Most countries rest on Saturday and Sunday, while several countries in the Middle East and North Africa use Friday and Saturday, and a few places have a one-day weekend. That is why the working-day count lets you choose. Public holidays vary even more by country, region and year, so the tool does not subtract them automatically: count the holidays that fall inside your range and subtract them yourself. Spreadsheet users will recognise this logic from Excel and Google Sheets functions such as NETWORKDAYS.INTL, which accept a custom weekend pattern and an optional holiday list.
Adding and subtracting dates
The lower panel answers questions like "what date is 90 days from today?" or "what was the date six months ago?". Days and weeks are added exactly. Months and years follow the calendar: adding one month to 31 January gives the last day of February, and adding a year to 29 February gives 28 February in a common year. The result shows the weekday too, which is handy for planning deliveries, return windows, warranty periods and payment terms such as "net 30".
Leap years and the calendar
The calculator uses the Gregorian calendar, the international civil standard defined for data exchange in ISO 8601. A year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400. So 2000 was a leap year but 2100 will not be. That is why a typical year has 365 days, a leap year 366, and the average Gregorian year is 365.2425 days. If you work with another calendar for religious or cultural dates, convert those dates to Gregorian first.
Everyday uses
- Countdowns to holidays, weddings, exams, product launches or big tournaments.
- Work and HR: notice periods, probation, contract length and working days in a month.
- Finance: days between invoice and payment, or the exact number of days used in simple-interest calculations.
- Health: days since starting a habit, medication courses or a fitness plan.
- Travel: visa stays and the number of nights versus days of a trip.
Frequently asked questions
Does the calculator include the start and end dates?
By default it counts the difference, which includes the start date but not the end date. Tick Include end date to count both.
How are working days calculated?
The tool counts every day in the range except the weekend days you selected. It does not know public holidays, so subtract those yourself.
How many days are in a year?
365 in a common year and 366 in a leap year. Leap years are divisible by 4, except century years not divisible by 400.
Can I count days to a date in the past?
Yes. If the end date is before the start date, the tool shows the absolute difference and tells you the order is reversed.
Why do months and days not match total days divided by 30?
Calendar months have different lengths, so the breakdown follows the real calendar rather than an average of 30 days.
Is my data stored?
No. All calculations happen in your browser.
Sources
- ISO 8601: Date and time format
- Microsoft Support: NETWORKDAYS.INTL function
- Royal Museums Greenwich: What is a leap year?
- MDN: Date.UTC()
Related tools
By Abdullah Al-Janoubi · WorldScope Tools · Updated October 2026

Comments