Date Duration Calculator

Date Duration Calculator – Days, Months and Years Between Two Dates

How long is it between two dates? The answer sounds simple until you try to work it out across months of different lengths and leap years. This free date duration calculator does it exactly, for any two dates — useful for contracts, service periods, age checks, project timelines and holiday planning.

Enter a start date and an end date. The tool shows the gap in years, months and days, plus the total in days, weeks and months, so you can use whichever figure your form or calculation needs.

The earlier date.The later date.
Important: The duration counts the days from the start date up to, but not including, the end date — the standard way of measuring a period between two dates. Leap years are handled automatically.

How This Calculator Works

  1. Enter the start date.
  2. Enter the end date.
  3. Press Calculate to see the duration in years, months and days, and the totals.

Formula

The calculator subtracts the start date from the end date using the real calendar, borrowing days and months where needed. Total days is the number of days between the dates. Total weeks is total days divided by 7, and total months is the number of whole calendar months in the period.

Example

From 1 January 2026 to 21 November 2026 is 10 months and 20 days — a total of 324 days, or about 46 weeks and 2 days.

Frequently Asked Questions

Does the count include the end date?

No. The duration is the time from the start date up to the end date, not including it. From Monday to Tuesday is 1 day, not 2.

Can I calculate a period in the past?

Yes. Any two dates work, past or future, as long as the end date is after the start date.

How are leap years handled?

The calculation uses real calendar dates, so 29 February is counted in leap years and the extra day appears in the total.

What is the difference between months and total months?

The years-months-days figure breaks the period into calendar units, while total months is the whole number of calendar months in the period, ignoring the leftover days.

Focus keyphrase: date duration calculator · More tools and daily news at Pakistan Morning Post.