Date Difference Calculator

Pick two dates to see the exact gap in days, weeks, months, and years. Swap, flip, or share the range in one click.

Date Difference Calculator

Maintained by ToolexeLast updated: April 18, 2026
From

Tip: type the year first for a faster entry.

To

Reverse order is fine — we will flip it for you.

Quick pick
Useful for billing cycles and hotel stays where both endpoints count.

Duration between the two dates

Counting forward

0days

Choose two dates and the full breakdown will appear here.

Years0
Months0
Weeks0
Days0
Hours0
Minutes0

Calendar composition

Business days0Mon–Fri only, inclusive of both endpoints.
Weekend days0Saturdays and Sundays in the range.
Leap days0Feb 29 occurrences inside the range.
Year spanFirst and last calendar year touched.

A calmer way to count the days

Whether you are sizing up a holiday, tracking a contract, or settling a debate about someone's birthday, this calculator gives a clean answer in every unit that matters — plus the extras most tools skip.

How to use it

  1. Pick your start date in the From card and your end date in the To card.
  2. Tap a quick pick for common ranges or type a custom date.
  3. Read the duration card for an instant answer in days, weeks, months, and years.
  4. Toggle Include the end date for stays, rentals, or billing that count both ends.
  5. Copy the summary or share a link that restores the same range on any device.

What the numbers really mean

Total days are a clean subtraction between the two midnights you picked. Weeks are simply total days divided by seven. The calendar breakdown, on the other hand, respects the real length of each month, so January and February are not forced to be the same size. Business days skip Saturdays and Sundays, and leap days only count Feb 29 when the range actually crosses one.

When the end date is earlier

No problem. The tool flips the range behind the scenes and labels the result as counting backward, so you can check how long ago something happened without rearranging your inputs.

Great for everyday planning

Use it to time a project sprint, count the days until a trip, work out an age in days, or settle how long a subscription has been running. The share link keeps everyone on the same page with the exact range you chose.

Frequently asked questions

Does the total include the start and end date?

By default the total is the clean gap between the two days, so a start on Monday and end on Tuesday is 1 day. Flip the Include the end date toggle to count both endpoints, which is what you want for hotel nights, rental periods, or inclusive billing windows.

How is the year, month, and day breakdown calculated?

The tool walks forward year by year, then month by month, then counts the leftover days. That keeps months at their actual length, so the breakdown matches how humans think about anniversaries and ages.

Are leap years handled automatically?

Yes. Feb 29 is included whenever the range actually crosses one, and the Leap days card tells you how many of those extra days fell inside your window.

Can I calculate a duration in the past or the future?

Both work. The calculator accepts any valid dates and clearly labels whether the result is counting forward or counting backward, so there is no ambiguity in the summary you copy.

How do business days differ from the main total?

Business days skip every Saturday and Sunday inside the range and always count both endpoints. That matches how most offices think about working time. Use the main Days figure when you need a plain calendar gap.

Can I share the exact range with someone else?

Press Share to reveal a link with your dates baked into the URL. Anyone who opens it lands on the same calculation with the same toggle state, which makes it easy to settle a debate or brief a teammate.