How to count the days between two dates
- Open the Days between dates tab and pick a start and an end date. Today is filled in for you.
- Read the total number of days, plus the same span as years/months/days, weeks, business days, hours, minutes and seconds.
- Tick Include end date to count both the first and last day: useful for holidays, rentals and “how many days is this event”.
Example: from January 15 to October 26, 2026 is 284 days, which is 9 months, 11 days, or 40 weeks and 4 days, of which 202 are weekdays.
How to add or subtract days from a date
Switch to Add or subtract, choose a start date, an amount and a unit. Ninety days after October 26, 2026 is Sunday, January 24, 2027. Use it for deadlines, notice periods, due dates, warranty and return windows, or “what was the date 6 months ago”.
How months and leap years are handled
- End of month: adding a month keeps the same day number when it exists, otherwise it uses the last day of the month. January 31 + 1 month = 2026-02-28, not March 3.
- Leap days: February 29, 2024 + 1 year = 2025-02-28.
- Month counting: a month is only counted once the end date reaches the same day number. January 31 to February 28 is 28 days, not one month.
- Time zones don’t matter: dates are compared as calendar days, so daylight-saving changes never add or lose an hour.
Business days
Business days are Monday to Friday. When adding business days, weekends are skipped: one business day after Friday, October 30, 2026 is Monday, November 2, 2026. Between two dates, weekdays are counted from the start date up to, but not including, the end date (or including it if you tick the box). Public holidays differ by country and aren’t subtracted, remove them yourself if your deadline excludes them.
Quick reference: dates after January 1, 2027
How the units behave, starting from Friday, January 1, 2027:
| Add | Result |
|---|---|
| +7 days | Friday, January 8, 2027 |
| +14 days | Friday, January 15, 2027 |
| +30 days | Sunday, January 31, 2027 |
| +60 days | Tuesday, March 2, 2027 |
| +90 days | Thursday, April 1, 2027 |
| +180 days | Wednesday, June 30, 2027 |
| +6 months | Thursday, July 1, 2027 |
| +1 years | Saturday, January 1, 2028 |
| +10 business days | Friday, January 15, 2027 |
| +30 business days | Friday, February 12, 2027 |
Notice that +6 months and +180 days land on different dates: months follow the calendar, days are exact counts. Contracts and notice periods usually say which one they mean, “30 days” and “one month” are not the same.
Calculating age or time since an event
Put the birth date (or event date) as the start and today as the end. Someone born on May 17, 1990 is 36 years, 5 months, 9 days old on October 26, 2026, 13,311 days, or about 1,902 weeks. The years/months/days figure follows the same rule people use for birthdays: a year isn’t complete until the birthday has passed.
Months from a date: worked examples
Dates below are written the way the date picker reads them: year, month, day. In US format, 11/2/26 means November 2, 2026. Choose Add or subtract, enter the start date, pick the amount and unit.
| Question | Result |
|---|---|
| 6 months from November 2, 2026 | Sunday, May 2, 2027 |
| 180 days from November 2, 2026 | Saturday, May 1, 2027 |
| 12 weeks (84 days) from November 2, 2026 | Monday, January 25, 2027 |
| 90 days from November 2, 2026 | Sunday, January 31, 2027 |
| 30 days from October 27, 2026 | Thursday, November 26, 2026 |
| 90 days before July 1, 2027 | Friday, April 2, 2027 |
| 60 days before February 12, 2027 | Monday, December 14, 2026 |
Adding months keeps the day of the month, so 6 months from November 2 is May 2. Adding days counts exact 24-hour calendar days, so 180 days from the same date is one day earlier, May 1.
Is 180 days the same as 6 months?
Not exactly. Six months span 181 to 184 days depending on which months they cover: January 1 to July 1, 2026 is 181 days, July 1, 2026 to January 1, 2027 is 184 days, and November 2, 2026 to May 2, 2027 is 181 days. Use months when a form or contract says "6 months" and days when it says "180 days". When a document does not say, ask or assume the more conservative reading for deadlines.
End-of-month dates: January 31 plus one month
If the target month is shorter, the result is the last day of that month. It never spills into the next month.
| Start | Add | Result |
|---|---|---|
| January 31, 2026 | 1 month | February 28, 2026 |
| January 31, 2024 | 1 month | February 29, 2024 (leap year) |
| March 31, 2026 | 1 month | April 30, 2026 |
| August 31, 2026 | 6 months | February 28, 2027 |
| February 29, 2024 | 1 year | February 28, 2025 |
Because the rule clamps to the last day, adding months in steps can give a different answer from adding them at once: January 31 plus 1 month is February 28, and plus 1 more month is March 28, while January 31 plus 2 months is March 31. Always add the total number of months to the original date.
Days between two dates: the counting rule
The count is the number of midnights between the two dates, so November 2, 2026 to May 2, 2027 is 181 days (tick Include end date to count both ends and get 182). Weeks are the total divided by 7 with the remainder shown in days: 181 days is 25 weeks and 6 days. Business days count Monday to Friday only and do not remove public holidays.
Counting days in a spreadsheet or code
Excel / Google Sheets: =B1-A1 (days between)
=NETWORKDAYS(A1,B1) (weekdays, both ends included)
=EDATE(A1,6) (add 6 months)
JavaScript: const days = Math.round((Date.UTC(2026,9,26) - Date.UTC(2026,0,15)) / 86400000);
Python: (date(2026,10,26) - date(2026,1,15)).days FAQ
Does the calculator count the start date?
The total is the number of days you pass through: from Monday to Tuesday is 1 day. Tick Include end date to count both days (Monday to Tuesday becomes 2).
How many days are left until a date?
Leave the start date as today and set the end date to your event. If the end date is in the past, the result says so.
How many weeks is 90 days?
12 weeks and 6 days. The Weeks line shows this split for any range.
What is 6 months from a date?
Add 6 to the month and keep the day: 6 months from November 2, 2026 is May 2, 2027. If the day does not exist in that month, the last day of the month is used, so 6 months from August 31, 2026 is February 28, 2027.
Is 180 days exactly 6 months?
No. Six calendar months are 181 to 184 days long depending on the start date, so 180 days can fall one to four days short of the 6 months date.
What is 90 days from a date?
Enter the date, choose Add, 90 and Days. For example, 90 days from November 2, 2026 is January 31, 2027 (12 weeks and 6 days). To go backwards, choose Subtract: 90 days before July 1, 2027 is April 2, 2027.
What happens when you add a month to January 31?
You get the last day of February: February 28 in a common year and February 29 in a leap year such as 2024.
Can I go back in time?
Yes, choose Subtract, or enter an end date before the start date.