Date Difference Calculator

Pick two dates to see the gap in years, months, days and working days.

Your files stay with you. Your files never leave your browser. This tool runs on your device: nothing is uploaded to our servers, so there is nothing for us to store or see.

How to use it

  1. Choose the start date and the end date.
  2. Tick the box if the end date should count as a full day too.
  3. Read the gap in years, months, days, weeks and working days.

Where it helps

Leave and notice

Count the days of leave taken or the notice period still to serve.

Invoices and credit

See how many days a payment has been overdue.

Projects

Check how many working days a job has between start and deadline.

Good to know

  • Stays in your browser

    Numbers you type are worked out on your device and never sent to our servers.

  • Holidays aren't removed

    Subtract public and company holidays by hand.

  • Decide on the end date

    Contracts say whether both days count; tick the box to match.

Questions people ask

How do you count the days between two dates?

Pick a start date and an end date. The tool shows the gap in years, months and days, the total days and weeks, and the working days from Monday to Friday. Tick 'Count the end date as well' when both days should count, as leave and notice periods often do. Public holidays aren't removed, so subtract those yourself.

  • Y M D And total days. Both views.
  • Mon-Fri Working days. Weekends removed.
  • +1 day End date option. Count both ends.
  • 0 Data sent. In your browser.
Does the calculator count the start and end day?
By default it counts the days between the dates, so 1 January to 2 January is one day. Tick 'Count the end date as well' to include both days. Many leave rules, rental terms and notice periods count both ends, so check the wording of your contract or policy first.
Does the working day count remove public holidays?
No. It removes Saturdays and Sundays only, because holidays differ by state, company and year. Look up the holidays that fall in your range and subtract them by hand. If your office works on Saturdays, add those days back from the Saturdays and Sundays count shown.
What happens if the end date is before the start date?
The tool swaps the two dates for you and says so in a note, so you still get the gap rather than an error. That's handy when you type dates in a hurry. The result is the same either way, because the number of days between two dates has no direction.
How are years, months and days worked out?
The tool counts full years from the start date, then full months, then the days left over, using each month's real length. So 10 March to 25 May is 2 months and 15 days. The total days figure is shown as well, for when you need one plain number.
How do I count days for a notice period?
Set the start date to the day you gave notice and the end date to your planned last day, and tick the end-date box if your company counts both. Compare the result with the notice period in your offer letter, such as 30, 60 or 90 days, to see if you'll serve it in full.
Can I check how many days an invoice is overdue?
Yes. Put the due date as the start and today as the end. The total days figure is how late the payment is. Many businesses use this before sending a polite reminder, and in Marketiism the invoice screen shows overdue days and can send a WhatsApp nudge.
How many working days are there in a month?
Usually 20 to 23, depending on how many weekends fall in it. Choose the first and last day of the month, tick the end-date box and read the working days figure. Then subtract any public holidays in that month to get the actual number of days your office is open.
Can I count weeks between two dates?
Yes. The result includes the gap in whole weeks plus the leftover days, such as 12 weeks, 3 days. That suits pregnancy weeks, school terms or a 12-week course. For pregnancy, doctors count from the first day of the last period, so use that as the start date.
Does it handle leap years?
Yes. It counts every real calendar day, so 29 February is included whenever it falls in your range. The gap from 1 February to 1 March is 29 days in a leap year and 28 days in other years, and the years, months and days figure stays correct too.
How do I count days for interest or rent?
Choose the start and end of the period and use the total days figure. Some banks count both ends and some don't, so match the end-date box to your agreement. You can then use the simple interest calculator, entering the time in days, to work out the amount.
Why is my result one day different from another site?
It's almost always the end-date setting. One calculator counts the days between dates, another counts both ends. Tick or untick 'Count the end date as well' and the numbers will match. Time zones can also shift a day on sites that use your computer's clock.
Can I count days between dates in different years?
Yes, any two dates from far in the past to far in the future. The tool gives the full years, months and days, plus the total. For example, 15 August 1947 to 15 August 2026 is exactly 79 years, which you can check in a couple of taps.
Is anything I enter stored?
No. The calculation happens in your browser, and the dates never reach our servers. Nothing is saved after you close the page and there's no sign-up, so you can count leave days or legal deadlines without sharing the details anywhere. Close the tab and the dates are gone for good.
Does it work on a phone?
Yes. The date fields open your phone's own calendar picker and the result updates as soon as both dates are set. It runs in any mobile browser with no app to install, so you can check a deadline or leave balance quickly while you're away from your desk.
Is the date difference calculator free?
Yes. It's free with no sign-up and no limit. It's one of the free date tools from Marketiism, together with the age calculator and the add or subtract days tool. Marketiism, our paid software, handles invoices, bookings and WhatsApp for small businesses. Use it as often as you need for work or personal planning.

Want this inside your own account?

Marketiism keeps your invoice numbers, GST reports, UPI payment links and WhatsApp reminders in one place. Leave your details and we'll call to set it up for your business, or start the trial yourself.

Start free trial

We use this only to contact you about Marketiism. No spam.

More Converters and calculators

Add or Subtract Days

Add or subtract days, weeks, months and years from any date, with working days if you need them.

Age Calculator

Find your exact age in years, months and days, and when your next birthday comes.

Time Zone Converter

Convert a date and time between India and other time zones, with daylight saving handled.

Unit Converter

Convert length, weight, area, volume, speed, data, time, pressure, energy and temperature.

Percentage Calculator

Find X% of a number, what percent one number is of another, percentage change and more.

BMI Calculator

Work out your body mass index with WHO and Asia-Pacific categories and a healthy weight range.

Try it on your own business for two weeks.

14 days free, no card. If you get stuck setting up WhatsApp, we'll get on a call and do it with you.