We use essential cookies to keep you signed in and protect forms. We also use analytics to count visits and see how pages are used. Ads on our free tools may set cookies to show and measure ads. Cookie notice
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
1Choose the start date and the end date.
2Tick the box if the end date should count as a full day too.
3Read 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.
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 DAnd total days.Both views.
Mon-FriWorking days.Weekends removed.
+1 dayEnd date option.Count both ends.
0Data 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.