๐Ÿ“† 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

Months between January 15 and September 20Jan 15Sep 208 full months5 daysEach blue block is one calendar-month step from the start date; the gray block is the leftover time.

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.

Frequently Asked Questions

How do you count the months between two dates?
The calculator steps forward from the start date in whole calendar months and counts each step that lands on or before the end date as one full month, then reports the leftover time as days. January 15 to March 15 is 2 months, and January 15 to September 20 is 8 months and 5 days.
What happens with end-of-month dates like January 31?
When the target month is shorter than the start day, the step clamps to the last day of that month. January 31 to February 28 in a common year counts as 1 month, because February has no 31st. This matches how calendars and most contracts count month boundaries.
Does the order in which I enter the dates matter?
No. The calculator sorts the two dates automatically and always returns a positive span, so entering the dates in either order gives the same number of months and days.
Does this calculator account for leap years?
Yes. All date math runs on UTC-midnight values, and February 29 exists in leap years, so a span crossing a leap year (for example February 28, 2027 to February 28, 2028) includes the extra day in its day totals.
How is this different from the Days Between Dates calculator?
The Days Between Dates calculator reports the exact number of days. This tool reports the span in calendar months plus leftover days, which is more intuitive for contracts, leases, and billing periods. The two tools complement each other: months for the calendar view, days for the precise total โ€” this page also shows the total day count under each result.
Why is 3 months sometimes 89 days and sometimes 92 days?
Because calendar months have 28 to 31 days. Three months from January 15 lands on April 15, which is 90 days in a common year, while three months from December 15 lands on March 15, which is 90 or 91 days depending on February. The calculator counts calendar months, not fixed 30-day blocks.

Written by Aren Breur โ€” IT professional with 30+ years of experience and founder of HowManyDays.app.

Every tool on this site is built, tested, and maintained by hand by Aren to be accurate, fast, and privacy-friendly โ€” all calculations run locally in your browser. Found an error or have feedback? Contact us or email aren2connect@gmail.com. Read more about this site.

๐Ÿ”Œ Zet deze tool gratis op jouw site ยท vrije widget, geen registratie