Find the difference between two dates in years, months and days, and the total days.
Month Difference Calculator
Count the number of complete months between two dates.
- Free
- No sign-up
- Runs in your browser
Input
A date written as YYYY-MM-DD, for example 2024-01-31.
A date written as YYYY-MM-DD, for example 2024-01-31.
Fill in First date and Second date to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter two dates.
- 2
The result is the number of whole months between them.
Questions about Month Difference Calculator
What counts as a complete month?
A month is complete only when the day-of-month is reached. From the 15th to the 10th of a later month does not count that final month, so it rounds down.
Is anything sent anywhere?
No. The calculation runs entirely in your browser; your dates never leave the page.
Does the Month Difference Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Month Difference Calculator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Month Difference Calculator uploaded or stored?
No. The Month Difference Calculator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the Month Difference Calculator on a phone or tablet?
Yes. The page is responsive, so the Month Difference Calculator works the same in a mobile browser as on a desktop, and there is no app to install.
Related tools
Other tools you might reach for next.
Find an age in years, months and days from a date of birth to a given date.
Count the number of days between two dates.
Count the business days (Monday–Friday) between two dates, inclusive.
Add a number of days to a date and get the resulting date and weekday.
Subtract a number of days from a date and get the resulting date and weekday.
Find the ISO 8601 week number of a date, and its ISO week-year.
Convert a calendar date to its ISO 8601 week date (YYYY-Www-D).