Date Difference Calculator — Find the years, months, days and weekdays between any two dates.

Choose a start date and an end date and see the gap in years, months and days, plus total days, weeks, hours, minutes and weekdays. You can include the end date, swap the dates, and copy the answer. Everything is worked out in your browser.

Calculate the difference Your dates stay in your browser
Date difference calculator showing the time between two calendar dates

Choose two dates

Time between the dates

Difference
–
0Total days
0Weeks and days
0Full months
0Weekdays (Mon–Fri)
0Hours
0Minutes
The guide

Date Difference Calculator Guide: Days, Months, and Business Days

Learn how the time between two dates is counted and how to avoid off-by-one mistakes.

A simple explanation

What does a date difference calculator do?

It tells you how much time lies between two calendar dates. You get the answer in years, months and days, and also as a plain total of days, weeks, hours and minutes, plus the number of weekdays.

People use it to count down to an event, work out how long something lasted, check a notice period or measure a project. If you only need someone's age from a birth date, the Age Calculator is built for that.

Common reasons to compare dates

Why People Calculate the Time Between Dates

Work and projects

Count days of a project, a contract, a notice period or a delivery window, and see how many weekdays it covers.

Life events

Find how long you have been together, how long until a trip, or how many days are left before an exam.

Records and payments

Measure the time between an invoice and its due date, a purchase and a warranty end, or two medical visits.

How the answer is worked out

How Years, Months and Days Are Counted

The tool first counts whole months from the start date, then counts the days left over. If the start date is the 31st and the next month is shorter, the month is treated as ending on its last day.

Start: 31 Jan 2026 End: 1 Mar 2026 Whole months: 1 (31 Jan to 28 Feb) Days left: 1 (28 Feb to 1 Mar) Result: 1 month, 1 day (29 days in total)

The total number of days never depends on this rule. It is simply the number of midnights between the two dates, so daylight saving changes cannot add or remove a day.

Handy figures

Common Date Differences

SpanDaysWeeks
1 week71
30 days304 weeks 2 days
90 days (about a quarter)9012 weeks 6 days
180 days (about half a year)18025 weeks 5 days
365 days (common year)36552 weeks 1 day
366 days (leap year)36652 weeks 2 days
Calculate in a few steps

How to Use the Date Difference Calculator

  1. Choose a start date, or press Use today.
  2. Choose an end date. The dates can be in any order.
  3. Tick Include the end date if both the first and last day should count, for example for a 5-day event from Monday to Friday.
  4. Read the result in years, months and days, then check the totals. Press Copy result to share it.
Better results

Simple Tips for Accurate Counts

  • Ask whether the end date counts. Most "days between" answers leave it out, while a hotel stay or a leave request often includes it.
  • Weekdays here mean Monday to Friday. Public holidays are not removed, so subtract them by hand if they matter.
  • For contracts and legal deadlines, check how the rule counts days, since some count calendar days and some business days.
  • Months have different lengths, so use the total days when you need an exact figure for billing or planning.
Good to know

Limitations and Privacy

Privacy

Your dates are used only in your browser. Nothing is sent to our server or stored. Only the include end date choice is remembered on your device.

Limitations

The calculator compares calendar dates, not clock times or time zones. It uses the Gregorian calendar for every year, including early dates, and it does not remove public holidays.

Common questions

Date Difference Calculator FAQ

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

Pick a start date and an end date. The total days appear at once. By default the start day is counted and the end day is not, so Monday to Wednesday is 2 days.

Should the end date be included?

It depends on what you are counting. Tick Include the end date if both the first and last day should count, such as a 5-day trip from Monday to Friday. Leave it off to count the nights or the elapsed time.

What if the start date is later than the end date?

The calculator swaps them for you and shows a short note. The result is the same size, so the order does not matter.

How are months counted when months have different lengths?

Whole months are counted from the start date. If the start date is the 31st and the next month is shorter, that month ends on its last day. The leftover days are then counted from there.

Does it include weekends?

The total days include every day. The weekday card counts only Monday to Friday between the dates, so you can see the working days. Public holidays are not removed.

Does daylight saving time change the result?

No. The tool counts calendar dates, not hours on a clock, so a clock change does not add or remove a day.

Can I find the difference in weeks, hours or minutes?

Yes. The results show total days, weeks and days, full months, hours and minutes for the same two dates.

Are my dates saved or sent anywhere?

No. Everything is calculated in your browser. Only your include end date choice is remembered for next time.

From people using this tool

Reviews

Loading reviews…
Keep going

More tools in the box

The homepage features dozens more free tools that don't require an API key.

Suggest a tool