BerryCalc

Date Difference Calculator

Count the days between two dates, plus the same span in years, months, weeks and weekdays.

Updated November 20, 2026Runs in your browser — nothing you type is uploaded

How to use the date difference calculator

Pick a start date and an end date. The date difference calculator shows the number of days between them, the same span in years, months and days, in weeks, and how many of those days are weekdays (Monday to Friday) and weekend days. If you enter the dates in the wrong order, they are swapped and the result tells you so.

Tick Include the end date when both the first and the last day should count — for example, the length of a trip, a hotel stay counted in days rather than nights, or a project that runs "from the 1st to the 31st inclusive".

How the days are counted

By default, the calculator counts like a calendar: the start day is counted and the end day is not. From January 1 to January 3 is 2 days. With the end date included it is 3 days. Leap years are counted, so February has 29 days in 2024 and 2028.

Days between two dates = end date − start date (plus 1 if you include the end date).

The years, months and days figure counts whole calendar months, the same way the age calculator counts birthdays, so it uses the real length of each month instead of an average.

Worked examples

Start End Days Weekdays Notes
January 1, 2026 December 31, 2026 364 — End date not included
January 1, 2026 December 31, 2026 365 261 End date included
November 20, 2026 December 25, 2026 35 25 Exactly 5 weeks

In the last example, November 20, 2026 is a Friday. Counting from the 20th up to (but not including) Christmas Day gives 35 days, which is 5 weeks; each week has 5 weekdays, so 25 of those days are Monday to Friday.

Weekdays and business days

The weekday count is every Monday to Friday in the range. It does not remove public holidays, because holidays differ by country, state and employer. To get business days, subtract the holidays that fall in your range yourself — for example, if a US federal holiday falls on a weekday in the range, take one off the weekday count.

Common uses

Counting days by hand

For dates in the same month, subtract the day numbers: from the 4th to the 19th is 15 days. Across months, count the days left in the first month, add the full months in between, then add the day number of the end date. From March 20 to May 5: 11 days left in March (21st to 31st), 30 days in April, and 5 days in May — 46 days. The date difference calculator does this instantly and never forgets a leap year.

Hours, and a note on time zones

The hours figure is the day count times 24. The calculator compares calendar dates, not clock times, so daylight-saving changes and time zones don't shift the result. If you need the time between two moments down to the minute, convert both to the same time zone first.

Related calculators

For someone's exact age in years, months and days, use the age calculator. To see how much a deposit grows over a number of years, try the compound interest calculator.

Date Difference Calculator FAQ

How do I count the days between two dates?

Subtract the start date from the end date. The calculator counts the start day but not the end day, so January 1 to January 3 is 2 days.

Should I include the end date?

Include it when both the first and last day count, such as the length of a trip or an event that runs from the 1st to the 31st inclusive. It adds one day.

How many days are there in 2026?

2026 is not a leap year, so it has 365 days. From January 1 to December 31, 2026 is 364 days, or 365 with the end date included.

Does the weekday count remove public holidays?

No. It counts Monday to Friday only. Subtract any holidays in your range yourself to get business days.

Are leap years counted?

Yes. The calculator uses the real calendar, so February 29 is counted in leap years.