📅 Date & Time

Date Duration Calculator

Calculate the exact number of days, weeks, months, and years between two dates. Includes business days, and the option to count or exclude the end date.

Advertisement
📅
Date Duration Calculator

Pick a start and end date to find the precise duration between them — broken down into years/months/days, total days, weeks, and business days. Add optional times for an even more exact result.

Total Duration
Total Days
0
Weeks
0
Months
0
Business Days
0
Hours
0
Minutes
0
Advertisement

What is a Date Duration Calculator?

A date duration calculator works out exactly how much time lies between two dates — in days, weeks, months, years, hours, and even business days. Counting this by hand is fiddly because months have different lengths and leap years add a day, so a calculator removes the guesswork. Whether you're counting down to an event, working out a contract period, calculating someone's age in days, or measuring how long since a milestone, this tool gives a precise answer instantly.

It also shows the duration in multiple units at once, so you can see the same span expressed as a tidy years-months-days breakdown or as a raw total of days or weeks — whichever you need.

How to Calculate the Duration Between Two Dates

The simplest measure is the total number of days, found by subtracting the earlier date from the later one. From there, the duration can be expressed in larger units. The calendar breakdown (years, months, days) accounts for the actual lengths of the months involved and any leap years.

Total Days = End Date − Start Date

Weeks = Total Days ÷ 7
Hours = Total Days × 24

Calendar breakdown counts whole years, then
whole months, then the remaining days

"Include end day" adds 1 to the total

How to Use This Calculator

Enter your start and end dates. Optionally add a start and end time for an exact hours-and-minutes result. Tick "Include the end day" if you want the final day counted (useful for things like rental periods or event durations where both the first and last day count). Click Calculate to see the full breakdown across every unit.

What the Results Mean

The headline result is the calendar breakdown — the most natural way to express a duration, like "2 years, 3 months, 14 days". Total days is the raw count, handy for precise calculations. Weeks, months, hours, and minutes express the same span in other units. Business days counts only weekdays (Monday to Friday), excluding weekends — useful for work and delivery estimates.

💡 The "include end day" option matters more than people expect. A hotel booking from the 1st to the 5th is 4 nights but 5 days of access; an event running the 1st to the 5th lasts 5 days. Tick the box when both the start and end day should count.

Counting Inclusive vs Exclusive Dates

There are two common ways to count days between dates. Exclusive counting (the default) measures the gap — from Monday to Wednesday is 2 days. Inclusive counting includes both endpoints — Monday to Wednesday becomes 3 days. Which you want depends on the context: a countdown to a deadline is usually exclusive, while a holiday or event spanning both end dates is usually inclusive. The checkbox lets you switch between them.

Why Months Are Tricky

Expressing a duration in months is ambiguous because months vary from 28 to 31 days. This calculator gives two views: an approximate total months figure (based on the average month length) for quick reference, and a precise calendar breakdown that counts the actual whole months between your dates. For exact work like contracts or interest, the calendar breakdown and total-days figures are the most reliable.

Common Uses

  • Countdowns: days until a wedding, holiday, exam, due date, or deadline.
  • Anniversaries and milestones: how long you've been together, employed, or sober.
  • Contracts and leases: the exact length of an agreement or notice period.
  • Project planning: business days available between two dates.
  • Age in days: someone's precise age expressed in total days.

Does It Account for Leap Years?

Yes. The calculator uses your device's calendar, which correctly handles leap years (the extra day on 29 February every four years, with the century exceptions). This means a span crossing 29 February is counted accurately, and the total-days figure is always exact regardless of how many leap years fall within the period.

Frequently Asked Questions

How many days are between two dates?
Enter your two dates above and the calculator shows the exact number of days between them, along with weeks, months, years, and business days. By default it counts the gap (exclusive); tick "Include the end day" to count both endpoints. It accounts for different month lengths and leap years automatically.
How do I count business days between dates?
This calculator shows business days (weekdays, Monday to Friday) in the results, excluding Saturdays and Sundays. For a dedicated business-day count that can also exclude public holidays, use our Working Days Calculator. Business days are useful for delivery times, work deadlines, and notice periods that exclude weekends.
Does this include the start and end date?
By default, the calculation measures the gap between the dates (the start day is day zero). If you want both the start and end day counted — for example, for an event or holiday that runs across both — tick the "Include the end day" checkbox, which adds one day to the total.
How do I calculate months between two dates?
The calculator gives both an approximate total-months figure and a precise calendar breakdown (years, months, and days). Because months vary in length, the calendar breakdown — which counts the actual whole months between your dates — is the most accurate way to express the duration in months.
Can I calculate the time between two dates with hours?
Yes. Add a start time and end time using the optional time fields, and the calculator will include the hours and minutes in the result. Without times, it assumes the start and end of the respective days. This is useful for precise durations like event lengths or elapsed time.
Does it handle leap years correctly?
Yes. The calculation uses the actual calendar, so leap years and their extra day (29 February) are counted correctly. Any duration that crosses one or more leap years will reflect the real number of days, making the total-days figure always exact.
How do I find how many days until a date?
Set the start date to today and the end date to your target date, then calculate — the total days figure is your countdown. This works for any future date, like a holiday, birthday, exam, or deadline. You can also reverse it to count how many days have passed since a date.
Is my data private?
Yes. This calculator runs entirely in your browser. The dates you enter are processed on your own device and never uploaded or stored anywhere, so it's completely private and works instantly.
Advertisement
Scroll to Top