calculatorgate.com
Home
/Date Difference Calculator

Date Difference Calculator

Count the time between two dates in years, months and days, and as total days, weeks and working days. Enter a start date and an end date, and see the gap in every unit at once.

Last updated: November 15, 2026 · Written by the CalculatorGate team

Example: 1 January – 15 November 2026

The same gap in different units:

Months and days10 months, 14 days
Total days318
Total weeks45 weeks, 3 days

How Date Differences Are Calculated

Days, weeks, months, and working days explained

Calculating the difference between two dates seems simple but has several nuances depending on what you're measuring — calendar days, working days, or full months.

Calendar days: The most straightforward — count every day between the two dates including weekends and holidays. Useful for general time spans, age calculation, and deadlines.

Working days: Exclude weekends (Saturday and Sunday). Useful for project planning, contract deadlines, and business contexts. Some calculators also exclude public holidays, though these vary by country.

Months and years: Month differences are trickier because months have different lengths. February has 28–29 days while January has 31. A proper month difference calculation accounts for this — the distance from January 31 to February 28 is 1 month, not 28 days.

Common uses: How many days until an event, days between two historical dates, age in days, project duration, contract length, deadline calculation, and days until a birthday or anniversary.

How the difference is counted

  • Total days = end date − start date
  • Total weeks = total days ÷ 7
  • Years, months, days = full years, then full months, then the days left over
  • Working days = total days minus Saturdays and Sundays
  • Leap years and month lengths are taken into account
  • The end date itself isn't counted as an extra day

Worked example: 1 January to 15 November 2026

How much time is there between 1 January 2026 and 15 November 2026?

  1. Full months: 1 January to 1 November is 10 months.
  2. Days left: 1 November to 15 November is 14 days.
  3. Total days: 31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 14 = 318 days.
  4. In weeks: 318 ÷ 7 = 45 weeks and 3 days.

When to use it

  • Counting days until a deadline, a trip or an event.
  • Working out the length of a contract, a rental or a notice period.
  • Finding how long ago something happened.
  • Planning projects in working days rather than calendar days.

Common mistakes

  • Counting both the start and end day: from Monday to Friday is 4 days, or 5 if you include both.
  • Treating every month as 30 days.
  • Forgetting February 29 in leap years.
  • Forgetting public holidays when counting working days.

Frequently asked questions

Short answers to common questions

How are working days calculated?

Working days are weekdays from Monday to Friday, excluding Saturday and Sunday. Public holidays are not accounted for.

How is month difference calculated?

Month difference is calculated based on calendar months. For example, January 15 to February 20 is 1 month and 5 days.

Can it be used for past dates?

Yes, you can use both future and past dates to calculate the difference between them.

What is it used for?

It can be used for age calculation, project duration, counting vacation days, calculating working days, and many other purposes.