Skip to content
Two dates → Years, months, daysCalculator tools

Date Difference Calculator

Find the time between two dates in years, months and days, plus total days, weeks, weekdays and weekend days. Include or exclude the end date.

Add this calculator to your websiteFree for blogs, schools and coaching sites. Paste one piece of code.
Colours
Preview

No sign-up and no ads inside the calculator. Please keep the line with the link under it. In WordPress, paste it into a Custom HTML block.

About this tool

About Date Difference Calculator

The Date Difference Calculator tells you exactly how much time lies between two dates. Pick a start date and an end date (the Today buttons fill in today’s date in one tap) and the answer appears immediately in plain words, such as “2 years, 9 months and 26 days”, along with the total number of days. Below that you get the same period broken down every useful way: total days, weeks and days, whole months, weekdays from Monday to Friday, weekend days, and the equivalent in hours, minutes and seconds. The calculation follows the calendar, so it handles months of different lengths and leap years such as 29 February 2028 correctly, and it works in whole days, so daylight-saving changes cannot add or lose an hour. By default the end date is not counted, which is how most people measure age or the time until an event. Tick Include the end date when both the first and the last day count, for example for leave, hotel stays, a notice period or a project that runs from the 1st to the 31st inclusive. If the end date is earlier than the start date you still get the right answer, with a note that the dates are reversed, and the swap button puts them in order. Each date also shows its day of the week. Weekday counts do not know about public holidays, so subtract those yourself. Everything is calculated in your browser.

Date Difference Calculator tool

What people count

Exact answers for everyday deadlines

Notice periods and leave

Count the days of a notice period or holiday, including the last day.

Example1 to 30 June inclusive is 30 days, of which 22 are weekdays.

Exam countdowns

See exactly how many days and weeks are left to prepare.

ExampleFrom today to the exam date is 11 weeks and 3 days.

Legal and billing periods

Work out how long an agreement, warranty or rent period has run.

ExampleA lease from 15 March to 14 March next year is 364 days, or 365 inclusive.

Health and pregnancy

Count days and weeks since a date, such as treatment or a due date.

ExampleThe time since the last check-up is 26 weeks and 2 days.

Anniversaries

Find out how long you have been married, working somewhere or living in a city.

ExampleA work anniversary shows 4 years, 7 months and 12 days.

Projects and deliveries

Measure how long a project or shipment actually took.

ExampleAn order placed on the 3rd and delivered on the 17th took 14 days.

Date tips

Avoid off-by-one mistakes

Inclusive or exclusive?

From Monday to Friday is 4 days apart but 5 days if both days count. Check which one your leave policy, contract or exam rules mean.

Subtract public holidays

Weekdays here are Monday to Friday. Take away any public or company holidays in the period to get working days.

Months are uneven

31 January to 28 February is 28 days but counts as almost one month. Use total days when you need a precise number.

Need your age?

For an exact age on a given date, the Age Calculator is quicker.

Open Age Calculator

Comparing times, not dates?

For hours across countries, use the Time Zone Converter.

Open Time Zone Converter

Percentages of a period

To find what share of a year has passed, divide the total days by 365 (or 366) in the Percentage Calculator.

Open Percentage Calculator
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed Date Difference Calculator and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 11 November 2026

Answers and guidanceFrequently Asked Questions
How do I calculate the days between two dates?
Pick the start and end dates. The total number of days appears straight away, with years, months and days above it.
Is the end date included?
Not by default, which is how age and time-until are usually counted. Tick Include the end date to count both the first and the last day.
How are weekdays counted?
Every Monday to Friday in the period is counted. Public holidays are not known, so subtract them yourself.
Does it handle leap years?
Yes. The calculation follows the real calendar, including 29 February.
What if the end date is before the start date?
You still get the correct difference, with a note that the dates are reversed. Use the swap button to put them in order.
How many weeks are between two dates?
See Weeks and days, for example 11 w 3 d, meaning 11 full weeks and 3 extra days.
Why can months and days look unusual?
Months have different lengths, so the same number of days can be a different number of months depending on where the period starts.
Can I count business days?
Yes. Weekdays (Mon–Fri) are business days for most offices; subtract any holidays.
Does daylight saving time affect the result?
No. The calculation counts whole calendar days.
Can I calculate my age?
Yes: put your date of birth as the start date and today as the end date. The Age Calculator also shows your next birthday.
Is it free?
Yes, free with no sign-up.
Does it work on phones?
Yes. The date pickers use your phone’s own calendar.
More tools for your workflowRelated Tools

Age Calculator

Find your exact age in years, months and days today or on any date, such as an exam’s cut-off date. See your next birthday and total days lived.

Time Zone Converter

Convert a time between cities and time zones, see who is in working hours, and copy the times for a meeting invite. Daylight saving is handled automatically.

Percentage Calculator

Six percentage calculators in one: X% of Y, what percent, percentage change, add or take off a percentage, and find the original number. Shows the working.

Salary Calculator

Work out what salary to ask for from your current pay, with a walk-away figure, a target and an opening ask. Or value an offer’s full package. Rupees (LPA), dollars and more.

1 / 3
Browse all calculator tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.