Calculate Days Between Dates: Simple Date Difference Guide
Learn how to calculate days between two dates, days until an event, business days, and inclusive vs exclusive date counting.
Reviewed against our editorial policy and updated when formulas, thresholds, or guidance materially change. Learn more about AYCalculator.
Searching calculate days usually means you want the number of days between two dates, or the number of days until a specific event. Day calculations sound simple but they have real gotchas โ month lengths vary, counting methods differ, leap years add a day, and business days skip weekends.
Use our Days Calculator for instant and error-free date differences.
Basic Day Difference Formula
The simplest definition: subtract the earlier date from the later date.
Days between = End date โ Start date
For example, May 1 to May 15:
End โ Start = May 15 โ May 1 = 14 days between the dates
Inclusive vs Exclusive Counting
This is the most common source of confusion in day calculations. The answer to โhow many days from May 1 to May 10?โ can legitimately be 9 or 10 depending on which method is used.
| Method | Rule | May 1 to May 10 |
|---|---|---|
| Exclusive | Count the gap between dates | 9 days |
| Inclusive | Count both the start and end dates | 10 days |
| Inclusive start only | Count start, not end | 9 days |
| Inclusive end only | Count end, not start | 9 days |
When to use inclusive: Event durations, hospital stays, parking fees, subscription periods that start and end on specific dates (โ3 days including the first dayโ).
When to use exclusive: Mathematical intervals, age calculations, interest accrual (how many days has money been sitting?), shipping transit time.
Always clarify the counting rule when the exact number matters.
Days Until an Event
To calculate how many days until a birthday, trip, deadline, payment, or anniversary:
Days until event = Event date โ Todayโs date
Example: Today is May 2, 2026. A trip is planned for June 20, 2026.
May has 31 days: 31 โ 2 = 29 days left in May
June: 20 days
Total: 29 + 20 = 49 days until the trip
Days Since an Event (Past)
To find how many days have passed since a past date:
Days since = Today โ Past date
Example: An item was purchased on January 15, 2026, and today is May 2, 2026.
- January 15 to January 31 = 16 days
- February = 28 days
- March = 31 days
- April = 30 days
- May 1 to May 2 = 1 day
Total = 16 + 28 + 31 + 30 + 1 = 106 days since purchase
This is useful for warranty tracking, return windows, and subscription timelines.
Counting Business Days
Business day calculations skip Saturdays and Sundays (and sometimes holidays). They are used in:
- Shipping and delivery commitments (โarrives in 5โ7 business daysโ)
- Legal and contractual deadlines (โrespond within 10 business daysโ)
- Payroll processing timelines
- Mortgage and real estate closing periods
- Invoice payment terms (โnet 30 business daysโ)
Example: 10 business days from Friday, May 1, 2026
| Day | Count |
|---|---|
| Mon May 4 | 1 |
| Tue May 5 | 2 |
| Wed May 6 | 3 |
| Thu May 7 | 4 |
| Fri May 8 | 5 |
| Mon May 11 | 6 |
| Tue May 12 | 7 |
| Wed May 13 | 8 |
| Thu May 14 | 9 |
| Fri May 15 | 10 |
10 business days = May 15, 2026
If holidays are excluded, the count shifts further. Holiday calendars vary by country, state, and industry, so a calculator configured for your jurisdiction is more reliable than manual counting.
How Month Lengths Affect Day Counts
| Month | Days | Notes |
|---|---|---|
| January | 31 | |
| February | 28 | 29 in leap years |
| March | 31 | |
| April | 30 | |
| May | 31 | |
| June | 30 | |
| July | 31 | |
| August | 31 | |
| September | 30 | |
| October | 31 | |
| November | 30 | |
| December | 31 |
A full year has 365 days (366 in a leap year). Leap years occur every 4 years (with exceptions for century years not divisible by 400).
Common Day Calculation Use Cases
| Need | Example |
|---|---|
| Warranty expiration | Purchase date + 365 days |
| Passport validity | Issue date + validity (often 10 years) |
| Return window | Purchase date + 30 days |
| Pregnancy tracking | LMP + 280 days |
| Age in days | Birthdate to today |
| Contract end date | Start date + term in days |
| Trial period | Start date + 14 or 30 days |
Converting Days to Weeks, Months, and Years
Days to weeks: Divide by 7
Days to approximate months: Divide by 30.44 (average month length)
Days to years: Divide by 365 (or 365.25 for a more precise average)
Example: 180 days =
- 180 รท 7 = 25.7 weeks
- 180 รท 30.44 = 5.9 months
- 180 รท 365 = 0.49 years (about half a year)
What Day of the Week?
When calculating future or past dates, you may also want to know the day of the week. A calculator handles this automatically. For manual calculation, you need to track how many complete weeks fall in the interval, then count the remainder.
Example: What day of the week is 45 days from Thursday, May 2?
45 รท 7 = 6 full weeks + 3 days
Thursday + 3 days = Sunday
45 days from Thursday May 2 = Sunday, June 16, 2026
Common Day Calculation Mistakes
Off-by-one errors โ the most common error. Not knowing whether to count the first day, the last day, or both.
Ignoring leap years โ February 29 adds an extra day in leap years; this matters for year-long calculations.
Mixing calendar days and business days โ a โ30-day return windowโ and a โ30 business-day response windowโ are very different.
Assuming months are 30 days โ month lengths vary from 28 to 31. Even small errors compound over multiple months.
The Bottom Line
To calculate days between two dates, choose the start and end dates, decide on inclusive or exclusive counting, and handle month lengths and leap years correctly. For business-day calculations, skip weekends and applicable holidays.
Use the Days Calculator to avoid manual counting errors, especially for calculations crossing multiple months or requiring business-day exclusions.
How to Calculate: Step-by-Step Guide
Choose start date
Select the first date in the range.
Choose end date
Select the final date or event date.
Decide counting method
Choose whether to include the start date, the end date, both, or neither.