How to calculate days between two dates
Dates are converted to a continuous count of days, and the earlier count is subtracted from the later one. The calculator counts the days from the start date up to, but not including, the end date. For example, from 1 January to 31 January is 30 days. Tick the "include end date" box in your own head by adding 1 if you want both days counted, as in a hotel stay or leave request.
Days = End date − Start date Weeks = Days ÷ 7 Weekdays = days that fall Monday to FridayExample: 1 January 2026 to 1 December 2026 is 334 days, which is 47 weeks and 5 days, and contains 238 weekdays.
Years, months and days
Besides the raw day count, the result is also shown as calendar years, months and days. The calculator counts whole months from the start date, clamping to the end of shorter months (for example, 31 January plus one month is the last day of February), and shows the leftover days.
Common uses
- Project deadlines and sprint planning.
- Pregnancy, notice periods, warranties and loan terms.
- Counting down to events, exams and holidays.
- Working out leave and travel durations.
Adding and subtracting days
Use the second tool to find a future or past date. Adding 90 days to 1 December 2026 gives 1 March 2027. The calculator handles month lengths and leap years automatically, and tells you which weekday the result falls on.
Complete guide to the Date Calculator
How to use the Date Calculator, step by step
- Enter a start date and an end date.
- Read the difference in years, months and days, plus total days and weekdays.
- In the second tool, enter a date, a number of days and whether to add or subtract.
- Read the resulting date and the day of the week.
Common mistakes to avoid
- Forgetting to add 1 when both the first and last day should count.
- Assuming holidays are excluded from weekdays.
- Assuming your weekend is Saturday and Sunday in every country.
Key terms explained
- Calendar days
- Every day, including weekends and holidays.
- Weekdays
- Monday to Friday.
- Inclusive count
- A count that includes both the first and the last date.
- Exclusive count
- A count that excludes the end date, which is how this tool works.
Want the full walkthrough? Read our guide: How to Calculate Days Between Two Dates.
Frequently asked questions
How many days are between two dates?
Enter both dates. The calculator shows the exact number of days from the start date up to the end date, plus weeks, months and weekdays.
Does it include the end date?
No. It counts the days between the dates, so 1 to 2 January is 1 day. Add 1 if you need to include both the first and last day.
Does it count working days?
It shows weekdays from Monday to Friday. Public holidays are not removed because they vary by country.
Can the end date be before the start date?
Yes. The calculator swaps them and shows the same absolute difference.
Does it handle leap years?
Yes. It uses real calendar dates, so leap days are counted correctly.
What date is 90 days from today?
Add 90 days to today's date; the calculator handles month lengths and leap years.
How many weeks until a date?
Divide the number of days between today and that date by 7. For example, 45 days is 6 weeks and 3 days. The date calculator shows the days, weeks and months between any two dates.
How do I calculate a retirement date from date of birth?
Add the retirement age to the birth date, for example 60 years; confirm your employer's rule.