Date and time calculators

Months Calculator

Use this months calculator to find complete calendar months between dates or add and subtract months with clear handling for the 29th, 30th, and 31st.

Private browser calculation Transparent methodUpdated 2026-07-16

Step 1

Your inputs

Runs on this device. Inputs are not saved or sent unless you choose to share a result.

Step 2: Your result

Your result will appear here

Enter the details and calculate. The result stays in this browser unless you choose to share it.

What is Months Calculator?

A months calculator follows real month boundaries instead of assuming 30 days. It measures complete months plus remainder days or applies month offsets with a visible adjustment when the target month is shorter.

How to use Months Calculator

  1. Choose Between dates, Add months, or Subtract months.
  2. Enter both dates or a start date and month amount.
  3. Compare complete calendar months with elapsed-day and average-month values.
  4. Check month-end adjustment for dates on the 29th, 30th, or 31st.

Features

  • Complete calendar months, remainder days, and elapsed totals.
  • Add or subtract months with a visible month-end adjustment.
  • Target-month lengths and average-month context kept separate.

How the calculation works

Between-date mode counts completed calendar months plus remainder days. Month offsets preserve the starting day when possible and otherwise clamp to the target month's final valid date.

Worked example

January 31 plus one month becomes February 28 in 2026 because February has no 31st; the result identifies that month-end adjustment.

Calendar months versus average months

January 15 to February 15 is one calendar month, even though another one-month span can contain a different number of days.

Average months divide elapsed days by 30.436875 and should not replace calendar-month wording in an agreement.

How month-end clamping works

Offsets preserve the day number when the target month contains it. Otherwise they use that month's final valid day.

January 31 plus one month becomes February 28 in a common year or February 29 in a leap year, and the result labels this adjustment.

Billing dates and agreements

Organizations can define renewals, end-of-month billing, and notice periods differently. A calculator convention cannot override written terms.

Use the result as transparent arithmetic, then compare it with the governing policy or contract.

Common use cases

  • Measuring subscriptions, tenancies, or projects in months.
  • Moving billing, review, or renewal dates.
  • Checking dates near the end of a month.
  • Comparing calendar months with elapsed days.

Accuracy and limitations

Offsets clamp to the target month's final valid date when necessary. This convention is not a universal legal or billing rule; verify official dates independently.

Reviewed 2026-07-16

Sources and further reading

These references support the calculation methods and explanatory content on this page.

Questions, answered

Months Calculator FAQ

Specific answers about this tool's method, assumptions, and limits.

How many months are between two dates?

The calculator counts completed calendar months first and then shows any remainder days. It also provides an average-month conversion for comparison, clearly separated from the calendar result.

Why does January 31 plus one month become February 28?

The target month has no day 31, so the offset clamps to February's final valid date. In a leap year that date can be February 29.

What is a complete calendar month?

It is reached at the corresponding later day, subject to valid month-end handling; remainder days stay separate.

Is one month always 30 days?

No. Gregorian months have 28, 29, 30, or 31 days.

What happens when the target month is shorter?

The result clamps to its final valid day, such as May 31 plus one month becoming June 30.

How does February change the result?

February has 28 days in common years and 29 in leap years.

Can I subtract months?

Yes. Choose Subtract months and enter a non-negative amount.

Why are calendar and average months different?

Calendar months follow dates; average months divide elapsed days by 30.436875.

Can I use this for billing?

Calculate a candidate date, then verify the provider's anniversary, proration, and month-end rules.

Are total days exact?

They are exact for the selected date-only endpoints; no clock time or timezone is included.