Home/Date utilities/Months between dates calculator

Date utilities · Browser calculation

Months between dates calculator

Count complete calendar months and remaining days between two dates.

01

Enter months between dates calculator details

02

Complete months between dates

Local
—

Calculated in this browser. Inputs are not saved by default.

Method

How the months between dates calculator works

The calculator advances complete calendar months from the earlier date without passing the later date, then counts the remaining calendar days.

Example

Months between dates calculator example

15 January to 15 August is 7 complete months; additional days after 15 August form the remainder.

FAQ

Months between dates calculator FAQ

Why not divide days by 30?

Calendar months vary from 28 to 31 days, so complete-month arithmetic better matches dates.

What happens on the 31st?

Month advancement clamps to the last valid day when needed.

Does date order matter?

The duration is positive and the result notes which date came first.

How do I show a span of more than 12 months as years, months and days?

Use the years between dates calculator. It counts complete calendar years first, then the remaining months and days, and also reports the total number of complete months.