Date Difference Calculator

Find the number of days, weeks, months and years between two dates.

Select Dates
Result
Total Difference
Select dates
In Days
0
In Hours
0
Weeks
0
Months
0
Weekdays
0
Details:
Share on WhatsApp Back to Home Page

What is a Date Difference Calculator?

A date difference calculator finds the time between two dates. It shows the difference in years, months and days, and also as total days, weeks, hours and weekdays. It is useful for project planning, leave and notice periods, warranty and loan dates, and countdowns to an event.

Example

Start date1 January 2026
End date1 October 2026
Difference0 years, 9 months, 0 days
Total days273
Weeks39
Hours6,552
Weekdays (Mon-Fri)195

What does "Include End Date" do?

By default the calculator counts the days from the start date up to, but not including, the end date. Tick Include End Date to count the end date as a full day too. This is the right choice for leave, bookings and anything where both the first and last day count.

DatesEnd date not includedEnd date included
12 Oct 2026 to 14 Oct 20262 days3 days
1 Jan 2026 to 1 Oct 2026273 days274 days

How to Use the Date Difference Calculator

  1. Select the Start Date, for example a project start date or a birth date.
  2. Select the End Date, for example today or a deadline.
  3. Tick Include End Date if the last day should be counted too.
  4. Click Calculate Difference.

What the results mean

ResultMeaning
Total DifferenceThe gap in completed years, months and days
In DaysTotal number of days between the two dates
In HoursTotal days × 24
WeeksTotal days ÷ 7
MonthsCompleted months (years × 12 + months)
WeekdaysNumber of Monday to Friday days in the range

Leap Year and Date Differences

A leap year has 29 days in February, so the same calendar dates can be a different number of days apart.

DatesYear typeDays between
28 Feb 2024 to 1 Mar 2024Leap year2 days
28 Feb 2025 to 1 Mar 2025Normal year1 day

Common Uses

UseStart dateEnd dateInclude End Date?
Project durationProject startDeadlineYes, if the deadline day is also worked
Leave daysFirst day of leaveLast day of leaveYes
Countdown to an event or birthdayTodayEvent dateNo
Time since a past eventEvent dateTodayNo
Weekdays available for workStart dateEnd dateDepends on your plan

For your exact age in years, months and days, use our Age Calculator.

Things to Know

  • Weekdays are not working days. Weekdays count Monday to Friday only. Public holidays and company holidays are not excluded.
  • Hours are calculated from days. The calculator uses dates only, not clock times, so hours equal days × 24.
  • Month-end dates. When the start day is later than the end day's month length, calculators can differ by a day or two. This calculator borrows the days of the month before the end date's month, the same way as our Age Calculator.

Features

  • Difference in years, months and days.
  • Total days, hours, weeks, months and weekdays.
  • Include or exclude the end date.
  • Handles leap years.
  • Runs in your browser. Your dates are not sent to our server.
  • Free, with no signup.

Common Uses

  • Calculate Age - How old are you in years, months, days?
  • Days between two dates for project management
  • Countdown - How many days until next birthday, anniversary?
  • Working days calculation excluding weekends

Key Features

  • Accurate Year-Month-Day Calculation
  • Total Days, Hours, Minutes
  • Weekdays and Weekends Count
  • Include / Exclude End Date Option
  • 100% Private - Runs in Browser
  • Free Forever

Frequently Asked Questions

How do I calculate the days between two dates?

Select a start date and an end date, then click Calculate Difference. The tool shows the total days, plus the breakdown in years, months and days, weeks, hours and weekdays.

Does the calculation include the end date?

Only if you tick Include End Date. Without it, the days are counted from the start date up to the end date. With it, the end date is counted as one more day.

Can I calculate my age with this tool?

Yes. Enter your date of birth as the start date and today as the end date. For extra details such as your next birthday and the day you were born, use our Age Calculator.

What is the difference between weekdays and working days?

Weekdays are Monday to Friday. Working days are weekdays minus public holidays and any other days off, which this calculator does not know about.

Does it show hours, minutes or seconds?

It shows hours. Because you pick dates only, hours are the number of days multiplied by 24. For minutes, multiply the days by 1,440.

How does it handle leap years?

February 29 is counted in leap years, so the number of days between dates that include it is one higher.

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

The tool shows a message asking you to choose an end date that is on or after the start date.

Is the date difference calculator free and private?

Yes. It is free, needs no signup and runs in your browser. Your dates are not sent to our server.