EasyUnitConverter.com

Months Calculator — Calculate Months Between Dates

Calculate the number of months between two dates or add/subtract months from a date. See also Weeks Calculator and Years Calculator.

How the Months Calculator Works

The Months Calculator computes the exact number of calendar months between two dates, or determines a new date by adding or subtracting months from a starting date. Unlike simple 30-day approximations, this calculator uses actual calendar months which vary from 28 to 31 days. It properly handles month-end edge cases — for example, adding 1 month to January 31 results in February 28 (or 29 in a leap year), since February 31 does not exist.

Month Calculation Formula

Months Between = (End Year - Start Year) x 12 + (End Month - Start Month)

If End Day < Start Day: subtract 1 month, add previous month's days to remaining

Add Months: New Date = Start Date with month incremented by N

If resulting day overflows month: clamp to last day of target month

Month-End Handling Example

January 31 + 1 month = February 28 (or 29 in leap year)

March 31 + 1 month = April 30 (April has only 30 days)

August 31 - 1 month = July 31 (July has 31 days, no adjustment)

Days in Each Month Reference

MonthDaysMonthDays
January31July31
February28/29August31
March31September30
April30October31
May31November30
June30December31

Real-World Applications

Lease and Rental Agreements

Calculate exact lease duration, renewal dates, and notice periods that are specified in calendar months.

Subscription Billing

Determine billing cycle end dates, proration periods, and anniversary dates for monthly subscriptions.

Probation Periods

Employment probation is often stated in months (3 or 6 months). Calculate the exact end date accounting for varying month lengths.

Loan Amortization

Mortgage and loan terms are specified in months (360 months for a 30-year mortgage). Calculate payoff dates and remaining terms.

Solved Examples

Example 1: A 6-month probation starts on August 20, 2024. When does it end?

Add 6 months to August 20: Aug → Sep → Oct → Nov → Dec → Jan → Feb

Answer: February 20, 2025. The day of month stays the same since Feb 20 exists.

Example 2: How many months between March 15 and November 8?

Complete months: Mar 15 → Apr 15 → ... → Oct 15 = 7 complete months

Remaining: Oct 15 to Nov 8 = 24 days

Answer: 7 months and 24 days.

Example 3: Add 3 months to January 31, 2025. What date results?

Jan 31 + 1 month = Feb 28 (overflow: Feb has no 31st)

Feb 28 + 1 month = Mar 28

Mar 28 + 1 month = Apr 28

Answer: April 30, 2025 (actually: the calculator adds 3 months directly, so Jan 31 + 3 months = April 30 since April has only 30 days).

Practice Questions

1. A 24-month car loan starts on May 15, 2024. When is the final payment?

Answer: May 15, 2026. Add 24 months = 2 years from the start date.

2. How many months between January 1, 2020 and June 30, 2025?

Answer: 65 months and 29 days. (5 years x 12) + 5 months + 29 days.

3. A 9-month notice period starts October 31, 2024. What is the end date?

Answer: July 31, 2025. Oct + 9 months = July; day 31 exists in July so no overflow.

Key Takeaways

  • Calendar months vary from 28 to 31 days; they are not fixed 30-day periods.
  • Month-end overflow clamps to the last valid day (Jan 31 + 1 month = Feb 28).
  • A complete month means same-day-of-month in the next calendar month.
  • Average month = 30.44 days (365.25 / 12); use this only for rough estimates.
  • Legal and financial contexts almost always use calendar months, not 30-day periods.
  • 12 months = 1 year exactly in the calendar, regardless of leap year status.

Frequently Asked Questions

How are months calculated when days don't match?

When the start day is greater than the end day, we borrow from the previous month. For example, from January 31 to March 5: January 31 to February 28 is not a full month (since 31 > 28), so we count 0 months and calculate the remaining days from January 31 to March 5 = 1 month and 5 days.

What happens when adding months to the 31st?

If the target month has fewer days than the source day, the date is clamped to the last day of the target month. For example, January 31 + 1 month = February 28 (or 29 in a leap year). This is the standard behavior used by most programming languages and calendar applications.

How many months are in a year?

There are exactly 12 months in a Gregorian calendar year. The total number of days varies: 365 in a regular year and 366 in a leap year. The average month length is approximately 30.44 days (365.25 / 12).

Is there a difference between calendar months and 30-day months?

Yes. A calendar month is the period from a date in one month to the same date in the next month (e.g., March 15 to April 15). A "30-day month" is a fixed 30-day period. This calculator uses calendar months for accuracy, which is how most legal, financial, and business contexts define months.

How do I calculate months for a lease or contract?

Enter the contract start date and end date to find the exact number of months. Most leases use calendar months, so a 12-month lease starting March 15 ends on March 14 of the following year (or March 15 if the lease is "through" that date).

Why does February have 28 or 29 days?

February has 28 days in common years and 29 in leap years. This dates back to the Roman calendar reforms. A leap year occurs every 4 years, except for century years not divisible by 400. So 2000 was a leap year, but 1900 was not.

Can I calculate partial months as a decimal?

The calculator shows complete months plus remaining days. To get a decimal approximation, divide the remaining days by the number of days in that particular month. For example, 3 months and 15 days in a 30-day month equals approximately 3.5 months.

Related Calculators: