Months Between Dates
Find how many full months and years lie between two dates.
About Months Between Dates
Full months count from the start date to the same day position later, subtracting one month when the end day is earlier in the month. Month counting is how billing and subscriptions accrue, so the day-adjusted total is the accurate figure.
Formula
Months Between Dates
Months between = (end year - start year) x 12 + month diff, minus one if the day hasn't arrived yet
- month diff
- Month difference adjusted by the day of the month
Worked example
With the default values below, Months Between Dates returns Months Between of 77. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Start year
- 2,019
- Start monthaccepts 1–12
- 3
- Start dayaccepts 1–31
- 10
- End year
- 2,025
- End monthaccepts 1–12
- 8
- End dayaccepts 1–31
- 15
Results
- Months Between
- 77
- Years Between
- 6
- Remaining Months
- 5
Step by step
- 1Values used
- 2Months Between Dates
- 3Months Between= 77
- 4Years Between= 6
- 5Remaining Months= 5
Assumptions and limits
- The result is derived only from the 6 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to whole numbers, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
How is Months Between Dates calculated?
Months between = (end year - start year) x 12 + month diff, minus one if the day hasn't arrived yet Full months count from the start date to the same day position later, subtracting one month when the end day is earlier in the month.
Why does Months Between Dates matter?
Month counting is how billing and subscriptions accrue, so the day-adjusted total is the accurate figure.
What values do I need to enter?
This calculator takes 6 inputs: Start year, Start month, Start day, End year, End month, End day. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.
