Months Between Two Dates Calculator

Enter a start date and an end date to get the full calendar-month count between them, plus the exact years-months-days breakdown, total elapsed days, and a decimal-month approximation.

Quick Facts

Method
Calendar year/month/day difference, with month-end borrowing
Full months = years × 12 + months. Decimal months = total days ÷ 30.44 (the average Gregorian month length, 365.2425 ÷ 12).

Your Results

Calculated
Full months elapsed
-
Complete calendar months
Years, months, days
-
Exact calendar breakdown
Total days
-
Elapsed calendar days
Decimal months
-
Days ÷ 30.44 (approx.)

Ready

Enter a start date and an end date, then press Calculate.

About the Months Between Two Dates Calculator

This calculator finds the elapsed time between a start date and an end date using standard calendar-month arithmetic — the same method used for age calculations, contract terms, and elapsed-time reporting. Enter both dates and it returns the number of complete months, an exact years/months/days breakdown, the total number of days, and a decimal-month approximation.

The calendar-month algorithm

Months are not a fixed number of days — they run from 28 to 31 days depending on which month is being spanned, and February varies with leap years. Because of this, the exact breakdown is computed the same way you would count on a calendar, not by dividing total days by 30:

  • Years = end year − start year.
  • Months = end month − start month. If the end date's day-of-month is earlier than the start date's, borrow one month and add the number of days in the month before the end date to the day count.
  • Days = end day − start day (after any borrowing above).
  • If the resulting month count is negative, borrow one year and add 12 to the months.

The full months elapsed figure is simply years × 12 + months — the count of complete calendar months, ignoring the leftover days. For example, January 15, 2025 to March 10, 2025: the day field (10 − 15) is negative, so the calculator borrows one month and adds February's 28 days, leaving 1 month and 23 days — 1 full month elapsed, with 23 days left over.

Total days and decimal months

Total days is the plain difference between the two calendar dates in whole days (end date minus start date). Choosing "Inclusive" for the count basis adds one day, which matches how contracts and rental agreements sometimes count both the first and last day of a span. Decimal months divides that total day count by 30.4368 — the average length of a Gregorian calendar month (365.2425 days per year ÷ 12) — giving a single fractional number often used in finance, insurance, and statistics when a whole-number month count is too coarse.

Common uses

  • Age calculations and anniversary or milestone tracking
  • Contract terms, notice periods, and lease or subscription lengths
  • Project timelines and deadline planning
  • Loan, warranty, or probation periods measured "in months"

Precision note

If a calculation has legal or contractual significance, check the governing document's own counting convention before relying on this result — some agreements count the first day, some the last, and finance uses day-count conventions (Actual/365, Actual/360, 30/360) that differ from calendar-month math. This calculator uses calendar convention only; it does not exclude weekends, holidays, or apply any specific legal day-count rule.

Frequently Asked Questions

How are the months between two dates calculated?
The calculator subtracts the start date from the end date field by field: years, then months, then days, borrowing from the next-higher unit whenever a field would go negative (the same way you'd count by hand on a calendar). "Full months elapsed" is years × 12 + months — the number of complete calendar months, not including the leftover days.
Why don't the total days divide evenly into the month count?
Because calendar months are not a fixed length — they range from 28 to 31 days depending on which months are spanned and whether a leap year is involved. Two spans of exactly "2 months" can have a different total day count depending on which two months they cover, so total days and full months are reported separately rather than derived from each other.
What is the difference between "full months" and "decimal months"?
Full months is the count of complete calendar months elapsed — an integer, using the same logic as counting birthdays or contract terms. Decimal months divides the total number of days by 30.4368 (the average length of a Gregorian month) to produce a single fractional number, which is a convenient approximation for finance or statistics but is not the exact calendar count.
Does it matter which date I enter first?
No — the calculator automatically treats the earlier date as the start of the span and the later date as the end, regardless of which field you typed each one into, and it notes when the dates were entered out of order.