Date Difference Calculator

Count how much time lies between two dates. Pick a start and end date to see the total number of days, the same span in weeks and days, in years, months and days, and the number of weekdays from Monday to Friday. Tick the option to include the end date when both the first and last day count, as with leave or rental periods.

Calculator

Loading tool…

At a glance

Inputs
Start date, end date and whether to include the end date
Outputs
Total days, weeks and days, years-months-days, and weekdays (Monday to Friday)
Leap years
Handled by the calendar; 29 February counts when it falls in the range
Not included
Public holidays and time of day

How it works

  1. Pick the start date

    Use the date picker or type the date.

  2. Pick the end date

    The end date defaults to today; change it to any date.

  3. Read the difference

    Days, weeks, years-months-days and weekdays appear immediately.

Which date tool do you need?

Different questions need different counts.

OptionBest forTrade-off
Date Difference Calculator (this page)Days, weekdays and months between any two dates.Holidays are not removed.
Age CalculatorExact age from a date of birth to today.One date only.
Epoch Timestamp ConverterConverting computer timestamps to dates.Not a day counter.
Simple Interest CalculatorInterest for a number of days (as a fraction of a year).Needs days converted to years.
A calendarMarking specific holidays and events.Counting by hand is slow.

Example: 1 January to 15 November 2026

You want to know how long it has been since 1 January 2026.

  1. Set the start date to 1 January 2026 and the end date to 15 November 2026.
  2. The result is 318 days: 45 weeks and 3 days, or 10 months and 14 days.
  3. There are 227 weekdays in that span.
  4. Tick Include the end date and the total becomes 319 days.

When to use Date Difference Calculator

Use it for notice periods, leave applications, rent agreements, loan or deposit day counts, project deadlines and exam countdowns. The weekday count helps estimate working days before removing holidays.

How months and days are counted

The calculator counts whole months from the start date, moving to the same day of each later month, or the last day when a month is shorter. The days left over after the last whole month are shown as days. This is how most people count “1 month and 14 days”.

Inclusive versus exclusive counts

A stay from 1 to 3 March is 2 nights but 3 days. Leave, rent and many legal periods count both ends, while interest and age usually count the gap. The checkbox lets you choose.

Weekdays as a starting point

Monday to Friday is a useful first estimate of working days. Subtract the gazetted holidays for your state and any company holidays to get the final number.

Counting notice periods and deadlines

Contracts and rules often say a notice period ends a set number of days after a date, and whether the first day counts can change the deadline. Many legal and HR rules exclude the day the notice is given and include the last day. When it matters, check the wording, then use the include-end-date option to match it.

Counting interest days

Fixed deposits, loans and late fees often charge interest by the day. Use the exact number of days between the two dates, and check whether the lender counts the first and last day, because that can change the total by a day’s interest.

If something looks wrong

The day count is one short of what I expected
You may need both the start and end day counted. Tick Include the end date.
The months look odd around month ends
Months have different lengths. From 31 January, one month later is the last day of February, and the remaining days are counted from there.
Working days do not match my office calendar
Subtract public holidays and any Saturdays your office works; the count covers Monday to Friday only.
The date picker shows another format
Your browser shows dates in your device’s format; the calculation is the same.

Common questions

Does it work for dates far in the past?

Yes, it uses the standard Gregorian calendar for any valid date.

Can I count hours?

No. It works in whole days.

Are my dates saved?

No. They stay in the open page only.

Does it count the start date?

By default it counts the days from the start date to the end date, so 1 to 2 January is 1 day. Tick the option to include the end date as well.

Are public holidays excluded from weekdays?

No. Weekdays are Monday to Friday; holidays differ by state and employer, so subtract them yourself.

What if the end date is earlier?

The calculator still shows the difference and notes that the end date is before the start date.

The dates you pick are counted in your browser; no dates are stored or shared.