Free Date Difference Calculator

Use this Date Difference Calculator to find exactly how much time lies between two dates. You get the answer in years, months and days, plus total days, weeks, hours and weekdays. A second mini tool lets you add or subtract days from any date to find a deadline or a past date.

Add or subtract days from a date

Pick a date to see the result.

What Is a Date Difference Calculator?

A Date Difference Calculator measures the gap between two calendar dates. The most common answer is a number of days, but people also need the same gap expressed in weeks, months, years or working days. Counting by hand is tedious because months have different lengths, leap years add an extra day, and weekends have to be skipped when you only care about business days.

This Date Difference Calculator returns several views of the same interval. The headline result is in years, months and days, which is the way people naturally describe long spans, such as 2 years, 3 months and 5 days. Below that you see the total number of days, full weeks, full months, hours and weekdays, which are the figures used for project plans, contracts, notice periods and countdowns.

The optional “include the end date” setting matters for anything that counts both the first and the last day, such as a hotel stay, a leave request or a subscription period. The built-in add and subtract tool goes the other way: give it a starting date and a number of days, and it returns the resulting date along with the weekday.

How to Use the Date Difference Calculator

  1. Pick the start date and the end date using the date fields.
  2. Tick “Include the end date” if both the first and last day should count, for example a vacation from the 1st to the 5th that covers five days.
  3. Press Calculate Difference, or let the result appear automatically as soon as both dates are filled in.
  4. Read the large line for years, months and days, then check total days, weeks, hours and weekdays in the cards below.
  5. Use Swap Dates if you entered them in the wrong order, though the tool also corrects the order for you.
  6. For deadlines, scroll to the add or subtract section, choose a date, type a number of days and pick add or subtract.

Key Features of Our Date Difference Calculator

  • Difference in years, months and days with correct month lengths
  • Total days, weeks, hours and full months
  • Weekday (business day) count that skips Saturdays and Sundays
  • Option to include the end date in the count
  • Automatic swap when the end date is earlier
  • Add or subtract any number of days from a date
  • Shows the weekday of the resulting date
  • Runs in your browser with no data sent anywhere

Benefits of Using an Online Date Difference Calculator

Date math is a surprisingly common source of mistakes. An off-by-one error can mean a missed deadline, an incorrect invoice or a wrongly counted notice period. Letting a calculator handle month lengths and leap years removes the guesswork.

Having years, months, days and weekdays in one place saves switching between tools. You can plan a project timeline, count down to an event and double-check contract terms without opening a spreadsheet.

The add and subtract feature is especially practical for recurring deadlines. Payment terms such as net 30 or net 60, warranty periods, return windows and visa validity all expire a fixed number of days after a start date. Typing the start date and the number of days gives you the exact calendar date and the weekday it falls on, so you know whether the deadline lands on a weekend.

Your privacy comes first. The Date Difference Calculator runs entirely in your web browser. Nothing you enter is sent to our servers, which keeps your data private and makes results appear instantly. See our Privacy Policy for details.

Common Use Cases for the Date Difference Calculator

  • Counting the days until a wedding, exam, trip or product launch
  • Calculating the length of a lease, contract or subscription
  • Working out notice periods and probation periods
  • Estimating the number of working days for a project
  • Finding the date that falls 30, 60 or 90 days from today
  • Measuring the time between two historical events
  • Checking how long you have been in a job or relationship
  • Planning pregnancy, travel or visa timelines

Tips for Getting the Best Results

  • Decide in advance whether the end date should be included, because it changes the answer by one day.
  • The weekday count ignores public holidays, so subtract those separately for exact working days.
  • When adding months, count in days only if the exact day matters, since months vary from 28 to 31 days.
  • Use the swap button to quickly test the reverse direction of a date range.
  • For legal documents, confirm how the governing rules count days before relying on any calculator.

Date Difference Calculator FAQ

How does the Date Difference Calculator count days?

It converts each date to a day number and subtracts them. If you tick “Include the end date,” one extra day is added so both the first and last dates are counted.

Does it count business days?

Yes. The weekdays figure counts Monday to Friday between the two dates. Public holidays are not known to the tool, so subtract them yourself if needed.

What happens if my end date is before my start date?

The calculator swaps the two dates automatically and shows a short note, so you still get the correct gap.

How are months calculated?

The months figure follows calendar months. From January 31 to March 1 you get one month and one day because the shorter month is borrowed from correctly.

Can I find a date 90 days from today?

Yes. In the add or subtract section choose today’s date, enter 90 and select Add days. The result shows the full date and weekday.

Are my dates stored?

No. All calculations are performed locally in your browser, and nothing is uploaded or saved.

Related Tools