Date Difference Calculator
Calculate the time between two dates in days, weeks, months, and years.
Select your dates
Choose a start and end date. Your result updates instantly.
By default the starting day is not counted. Dates stay in your browser.
Weeks and days are the remainder after full years and months.
How to use this calculator
- 1
Select a start date. This can be in the past or future.
- 2
Select an end date. The dates can be in either order.
- 3
Read the result. See total days, weeks, and a calendar breakdown. Tick “Include the end date” to count both days.
Example
From October 20 to December 1, 2026 there are 42 days — exactly 6 weeks. The calendar breakdown is 1 month, 1 week and 4 days.
With the end date included, the same range is 43 days.
How it is calculated
Each date is converted to a day number, and the answer is the difference between the two numbers. Leap days and month lengths are therefore exact, and the result does not depend on your time zone or on daylight saving changes, because no clock times are involved.
The starting day is not counted: October 20 to October 21 is 1 day. Tick “Include the end date” when both days should count, for example a hotel booking covering every night and morning, or a project that runs on both its first and last day.
The calendar breakdown takes whole months from the earlier date first, then counts the remaining days. If the start day does not exist in a month, its last day is used, so January 31 plus one month is February 28 (or 29 in a leap year).
Counting the start and end day
The most common surprise with date differences is the “fencepost” question: do you count both ends? By default the tool counts the nights between two dates, which is what “from the 9th to the 13th is 4 days” means. Tick Include the end date when both days count — a hotel stay counts nights, a conference counts days.
| Range | Description | Days between | Both days counted |
|---|---|---|---|
| Nov 9, 2026 → Nov 13, 2026 | Monday to Friday, same week | 4 | 5 |
| Dec 24, 2026 → Dec 26, 2026 | Christmas Eve to Boxing Day | 2 | 3 |
| Jan 1, 2026 → Dec 31, 2026 | First to last day of 2026 | 364 | 365 |
| Feb 28, 2028 → Mar 1, 2028 | Across a leap day (2028) | 2 | 3 |
| Feb 28, 2026 → Mar 1, 2026 | The same dates in 2026 | 1 | 2 |
- Use “between” for notice periods, countdowns, age, loan terms and “how long until”.
- Include both days for event durations, leave requests, sprints and anything where day one is a full day.
- State the rule in contracts: “10 days from receipt” and “10 days including receipt” differ by one.
Month lengths and quarters
Months are the reason “30 days” and “1 month” are not the same. A calendar year has seven 31-day months, four 30-day months and one February of 28 or 29 days.
Quarters are not equal either: Q1 has 90 days (91 in a leap year), Q2 has 91, and Q3 and Q4 have 92 each. Half-years are 181 or 182 days (first half) and 184 days (second half).
| Quarter | Starts | Ends | Days |
|---|---|---|---|
| Q1 2026 | Jan 1, 2026 | Mar 31, 2026 | 90 |
| Q2 2026 | Apr 1, 2026 | Jun 30, 2026 | 91 |
| Q3 2026 | Jul 1, 2026 | Sep 30, 2026 | 92 |
| Q4 2026 | Oct 1, 2026 | Dec 31, 2026 | 92 |
| Q1 2027 | Jan 1, 2027 | Mar 31, 2027 | 90 |
| Q2 2027 | Apr 1, 2027 | Jun 30, 2027 | 91 |
| Q3 2027 | Jul 1, 2027 | Sep 30, 2027 | 92 |
| Q4 2027 | Oct 1, 2027 | Dec 31, 2027 | 92 |
Intervals people often look up
| Interval | Days | Note |
|---|---|---|
| 1 week | 7 | Always 7 days |
| 30 days | 30 | Not the same as one calendar month |
| 90 days | 90 | About one quarter, but a quarter is 90–92 days |
| 6 months | 181–184 | Depends on which months are included |
| 1 year | 365 or 366 | 366 when the span includes a February 29 |
| 1,000 days | 1,000 | About 2 years and 9 months (2.74 years) |
| 10,000 days | 10,000 | About 27 years and 4½ months |
| 1 decade | 3,652 or 3,653 | Two or three leap days |
Free downloads
Plain files you can keep, print or open in a spreadsheet. They are the same figures used on this page.
Questions
Does the order of the dates matter?
No. If the end date is earlier, the calculator swaps them and tells you so; the number of days is always positive.
What is the difference between this and the Business Days Calculator?
This tool counts every calendar day. The Business Days Calculator counts only the weekdays you choose as working days.
How do I count only working days between two dates?
Use the Business Days Calculator, which lets you choose working weekdays and exclude holidays. Date Difference counts every calendar day.
Why does “1 month” sometimes show as 28, 30 or 31 days?
The calendar breakdown counts whole months by calendar date — January 15 to February 15 is one month, whatever the number of days in it.