About the Date Difference Calculator
Find out exactly how many days there are between two dates – for deadlines, project planning, pregnancy weeks, trips, contracts or a countdown to a holiday. The calculator shows the total days, the difference in years, months and days, weeks plus days, weekdays (Monday to Friday) and hours. A second calculator adds or subtracts days, weeks, months or years from any date.
Like every tool on this site, it runs entirely in your web browser using JavaScript. Your files and text are never uploaded to a server, which makes it fast, free and private.
How to use the Date Difference Calculator
- Pick the start date and the end date.
- Choose whether the end date should be included.
- Click Calculate difference to see days, weeks, months and weekdays.
- Use the second form to add or subtract time from a date.
Should I include the end date?
By default the calculator counts the days from the start date up to the end date, which is how 'days until' and 'days since' are usually counted. If you are counting days of an event, such as a holiday from Monday to Friday, include the end date to get 5 days instead of 4.
Weekdays and business days
The weekday count includes Monday to Friday and skips Saturdays and Sundays. Public holidays differ by country and are not subtracted, so remove them yourself for an exact business-day count.
Frequently asked questions
How many days are in a year?
365 days, or 366 in a leap year. Leap years are divisible by 4, except century years that aren't divisible by 400 – so 2000 and 2028 are leap years but 2100 is not.
How are months counted?
Months are counted by calendar date: from 15 January to 15 March is 2 months, regardless of how many days each month has.
Does it handle daylight saving time?
Yes. Dates are compared as whole calendar days, so clock changes don't create off-by-one errors.
Can I calculate a date 90 days from today?
Yes. In the second calculator, keep today's date, choose Add, enter 90 days and click Calculate date.
Guides and how-tos
- How to Calculate Your GPA: Semester, Cumulative and Target GPA Explained – Calculate your GPA step by step: convert letter grades or percentages to grade points, weight them by credits, and find your cumulative GPA and target grades.