Date Difference Calculator

Calculate the time between two dates in days, weeks, months, and years.

Date calculator

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.

DATE DIFFERENCE
—days
— weeks · — days
Choose two dates to see the difference.
CALENDAR BREAKDOWN
—years
—months
—weeks
—days

Weeks and days are the remainder after full years and months.

How to use this calculator

  1. 1

    Select a start date. This can be in the past or future.

  2. 2

    Select an end date. The dates can be in either order.

  3. 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.

The same range, counted two ways
RangeDescriptionDays betweenBoth days counted
Nov 9, 2026 → Nov 13, 2026Monday to Friday, same week45
Dec 24, 2026 → Dec 26, 2026Christmas Eve to Boxing Day23
Jan 1, 2026 → Dec 31, 2026First to last day of 2026364365
Feb 28, 2028 → Mar 1, 2028Across a leap day (2028)23
Feb 28, 2026 → Mar 1, 2026The same dates in 202612

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.

Days in each monthSeven months have 31 days, four have 30, and February has 28 (29 in leap years).31Jan28Feb31Mar30Apr31May30Jun31Jul31Aug30Sep31Oct30Nov31Dec
Days in each month of 2026. February has 29 days in a leap year.

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).

Quarters, 2026 and 2027
QuarterStartsEndsDays
Q1 2026Jan 1, 2026Mar 31, 202690
Q2 2026Apr 1, 2026Jun 30, 202691
Q3 2026Jul 1, 2026Sep 30, 202692
Q4 2026Oct 1, 2026Dec 31, 202692
Q1 2027Jan 1, 2027Mar 31, 202790
Q2 2027Apr 1, 2027Jun 30, 202791
Q3 2027Jul 1, 2027Sep 30, 202792
Q4 2027Oct 1, 2027Dec 31, 202792

Intervals people often look up

Common intervals in days
IntervalDaysNote
1 week7Always 7 days
30 days30Not the same as one calendar month
90 days90About one quarter, but a quarter is 90–92 days
6 months181–184Depends on which months are included
1 year365 or 366366 when the span includes a February 29
1,000 days1,000About 2 years and 9 months (2.74 years)
10,000 days10,000About 27 years and 4½ months
1 decade3,652 or 3,653Two 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.