Date Duration Calculator

Date to date calculator · days between dates

Find the exact gap between two dates, in days and broken down into years, months and days, or jump forward and backward from a date by a number of days.

Days between two dates

Add or subtract days

Both calculators run entirely in your browser. Counting convention: the difference excludes the start date and includes the end date, so Monday to the following Monday is 7 days.

How the difference is calculated

Counting days between dates sounds trivial and isn't, because our calendar is irregular. Months are 28, 29, 30, or 31 days long, and years are 365 or 366. The reliable method — the one this tool uses — is to convert each date to a plain day count (days since a fixed reference point) and subtract. That sidesteps month lengths entirely and cannot be confused by leap years.

The years-months-days breakdown is a separate calculation with a genuine judgment call in it: from January 31 to March 1 is "1 month and 1 day" only if you decide that adding a month to January 31 lands on February 28 (or 29). This tool follows the convention used by most legal and payroll systems: advance whole years first, then whole months (clamping to the end of a short month), then count the remaining days.

Using it as a date to date calculator

Most questions this tool answers start with two dates: "How many days from June 3 to September 14?", "How long have I worked here?", "How many days until my lease ends?" Enter the first date as the start and the second as the end. The start date defaults to today, so for "how many days until…" questions you only need to pick the end date. If the end date is earlier than the start, the tool still gives the length of the span and notes that the dates are in reverse order.

For deadlines that skip weekends and holidays, such as notice periods or shipping estimates, use the business days calculator instead; it counts working days only.

Leap years in one paragraph

A year is a leap year if it's divisible by 4 — except century years, which must be divisible by 400. So 2024 and 2028 are leap years; 1900 was not, but 2000 was. The reason is that a solar year is about 365.2422 days: adding a day every 4 years slightly overcorrects, and skipping three century years out of four brings the average calendar year to 365.2425 days, close enough that the calendar drifts by only about one day every 3,200 years.

Inclusive or exclusive counting?

"How many days between Friday and Monday?" has two defensible answers: 3 (exclusive of the start, the convention used here and by most software) or 4 (counting both endpoints, common in travel bookings and prescription durations). Before you rely on a count for anything contractual — notice periods, visa windows, medication schedules — check which convention the other party uses. Off-by-one errors on deadlines are the classic failure mode of date math.

Handy day-count references

PeriodDays
1 week7
30-day month vs 31-day month30 / 31
1 common year365
1 leap year366
Average month (365.2425 ÷ 12)≈ 30.44
90 days from Jan 1 (common year)April 1
180 days from Jan 1 (common year)June 30

Frequently asked questions

How many days are there between two dates?

Enter a start date and an end date in the calculator. It shows the total number of days, the same span in years, months and days, the number of weeks, and the count including both the start and end dates.

What is a date to date calculator?

A date to date calculator, also called a date duration calculator, measures the time from one calendar date to another. This one gives the answer in days, weeks, and years-months-days, and can also add or subtract days from a date.

Does the count include the start and end dates?

The main result excludes the start date and includes the end date, so Monday to the following Monday is 7 days. The result also shows the inclusive count, which adds one day for when both dates should be counted, as in hotel stays or leave requests.

Does the calculator count weekends?

Yes — it counts calendar days, including weekends and holidays. To count working days only, skipping weekends and US federal holidays, use the business days calculator.

Why does "1 month later" from January 31 give February 28?

Because February has no 31st. The standard convention clamps to the last day of the target month, which is what banks, payroll systems, and this calculator do.

Can I calculate across a leap day?

Yes. Because the tool subtracts absolute day counts, February 29 is simply one more day in the total whenever the range crosses it.

Calculating someone's age specifically? The age calculator handles birthdays, including February 29 births.