๐ Months Between Dates
Calculate the exact number of calendar months and remaining days between any two dates.
This months between dates calculator tells you exactly how many full calendar months and leftover days separate any two dates. Instead of a raw day count, you get a result in the same units people actually use for planning: "8 months and 5 days", "2 months", or "1 month and 30 days". The calculation runs entirely in your browser โ nothing is sent to a server.
It is especially useful for lease and rental terms, subscription renewals, loan or payment schedules, baby and pregnancy milestones, project timelines, and school or work terms that are quoted in months rather than days. Many contracts state notice periods or durations "in months", and this tool tells you exactly how many calendar months have passed between a start and an end date.
For example, if your gym membership runs from January 15 to September 20, enter those two dates and the tool answers 8 months and 5 days: eight full calendar-month steps from mid-January through mid-September, plus the five days left over. Pair it with the Days Between Dates calculator when you need the precise day count for the same span.
How Many Months Are Between Two Dates?
Months do not have a fixed length, so a pure day count is often less useful than a calendar-month answer. This tool walks forward from the start date in whole calendar months โ January 15 to February 15 is 1 month, January 15 to March 15 is 2 months โ and then counts the remaining days to the end date. Because it uses calendar months instead of a fixed 30-day assumption, the result always matches how a printed calendar (or a contract) counts time.
How Does the Calculation Work?
The calculator pins both dates to midnight UTC, so your device time zone and daylight-saving settings never shift the answer. It first counts the full calendar months between the two dates: from the start date it steps month by month, and each step that lands on or before the end date counts as one full month. When the end-of-month day is missing in the target month, the step clamps to the last day of that month โ January 31 to February 28 in a common year counts as one full month, because February has no 31st.
After the last full month step, the remaining span is converted to days by dividing the leftover milliseconds by 86,400,000. The tool also reports the total day count and the same span in weeks and days, so you can cross-check the result against the Days Between Dates or Weeks Between Dates calculators on this site. The date order never matters โ the calculator sorts the dates automatically and always returns a positive span.
Practical Examples
A rental agreement from March 1 to December 1 returns 9 months โ exactly three quarters of a year. A one-year car insurance policy from June 10, 2025 to June 10, 2026 returns 12 months even though the total is 365 days, because the calendar-month count wins over the day count. A subscription started on September 3 and canceled on October 3 is 1 month, which is how most providers state the billing cycle.
Not every span lands on a month boundary. Moving in on April 18 and out on July 4 gives 2 months and 16 days: two full calendar months (April 18 to June 18) plus sixteen days to July 4. The same logic handles spans crossing New Year โ from December 10, 2025 to February 10, 2027 the answer is 14 months, because December 2025 through January 2027 contains fourteen month-boundary steps.
Illustration: How the Break-Down Works
Edge Cases and Common Pitfalls
The biggest confusion is end-of-month dates. Because February has no 31st, a span from January 31 to February 28 counts as 1 month โ the step clamps to the last day of February. From January 31 to March 30, however, the answer is 1 month and 30 days (February 28 plus thirty days), because the full-month step lands on February 28 and the rest does not reach a second month boundary.
Another common pitfall is assuming a month always means 30 or 31 days. A calendar-month count differs from "30 days x N": three calendar months from a start date can be 89, 91, or 92 days depending on the months involved. If your context needs an exact day count โ for example interest accrual or an hourly billing period โ use the Days Between Dates calculator instead, and combine it with this tool when you want both the calendar view and the precise total.
Try also:
Frequently Asked Questions
๐ Zet deze tool gratis op jouw site ยท vrije widget, geen registratie