Months Between Dates Calculator

Calculate how many months are between two dates. Get the whole months and leftover days, the exact number of months as a decimal, a years-and-months breakdown, plus total weeks and days — instantly in your browser.

Months between
Exact months
Years and months
Total weeks
Total days

ToolsSoup's Months Between Dates Calculator is a free online tool that works out how many months separate any two dates. Pick a start date and an end date and it instantly shows the number of full calendar months plus the leftover days, the exact number of months as a decimal, the same span written as years and months, and the totals in weeks and days. Everything runs in your browser, so your dates are never uploaded and there is no sign-up.

What is a months between dates calculator?

A months between dates calculator counts how many calendar months fit between two dates. Months are tricky because they are not all the same length — they range from 28 to 31 days — so you cannot simply divide the number of days by 30. This tool counts whole calendar months the way people naturally do: from the 15th of one month to the 15th of the next is one month, regardless of whether the month had 30 or 31 days. It then tells you the leftover days, the precise fractional months, and a years-and-months breakdown for longer spans.

How to count the months between two dates

The result updates the moment you change a date, so there is nothing to submit:

  1. Pick the start date (the earlier date in the range).
  2. Pick the end date (it defaults to today).
  3. Read the headline number of full months, then the leftover days underneath.
  4. Check the extra cards for the exact months as a decimal, a years-and-months breakdown, and the totals in weeks and days.

Whole months vs. exact (decimal) months

There are two useful ways to express the gap between two dates in months. The whole-month count tells you how many complete calendar months have passed plus the leftover days — for example, January 15 to April 20 is three months and five days. The exact-months figure expresses the same span as a single decimal number (such as 3.17 months) by adding the fraction of the current month that has elapsed. Whole months suit ages, tenure, and subscription periods; the decimal figure is handy for finance, interest, and proration calculations.

Why month counting is not just days ÷ 30

Because calendar months vary in length, dividing the total days by 30 gives only a rough estimate and drifts further off the longer the range. This calculator instead steps through real calendar months, so it always lands on the right count and handles edge cases correctly — including month-ends (January 31 to February 28 counts as one month) and leap years. If you also want years, days, hours, minutes, and seconds in one place, try our Date Difference Calculator; for a pure day count, see the Days Between Dates Calculator.

Why use this months between dates calculator?

  • Counts full calendar months between any two dates the way people actually count them.
  • Shows the leftover days alongside the whole months for an exact picture.
  • Gives the exact number of months as a decimal for finance and proration.
  • Breaks long spans down into years and months automatically.
  • Also reports the totals in weeks and days for quick cross-checks.
  • Handles months of different lengths and leap years correctly.
  • Runs entirely in your browser — your dates are never sent to a server.
  • 100% free with no ads, sign-up, or limits.

Frequently asked questions

How do I calculate the number of months between two dates?

Enter a start date and an end date and the tool instantly counts the full calendar months between them, then shows the leftover days, the exact months as a decimal, and a years-and-months breakdown.

How does it count a partial month?

It counts complete calendar months from the start date's day-of-month, then reports any remaining days separately. The exact-months figure adds those leftover days back as a fraction of the current month so you get a precise decimal value.

Why not just divide the days by 30?

Calendar months are 28 to 31 days long, so dividing days by 30 is only an approximation and drifts off over long ranges. This calculator steps through real months instead, so the count is always accurate.

Does it handle leap years and different month lengths?

Yes. The tool uses real calendar dates, so months of different lengths and leap years — including February 29 — are always handled correctly.

Are my dates kept private?

Yes. All calculations run locally in your browser using JavaScript, so the dates you enter are never sent to or stored on any server.