Date To Date Calculator

Count how many days there are between two dates. Pick a start date and an end date, choose whether to count the end date too, and the calculator shows the number of days, the same gap in weeks and days, and the calendar difference in years, months and days. It handles leap years and month lengths for you and runs in your browser.

Inputs

Result

Days between
358
Whole weeks
51
Plus days
1
Calendar years
0
Plus months
11
Plus calendar days
24

How it is calculated

  1. Days between = end date − start date, plus 1 when the end date is included
  2. Whole weeks = days ÷ 7, rounded down
  3. Plus days = days − 7 × whole weeks
  4. Calendar years = whole years from the start date to the end date
  5. Plus months = whole months left after the years
  6. Plus calendar days = days left after the years and months

Resources for your next step

Helpful downloads

View all dates & productivity downloads
Store coming soon

We are preparing practical spreadsheets, planners, and guides. Explore the store page for what is next.

Counting the days

By default the calculator counts the days from the start date up to the end date, which is the number of nights in between or the number of days you would add to the start date to reach the end date. From January 1 to December 25, 2026 that is 358 days, or 51 weeks and 1 day.

Turn on the include-end-date option when both dates count, such as for a hotel stay counted in days, an event that runs from one date through another, or a sentence of days served. Including the end date adds one, so January 1 through December 25 is 359 days.

Years, months and days

The calendar difference counts whole years first, then whole months, then the days that remain. From January 1 to December 25, 2026 it is 0 years, 11 months and 24 days. This is how ages and anniversaries are usually stated, and it always uses the dates as given, without the include-end-date option.

When the start date falls on a day the end month does not have, such as the 31st, the month is counted at that month's last day. One month after January 31 is February 28, or February 29 in a leap year.

Leap years and month lengths

The calculator uses the Gregorian calendar, so February has 29 days in leap years: years divisible by 4, except century years that are not divisible by 400. A range that crosses February 29, 2028 is one day longer than the same range in a common year.

Dates are whole calendar days with no time of day or time zone, so daylight-saving changes never add or remove a day. If you need the time between two moments, such as 9:00 to 17:30, count hours separately.

Business days and deadlines

This calculator counts every calendar day, including weekends and holidays. Contract, court and shipping deadlines often count business days instead and may exclude public holidays, so check which rule applies before relying on a count for a deadline.

The end date has to be on or after the start date. If it is earlier, the calculator explains the problem and clears the results; swap the dates to count backward.

Frequently asked questions

How many days are between two dates?

Subtract the start date from the end date. From January 1 to December 25, 2026 is 358 days.

Should I include the end date?

Include it when both the first and last day count, such as an event running through the end date. It adds one day.

Does it count weekends and holidays?

Yes. Every calendar day is counted. Business-day counts that skip weekends and holidays need a different calculation.

How are leap years handled?

February 29 is counted in leap years following the Gregorian rule, so ranges across it are one day longer.

Why do weeks and calendar months differ?

Weeks are always 7 days, while months have 28 to 31 days, so the two ways of stating the gap use different units.

Can the end date be before the start date?

No. Choose dates in order; the calculator shows a message if the end date is earlier.

Sources

Dates are calculated in your browser using the Gregorian calendar, with no time of day. Check important dates, such as legal or contract deadlines, against the official rules that apply to you.

All dates & productivity tools