Months Between Dates Calculator
Count the months between two dates, in whole, decimal and calendar months.
Last updated 2026-11-28 · How we calculate this
Months Between the Dates
Enter a start date and an end date.
Dates use the Gregorian calendar from 1900 to 2200, in whole days. A month is counted from a date to the same date in the next month; when that date does not exist, as with January 31, the count stops at the last day of the shorter month. Decimal months divide the days by an average month of 30.436875 days, so they can differ slightly from a lender or landlord who uses 30-day months. Check the method in your contract when money depends on it.
Quick Answer
Count whole months from the start date to the same day of each later month, then add the days left over. August 15, 2025 to November 28, 2026 is 15 months and 13 days, about 15.44 months as a decimal, and it touches 16 calendar months.
How to Use This Calculator
Enter a start date and an end date to get the gap in months, kept in months even when it runs past a year, with the days left over. The calculator also gives the same gap as a decimal, the number of calendar months the dates touch, which is how rent, subscriptions and some leases are billed, and the familiar years, months and days. Use it for lease terms, loan or payment plans, a baby's age in months or how long you have been in a job.
- Enter the start date.
- Leave the end date as today, or pick another date.
- Read the months and leftover days.
- Check the decimal and calendar-month counts if a form or bill asks for one of those.
The Formula
Months = whole months from the start date to the end date, then the days left over. Decimal months = days ÷ 30.436875. Calendar months touched = end month − start month + 1.
Months are counted on the calendar, not as blocks of days: from the 15th of one month to the 15th of the next is always one month, whether that month has 28 or 31 days. The days left after the last whole month are shown separately. The decimal divides all the days by 365.2425 ÷ 12 = 30.436875, the length of an average Gregorian month. Calendar months touched counts every month the span reaches, from the start month to the end month.
Worked Example
August 15, 2025 to November 28, 2026 is 15 months and 13 days, or 1 year, 3 months and 13 days. That is 470 days, 15.44 months as a decimal, and it touches 16 calendar months, from August 2025 to November 2026.
January 15 to March 3, 2026 is only 1 month and 16 days, but it touches 3 calendar months: January, February and March. A service billed per calendar month would charge for all three.
January 31 to February 28, 2027 counts as 1 whole month and 0 days, because February has no 31st and the month ends on its last day. That is 28 days, or 0.92 months as a decimal.
Frequently Asked Questions
Sources: Microsoft Support, DATEDIF function; U.S. Naval Observatory, Leap Years