📐 Date Duration Calculator

Last updated: April 18, 2026

Date Duration Calculator

Find exact days, weeks, months & years between two dates.

0
Days
0
Weeks
0
Months
0
Years

There is a particular frustration that comes from knowing two dates but not knowing the distance between them. You stare at a contract that says delivery in 90 days, or a mortgage that matures on a specific date three years from now, or a project deadline that looms on the calendar — and the question is always the same: how long is that, really, in concrete human terms? Not in milliseconds. Not in a vague "about three months." In years, in months, in weeks, in days you have to actually live through.

Why Counting Days Is Harder Than It Looks

The naive answer is to subtract one date from another and divide by seven for weeks, thirty for months, and three hundred sixty-five for years. That works as an approximation, but it breaks down almost immediately in real life. February has 28 days, or 29 in a leap year. Months have 28, 29, 30, or 31 days. A "month" from January 31st is not February 31st — it wraps to the last valid day of February. A year from February 29th in a leap year lands on February 28th in a common year.

These edge cases matter. A landlord charging rent from March 1st to August 31st wants to know whether that is five months or six. A lawyer calculating a statute of limitations needs the exact calendar count, not a rounded estimate. A parent counting down to a child's eighteenth birthday wants the precise number of days remaining, not "approximately 18 years."

The problem compounds when you move from total days to calendar-accurate months and years. Saying "123 days" is exact but meaningless to most people. Saying "4 months and 3 days" is intuitive but only meaningful if the month count is computed the right way — by advancing the start date month by month until it would overshoot the end date, then counting leftover days. That is precisely what a proper date duration calculator does under the hood.

The Business-Day Dimension

Calendar days and business days are two completely different measurements, and confusing them has caused real financial and legal harm. A vendor who promises delivery in "15 days" almost certainly means 15 business days, not 15 calendar days. A bank that says a wire transfer will arrive in "3 business days" is not counting the weekend. An employment contract with a 30-day notice period in a jurisdiction that counts only working days needs a different calculation than one that counts every day on the calendar.

Business-day counting means walking the calendar day by day from the start date to the end date and incrementing a counter only when the current day is Monday through Friday. It sounds simple, but it is surprisingly tedious to do manually — especially across ranges that span multiple months. For a two-week range, you can count on your fingers. For a six-month notice period, you need a tool.

Weekends alone remove roughly 28–29% of all calendar days. A 90-calendar-day period contains only about 64 business days. A 180-day period contains about 128. These are not trivial differences — they represent three to four full weeks of missing time that matters enormously in payroll, invoicing, legal filings, and project management.

Where Accurate Duration Calculations Actually Matter

Legal and compliance deadlines. Courts count days with brutal precision. A 30-day appeal window that starts on the day of judgment ends on the exact thirtieth day. Missing it by one day can mean losing the right to appeal entirely. Legal professionals cannot afford to guess.

Loan and mortgage terms. Interest accrues daily. A mortgage that closes on the 15th of the month generates pro-rated interest from the 15th to the end of that month, then full-month payments thereafter. The exact day count determines how much the borrower owes at settlement.

Employment and HR. Probationary periods, notice periods, and contract durations are all calendar-precise. An employee hired on March 10th who has a 90-day probation period completes it on June 8th, not "sometime in June." HR systems that round or approximate create liability.

Event planning and countdowns. A wedding planner counting the days until the event, a student marking off the days until an exam, a traveler tracking the days until a trip — these are all cases where the exact count matters for planning, preparation, and peace of mind. Knowing you have exactly 47 days left is actionable; knowing you have "about six weeks" is not.

Financial instrument maturity. Certificates of deposit, bonds, and structured products mature on specific dates. The exact duration in days determines the interest yield. Day-count conventions (actual/365, actual/360, 30/360) are standardized precisely because imprecision in this area has material financial consequences.

Age and milestone tracking. How many days old is a person? How long have two people been married? How long has a business been operating? These questions feel sentimental but are often legally significant — age requirements for retirement benefits, anniversary clauses in contracts, business-operating-period requirements for certain types of financing.

How to Read the Results

When a duration calculator returns multiple units simultaneously — years, months, weeks, and days — it is important to understand that these numbers are not redundant representations of the same thing, but rather a cascade of measurements at different granularities.

The total days figure is the atomic unit — the exact count of calendar days separating the two dates, with no rounding. This number is always exact and unambiguous.

The total weeks figure is that day count divided by seven, floored. It tells you how many complete seven-day periods fit between the dates.

The months figure is calendar-aware: it counts how many whole months you can advance from the start date before overshooting the end date. This is the number that matters for recurring-payment schedules and lease terms.

The years figure is the number of complete twelve-month cycles — again, calendar-aware and not simply "total days divided by 365."

The most useful way to express a duration to another human is usually the compound form: "2 years, 3 months, and 14 days." That breakdown gives immediate intuitive scale while preserving precision at every level.

The Weekend-Skipping Logic Explained

Business-day counting cannot be done with a simple formula. There is no closed-form expression that correctly counts weekends across arbitrary date ranges without knowing the exact day-of-week of the start date. The only reliable approach is iteration — advancing through the calendar one day at a time and checking whether each day is a weekday.

This is computationally trivial for a computer (even a thousand-day range takes less than a millisecond) but completely impractical by hand. For a two-month period, you would need to count roughly 17–19 weekend days scattered across the range. A calculator that does this automatically removes a genuine source of error and frustration from everyday work.

Note that this tool counts weekends only, not public holidays. Holidays vary by country, region, and employer, making them impossible to handle universally. If your specific context requires holiday exclusion on top of weekend exclusion, the business-day count here is your starting point, and you subtract the holidays that fall in your range manually.

Getting the Most Accurate Results

A few practices ensure you get the most useful output. First, decide whether the start date and end date are inclusive or exclusive — that is, whether you count the first day, the last day, both, or neither. The convention varies by context. A rental period from June 1st to June 30th is 29 days if you count June 1st but not June 30th (exclusive end), or 30 days if you include both endpoints. This tool counts the span between the two dates without double-counting either endpoint — if the dates are the same, the result is zero days.

Second, when using business-day mode for a formal calculation (contract, legal deadline, financial instrument), always cross-reference with the actual calendar to ensure no public holidays are hiding in the range that your specific context requires you to exclude.

Third, use the total-days figure as your ground truth and the compound years/months/days breakdown as context. The total days number never lies. The months and years numbers are calendar-precise interpretations of that same span.

Date arithmetic is one of those domains where casual mental math fails constantly and quietly. The consequences range from minor inconvenience to significant legal or financial loss. Using an exact calculator — one that understands leap years, variable month lengths, and the week structure of the calendar — is simply the right tool for the job.

FAQ

Does the calculator count the start date, the end date, or both?
The calculator counts the span between the two dates — it does not count either endpoint itself. If start and end are the same day, the result is 0 days. If you need to count the start day as day 1 (inclusive start), add 1 to the day total. This matches the most common convention used in scheduling and legal deadline counting.
Why do the 'months' and 'years' results look different from simply dividing days by 30 or 365?
Because calendar months have 28, 29, 30, or 31 days and years have 365 or 366 days. The calculator advances the start date month by month to count complete months accurately, rather than dividing by a fixed average. This produces the correct result for lease terms, payment schedules, and age calculations where calendar precision matters.
What does 'business days only' actually exclude?
Business-day mode excludes Saturdays and Sundays only. It does not exclude public holidays, because holidays vary by country, region, and employer. If your use case requires holiday exclusion (for example, court deadlines that skip national holidays), use the business-day total as your base and manually subtract the holidays in your range.
Can I enter the end date before the start date?
Yes. If you enter dates in reverse order, the calculator automatically swaps them internally and computes the positive duration. The result summary will note that the dates were swapped so there is no confusion about which direction was calculated.
How is the 'weeks' number calculated in business-day mode?
In business-day mode, the weeks figure is the business-day count divided by 5 (floored), since a standard work week is five days. This tells you how many complete five-day work weeks are in the range. In calendar mode, weeks is the total days divided by 7.
What is the practical difference between 90 calendar days and 90 business days?
90 calendar days contains roughly 64 business days (weekends account for about 26 days). Conversely, 90 business days is approximately 126 calendar days — about 18 weeks. This distinction matters enormously in contracts and deadlines: '90 business days' is nearly two months longer than '90 calendar days.'