Days Between Dates Calculator

Count the days between any two dates. The calculator gives the total days, the same span as years, months and days and as weeks, the number of weekdays and weekend days, and total hours. Choose whether to count the end date, since "days between" and "days including both dates" differ by one.

By Rashid MehmoodLast updated and reviewed Free, no sign-up

Days between dates calculator

–

How to use the days between dates calculator

  1. Enter the start date. Pick the first date. It starts as today.
  2. Enter the end date. Pick the second date. If it is earlier than the start, the calculator swaps them for you.
  3. Decide whether to include the end date. Leave it on "No" for days elapsed, so Monday to Tuesday is 1 day. Choose "Yes" to count both ends, so Monday to Tuesday is 2 days.
  4. Read the span. You get total days, years/months/days, weeks and days, weekdays, weekend days and hours.
Embed this calculator

Paste this iframe on your own site. The embed view already includes a visible “Calculator by CalcTen” credit, which must stay visible. See the developers page for the conditions.

How the count works

The calculator converts each date to a day number and subtracts. Because it uses calendar dates, not clock times, daylight saving changes never add or remove a day.

Days between = later date − earlier date
Days including both ends = days between + 1

Worked examples

1 January to 25 December 2026. 358 days, which is 11 months and 24 days, 51 weeks and 1 day, and 256 weekdays.

1 June to 1 September 2026. 92 days, or exactly 3 months, 13 weeks and 1 day, with 66 weekdays and 26 weekend days.

8 March to 25 December 2026. 292 days, 9 months and 17 days, 41 weeks and 5 days, with 209 weekdays.

1 to 31 January 2026 including both dates. 31 days, against 30 days if the end date is not counted.

Include the end date or not

Most disputes about “how many days” come from this choice. A hotel stay from the 10th to the 13th is 3 nights, but it covers 4 calendar days if you count both. A loan from 1 June to 1 September is 92 days of interest, not 93. When in doubt, check the definition in your contract or form. Elapsed days (the default here) is the usual convention for age, notice periods and interest, while inclusive counting is common for event lengths, leave and project schedules.

Months and years between dates

Months do not have a fixed length, so a span such as 3 months can be 89 to 92 days. The calculator shows both: calendar months and days for reading the span aloud, and total days for anything that needs exact arithmetic. When you need to move a date forward by a number of months or days instead, use the date calculator.

Weekdays and working days

The weekday count treats Saturday and Sunday as the weekend and does not know about public holidays or regional weekends. For schedules, use the business days calculator, which lets you choose a Friday and Saturday weekend and exclude US federal holidays.

See how old someone is with the age calculator, count down to an event with the days until calculator, or find the week of the year with the week number calculator.

Frequently asked questions

How do I calculate the number of days between two dates?

Subtract the earlier date from the later one, counting calendar days. From 1 January to 25 December 2026 there are 358 days. This calculator does it for any pair of dates, including across leap years.

Should the end date be included?

It depends on what you are counting. Days elapsed excludes the end date, so 1 to 31 January is 30 days. Counting every day on the calendar including both ends gives 31. Booking periods and "day of" counts usually include both, while age and deadlines use elapsed days.

How many weeks are between two dates?

Divide the days by 7. The calculator shows weeks and leftover days, for example 292 days is 41 weeks and 5 days, and also decimal weeks (41.71).

How are months between dates counted?

It counts whole calendar months from the start date, then the remaining days. From 8 March to 25 December 2026 is 9 months and 17 days. Months have different lengths, so months are not a fixed number of days.

Does the calculator handle leap years?

Yes. From 1 January 2024 to 1 January 2025 is 366 days, because 2024 contains 29 February. A normal year has 365 days.

How many weekdays are between two dates?

The result lists weekdays (Monday to Friday) and weekend days (Saturday and Sunday) in the span. It does not remove public holidays. For that use the business days calculator.

What if the end date is before the start date?

The calculator treats the span as positive and tells you the dates were swapped, so you always see the number of days between them.

Sources and references

About this calculator

Written and maintained by Rashid Mehmood, founder of CalcTen. The formulas are unit-tested against hand-worked examples, and the content is reviewed whenever product sizes or guidance change. Last updated and reviewed 14 November 2026. See our editorial policy. If you spot a mistake, report it.

Results use the Gregorian calendar and calendar dates only, with "today" taken from your device. Contract, legal and payroll definitions of days, months and working time can differ, so check the wording that applies to you. Read the disclaimer.

Calculator by CalcTen — free online calculators.