Date calculator guide: days between dates, weekdays and adding months
Counting the days between dates is easy to get wrong by one: should the start and end days both count? Adding months is just as slippery, because months have different lengths. This calculator makes both rules explicit.
Use it to count down to an event, work out a notice period, find the date 90 days from now or count the weekdays left in a project. The working shows exactly what was counted.
How to use this tool
- Choose Count days between dates or Add or subtract time.
- To count, pick the start and end dates and decide whether the end date should be included.
- To add or subtract, pick a start date and enter years, months, weeks and days.
- Read the result and its weekday, and check the breakdown in the working.
Key formulas
days = end date − start dateweeks = days ÷ 7, with the remainder in days5 per full week, then the leftover days one by onesame day number in the target month, or its last dayWorked examples
1 January 2026 to 31 December 2026, counting both dates.
- The difference is 364 days; counting both dates adds 1.
- 52 full weeks give 260 weekdays, and the extra day, 31 December 2026, is a Thursday.
Which date is 90 days after 1 March 2026?
- 30 days take you to 31 March.
- April's 30 days take you to 30 April, leaving 30 more days.
- 30 days after 30 April is 30 May.
Add 1 month to 31 January.
- February has no 31st, so the result moves to the last day of February.
From Sunday 29 November 2026 to Friday 25 December 2026.
- The difference is 26 days.
- 3 full weeks give 15 weekdays; the remaining 5 days, Sunday 20 to Thursday 24 December, add 4.
Inclusive or exclusive?
The difference between two dates counts the nights between them: a hotel stay from Monday to Wednesday is 2 nights, but a conference over the same dates runs for 3 days. Notice periods and loan terms usually exclude the start date, while event lengths and rental days often include both. When it matters, check which convention the rule uses, then tick or untick Include the end date.
Business days and holidays
Weekdays here are Monday to Friday. Public holidays differ by country, region and year, so they are not removed automatically; subtract the ones that apply to you. Some contracts define business days differently, for example excluding only bank holidays.
Leap years
A leap year adds 29 February every four years, except century years not divisible by 400: 2000 was a leap year and 2100 will not be. The calculator uses the full Gregorian rules, so spans that cross February are always counted correctly. Turning a day count into years by dividing by 365 drifts by about a day every four years, so use the years, months and days breakdown instead.
Common mistakes to avoid
- Off-by-one errors from not deciding whether both dates count.
- Adding 30 days when a rule says one month.
- Forgetting leap years when counting across February.
- Assuming a weekday count already excludes public holidays.
Frequently asked questions
How do I count the days between two dates?
How many weekdays are between two dates?
What is the date 90 days from today?
What happens if I add a month to 31 January?
Does the calculator include public holidays?
Related tools and guides
Educational content. Results are computed in your browser with standard double-precision arithmetic; double-check anything with legal, financial, medical, or safety consequences. Spotted an error? Tell us and we will correct it.