Months between dates calculator
Enter a start date and an end date, and this tool counts the full months between them.
Results
Enter your values to see the result.
About this tool
It also shows the days left over, the same gap in years and months, and the total number of days. It is useful for loan terms, leases, subscriptions and the age of a child in months.
- How it is calculated
- whole months = largest number of months that can be added to the earlier date without passing the later one (a day that does not exist in a month moves to its last day); days = what is left
- Worked example
- With Start date: Friday, January 31, 2025; End date: Sunday, March 15, 2026, the result is: Full months: 13; Days left over: 15; Years: 1; Months left over after the years: 1; Total days: 408.
- Good to know
- Full months are the largest number of months that can be added to the earlier date without passing the later date. If a day does not exist in a month, such as the 31st, it moves to the last day of that month. The leftover days are counted from that point.
Frequently asked questions
How are partial months handled?
Only whole months are counted, and the remaining days are shown separately, so you can decide whether to round.
Why does a start date of 31 January matter?
Not every month has a 31st. Adding one month to 31 January gives the last day of February, and the tool follows that rule.
Can I see the result in years and months?
Yes. The result also shows the gap as whole years and the months left over after them.