Calculators

Date Difference Calculator

Count the days, weeks and months between two dates.

  • Free forever
  • No sign-up
  • Runs in your browser
Share X LinkedIn

What is a date difference calculator?

A date difference calculator tells you how much time sits between two calendar dates. Pick a start and an end, and you get the total number of days, plus the same span expressed as years, months and days, as weeks, and as business days. It's the fast, reliable way to answer "how long is it from this date to that date?" without counting on your fingers or fighting with a spreadsheet formula.

Counting dates by hand is deceptively error-prone: months have 28 to 31 days, leap years sneak in an extra day, and it's easy to be off by one depending on whether you count the last day. This tool handles all of that for you and shows the result the moment both dates are filled in.

How to use it

  1. Pick a start date.
  2. Pick an end date — it defaults to today, so "from a past date until now" works straight away.
  3. Read off the total days, the years / months / days breakdown, weeks, and business days.
  4. Toggle include the end date if you want both endpoints counted.

There's nothing to submit and nothing to install — everything updates live in your browser.

Inclusive vs exclusive: how days are counted

This is the question that trips most people up. By default the calculator counts the gap between the two dates. From 1 June to 8 June that's 7 days — you're measuring the distance, not the number of dates touched.

Turn on include the end date and it counts both endpoints, so the same range becomes 8 days. Which one you want depends on the task:

  • Exclusive (default) suits "how many days until…", elapsed-time questions, and anything where you don't want to double-count the start.
  • Inclusive suits hotel nights, leave requests, notice periods and rentals — situations where the final day still counts.

When in doubt, try both and see which matches how the real-world rule is worded.

Business days

The business-days figure counts only Monday to Friday within the range and drops every Saturday and Sunday. That makes it a quick estimate for working timelines — delivery windows, SLA targets, "ten working days to respond", and project schedules.

One caveat: public holidays differ by country and region, so they aren't subtracted. Treat the number as your working-day count before local holidays, then knock off any bank holidays that fall inside the range.

Years, months and days

Beyond the raw day count, the calculator breaks the span into years, months and days using real calendar lengths. It works out the whole years first, then the leftover months, then the leftover days, borrowing from the previous month when needed — so you'll never see an impossible result like "2 months and −4 days". This is the natural way to describe long spans: "1 year, 2 months and 5 days" reads better than "432 days" when you're talking about, say, how long ago something happened.

Leap years

Because the total is a direct count between two genuine dates, any 29 February inside the range is included with no special handling. The same is true for the breakdown, which uses each month's actual length. You don't have to think about leap years at all — they're already accounted for.

What you can use it for

  • Project planning — measure the span between a kickoff and a deadline, in both calendar days and working days.
  • Age between two events — how much time passed between two milestones, expressed cleanly in years and months (for someone's age from a single birthday, the Age Calculator is purpose-built).
  • Notice periods and contracts — count the days (inclusive or exclusive) for resignations, cancellations and rentals.
  • Travel and stays — work out nights for a trip or the gap between two bookings.
  • Anniversaries and "it's been…" — find the exact distance from a memorable date to today; to count down to the next one, switch to the Countdown to Date.

Tips

  • Use the default "today" end date for any "how long since…" question — just set the start and read the result.
  • Match the toggle to the wording. If a rule says "including the last day", switch on include the end date.
  • Subtract holidays yourself from the business-day figure for an exact working-day count in your country.
  • Order doesn't matter. Swap the dates and you'll still get a clean, positive difference.

Everything runs locally in your browser, so your dates never leave your device — a quick, private way to measure the exact distance between any two days.

Frequently asked questions

Comet's got your back

Stuck on something? Every tool has a short guide and FAQ — and Comet can point you to the right spot.

Visit help centre