Months Between Dates
Count the whole calendar months between two dates, plus any leftover days.
Independently verified for accuracy
Calculator by Toolsloft ↗- Whole months
- 6
- Leftover days
- 0
Count the whole calendar months between two dates, with the leftover days shown separately. Useful for lease terms, subscription lengths, and project timelines. The tool handles months of different lengths and leap years correctly.
How this is calculated
The tool counts whole calendar months from the earlier date, then measures the leftover days to the later date, the same convention a date library uses for a month difference. A month only counts when the same day-of-month is reached, so January 31 to March 31 is exactly 2 months.
How to use
- Pick the earlier date.
- Pick the later date.
- Read the number of whole months and the leftover days.
Examples
- Half a year:
2026-01-15 to 2026-07-15 = 6 months - Month ends:
2026-01-31 to 2026-03-31 = 2 months - Months and days:
2026-01-15 to 2026-07-20 = 6 months, 5 days
FAQ
- How are partial months handled?
- The tool counts only whole months, then reports the extra days on top. So a gap of two months and five days shows as 2 months, 5 days.
- Does the order of the dates matter?
- No. The tool uses the earlier date as the start, so you get the same answer whichever order you enter them.