Skip to content

Date Difference Calculator – Count Days Between Dates

Find the exact time between two dates in years, months and days, with totals in days, weeks, weekdays and hours. Or add and subtract time from a date to find a deadline.

Pick both dates to see the difference.

How to use the date difference calculator

To count the time between two dates:

  1. Choose "Between two dates".
  2. Pick the start date and the end date. Use the "Today" link above either field to fill in today's date.
  3. Switch on "Include the end date" if the last day should count.
  4. Read the result in years, months and days, plus total days, weeks, weekdays, weekend days, total months and hours.

To find a date before or after another:

  1. Choose "Add or subtract".
  2. Pick the starting date and choose Add or Subtract.
  3. Enter the years, months, weeks and days, leaving any you don't need empty.
  4. Read the result date, with its day of the week and how many days after or before the start date it falls.

Features

  • Exact difference in years, months and days, correct for leap years and months of different lengths.
  • Total days, weeks and hours between the dates.
  • Weekdays (Monday to Friday) and weekend days, for rough working-day counts.
  • Total months between the dates.
  • Include the end date option.
  • Swap button and a quick "Today" link on each date field.
  • Add or subtract years, months, weeks and days from any date, with month-end dates handled correctly.

A worked example

From 15 January 2026 to 28 September 2026:

  • 8 months and 13 days, because 15 January to 15 September is 8 whole months, and 15 to 28 September adds 13 days.
  • 256 days in total, which is 36 weeks and 4 days.
  • 182 weekdays and 74 weekend days.
  • 6,144 hours (256 × 24).

Turn on "Include the end date" and the total becomes 257 days.

To find a deadline 90 days after 28 September 2026, choose "Add or subtract", pick 28 September 2026 and add 90 days. The result is Sunday, 27 December 2026. Because it falls on a weekend, you may want to check whether the deadline moves to the next working day.

Tips for accurate counts

  • Decide whether the end date counts. "From 1 to 10 March" usually means 10 days if both dates are included, but only 9 days between them. Contracts, leave rules and visa conditions often say which one they mean, so check the wording.
  • Working days need one more step. The weekday figure counts Monday to Friday only. Subtract public holidays in your country, and adjust if your week runs differently, for example with Friday as a day off.
  • Months are not all the same length. "3 months" and "90 days" can end on different dates. If a rule is written in months, add months; if it is written in days, add days.
  • Hours are based on whole days. The hours figure is total days × 24 and doesn't account for the time of day or clock changes.

Why use Fileora's date difference calculator

Counting days on a calendar is slow and it's easy to be off by one, especially across months of different lengths or when you're unsure whether to count the last day. This calculator uses proper calendar maths and makes the end-date choice explicit.

People use it for notice periods, project deadlines, visa and permit durations, payment terms, pregnancy and exam countdowns, and how long ago something happened. It's free, needs no sign-up and works on any phone. The dates you enter never leave your device.

To find someone's exact age on a date, use the age calculator. If you're setting payment terms, such as 30 days from the invoice date, the invoice generator creates a PDF invoice in your browser.

Frequently asked questions

How many days are there between two dates?

Pick a start date and an end date and the calculator shows the total number of days. By default it counts the days from the start date up to the end date, so 1 March to 2 March is 1 day. For example, 15 January 2026 to 28 September 2026 is 256 days, or 8 months and 13 days.

Should I include the end date?

Switch on "Include the end date" when both the first and last day count, such as a hotel stay counted in days, a leave application or a course that runs from one date to another inclusive. It adds one day to the result, so 1 March to 2 March becomes 2 days.

Does the weekday count include public holidays?

No. Weekdays are simply Monday to Friday, and weekend days are Saturday and Sunday. The calculator doesn't know about public holidays, which differ by country and year, so subtract any holidays yourself to get working days.

What happens when I add a month to 31 January?

The date moves to the last day of February: 28 February, or 29 February in a leap year. When the target month is shorter than the starting day, the result is set to that month's last day. This is how most calendars and contracts treat month-end dates.

In what order are years, months, weeks and days added?

Years and months are applied first, then weeks and days. For example, adding 1 month and 3 days to 31 January 2027 gives 28 February 2027 plus 3 days, which is 3 March 2027.

What if the end date is before the start date?

The calculator counts the dates the other way round and tells you so, so you still get the correct gap. You can also press the swap button to exchange the two dates.

Are the dates I enter saved?

No. All calculations run in your browser and nothing is sent to a server or stored.

Can't find the tool you need, or something isn't working?

Tell us which tool you'd like next or what went wrong. We read every message, and requests decide what we build next.

Opens your email app. Please don't attach private files.