ToolHub

Date Duration Calculator

Days between dates, plus add or subtract from a date

Total duration

364days

11 months, 30 days

Weeks52.00
Months (avg)11.96
Years (avg)1.00
Business days (Mon–Fri)260
Weekend days104

Overview

What this calculator does

The date duration calculator does two things. It counts the number of days, weeks, months, and years between two dates (including business days vs weekend days). And it adds or subtracts any combination of years, months, weeks, and days from a starting date to find a future or past date. All of it runs in your browser using UTC date math to avoid daylight-saving bugs.

Counting duration

Days between two dates

The basic count is the later date minus the earlier date. The subtlety is whether to include the end date:

  • Exclusive (default): June 1 to June 8 = 7 days. This is the gap, like counting nights in a hotel.
  • Inclusive: June 1 to June 8 = 8 days. This counts both endpoints, like counting days an event runs.

The calculator also breaks the duration into a calendar-aware years/months/days format, so 400 days becomes "1 year, 1 month, 5 days" rather than a raw number.

Working time

Business days vs weekend days

The calculator separates business days (Monday through Friday) from weekend days (Saturday and Sunday). This is useful for:

Project deadlines

A '10 business day' turnaround spans two calendar weeks. Knowing the weekend split tells you the real calendar date.

Shipping estimates

Couriers quote business days. A 5-business-day shipment ordered Thursday arrives the following Thursday, not Tuesday.

Payment terms

'Net 30' usually means calendar days, but some contracts use business days. The distinction matters near month-end.

Notice periods

Employment and legal notice periods sometimes count only working days. Verify which your contract uses.

Holidays aren't counted

The business-day count excludes weekends but not public holidays, which vary by country. For precise legal or financial deadlines, subtract any holidays in the range manually.

Finding a target date

Adding and subtracting from a date

Set a starting date, choose add or subtract, and enter any combination of years, months, weeks, and days. Common uses:

  • Return windows: 'purchased + 30 days' for a refund deadline
  • Contract terms: 'signed + 1 year' for a renewal date
  • Visa durations: 'entry + 90 days' for a stay limit
  • Project milestones: 'kickoff + 6 weeks' for a checkpoint
  • Medical: 'last dose + 14 days' for a follow-up

Month and year math follows calendar rules: adding 1 month to January 31 gives February 28 (or 29 in a leap year), since there's no February 31.

Avoiding the DST trap

Why UTC?

Date-only calculations in local time can break around daylight saving transitions, where a "day" might be 23 or 25 hours. Computing in UTC (where every day is exactly 24 hours) avoids off-by-one errors. Since this tool works with dates, not specific times of day, UTC gives clean, correct results.

Behind the scenes

Privacy and how it runs

Runs in your browser

Your dates never leave your device. The calculation is instant and fully local.

Common questions

How many days are between two dates?

Subtract the earlier from the later. The calculator does this and also shows weeks, an average month count, years, and a precise years/months/days breakdown.

How do I count days until a future event?

Set today as the start and the event as the end date. The total days is your countdown. Popular for weddings, exams, vacations, and product launches.

What's the difference between calendar days and business days?

Calendar days count every day. Business days count only Monday through Friday. A 10-business-day period spans 14 calendar days (two weekends). Always confirm which a contract or service means.

How do I add 90 days to a date?

Use the add/subtract tab, set days to 90, choose 'Add'. The tool returns the exact date and day of the week. Common for return windows and visa stays.

Does the calculator handle leap years?

Yes. Leap years (Feb 29) are handled automatically in both the day count and the add/subtract math. Adding a year to Feb 29, 2024 gives Feb 28, 2025, since 2025 isn't a leap year.

Why might my count be off by one?

Almost always the inclusive vs exclusive end date. Toggle the 'include the end date' checkbox to switch between counting the gap (exclusive) and counting both endpoints (inclusive).

Related calculators

Time and date tools that pair naturally.

Last reviewed: · Methodology based on US building code standards, contractor pricing surveys, and manufacturer specifications.

Quick steps

1

Choose a mode

'Days between dates' counts the gap between two dates. 'Add / subtract' finds a date a certain distance from a starting date.

2

Pick your dates

Use the date pickers. For 'between', optionally include the end date in the count. For 'add/subtract', set years, months, weeks, and days.

3

Read the result

Total days plus a years/months/days breakdown, business days, and weekend days. Copy any result.

Frequently asked questions

How do I calculate the number of days between two dates?

Subtract the earlier date from the later one. Our calculator does this and also breaks it into years, months, and days, plus counts business days (Monday to Friday) separately from weekend days.

Should I include the end date in the count?

It depends on what you're measuring. For 'how many nights is this hotel stay', exclude the checkout day. For 'how many days is this event running' (inclusive), include the end date. The checkbox lets you choose.

How are business days calculated?

We count every day from start to end and subtract Saturdays and Sundays. Note that this does not account for public holidays — those vary by country and would need a holiday calendar.

How do I add 90 days to a date?

Use the 'Add / subtract' tab, set the days field to 90, and choose 'Add'. Useful for contract deadlines, return windows, visa durations, and project timelines.

Why use UTC for date math?

Calculating in UTC avoids daylight-saving-time bugs where a day could appear to be 23 or 25 hours. Date-only math (no time of day) is cleanest in UTC, which is what this tool uses internally.

How many days until a future date?

Set today as the start date and your target as the end date in the 'Days between' tab. The total days is your countdown. Common uses: days until a wedding, exam, vacation, or product launch.