All tools › Everyday Calculators › Date & Time
Count the days between two dates, or add and subtract days, weeks and months from any date.
What the date calculator does
This date calculator has two jobs. It counts the days between two dates, and it finds the date that falls a set number of days, weeks or months before or after a start date.
Use it for deadlines (“90 days from the invoice”), notice periods, trip planning, countdowns to an event, or checking how many working days sit between two dates. Every result comes with its weekday.
How to use the date calculator
- Under What do you want to do? choose Count days between two dates, Add days to a date or Subtract days from a date.
- Pick the Start date.
- To count days, pick the End date (for counting days). If the end date is earlier than the start date, the tool swaps them and still gives a positive count.
- To add or subtract, fill in Days to add or subtract, Weeks to add or subtract and Months to add or subtract. Leave any of them at 0 if you do not need it.
How the days are counted
The day count is the end date minus the start date. The start date is day zero, so the count does not include the end date itself.
days between = end date – start date
From that one number the calculator builds the other rows:
- In weeks: days divided by 7, remainder shown as days.
- In years, months and days: the two calendar dates compared part by part, borrowing from the month before the end date when the day part would be negative.
- Weekdays: every day from the start date up to, but not including, the end date that is a Monday to Friday. Each full week contributes 5; the leftover days are checked one by one.
- Weekend days: the day count minus the weekdays.
- Counting both the first and last day: the day count plus 1.
How adding and subtracting works
new date = (start date +/- months) +/- (days + 7 x weeks)
Months are applied first. The day of the month stays the same where it can; if the target month is shorter, the date moves to that month’s last day. Then the days and weeks are applied as a plain day count. Entries are rounded to whole numbers.
Worked examples
Counting. Inputs used: Count days between two dates, Start date March 1, 2030, End date July 4, 2030.
| Result | Value |
|---|---|
| Days between the dates | 125 days |
| From | Friday, March 1, 2030 |
| To | Thursday, July 4, 2030 |
| In years, months and days | 0 years, 4 months, 3 days |
| In weeks | 17 weeks and 6 days |
| Weekdays (Monday to Friday, end date not counted) | 89 |
| Weekend days | 36 |
| Counting both the first and last day | 126 days |
Adding. Inputs used: Add days to a date, Start date January 31, 2030, Months 1, Weeks 2, Days 10. The result is Sunday, March 24, 2030, which is 52 days from the start date. Adding one month to January 31 gives February 28, the last day of that February; 2 weeks and 10 days make 24 more days, which lands on March 24.
A simpler one: 90 days after March 1, 2030 is Thursday, May 30, 2030.
Which count should you use?
- “Within 30 days of” a date usually means the plain day count: use Add days.
- A stay, rental or event that includes both its first and last day uses the inclusive row, which is one more than the plain count.
- “One month from” is a calendar month, not 30 days. Use the months field for it.
- “Business days” are close to the Weekdays row, minus any public holidays, which you have to take off yourself.
What the calculator does not cover
- Public holidays are not known to the tool. The weekday count is Monday to Friday only, in every week.
- Days added or subtracted are calendar days, not working days.
- Times of day and time zones are ignored. Dates are whole days in the Gregorian calendar.
- Legal and contract deadlines can have their own counting rules, such as moving a deadline that falls on a weekend.
Frequently asked questions
How do I add years to a date?
Use the months field: 12 months for each year. Adding 24 months moves the date forward two years.
Does it handle leap years?
Yes. The tool works on real calendar dates, so February 29 is counted in leap years and skipped in other years.
What happens if I add a month to the 31st?
If the next month has no 31st, the result is the last day of that month. One month after January 31 is the last day of February.
Can I count backward from a deadline?
Yes. Choose Subtract days from a date, enter the deadline as the start date and type how many days, weeks or months to go back.
Is there a limit on how far I can go?
Yes. You can move up to 100,000 days, 20,000 weeks or 5,000 months in one calculation.
Related calculators
- Age Calculator – exact age in years, months and days from a date of birth.
- Time Duration Calculator – hours and minutes between two clock times.
- Due Date Calculator – a date estimate built for pregnancy.
- Unit Converter – turn days into weeks, hours or other time units.

