Home › Time & Date › Months Between Dates

Months Between Dates

Find how many whole calendar months and leftover days separate two dates, with decimal months for prorating and a month-by-month list you can download.

Last updated:

Enter your values to see the result.
Advertisement
Advertisement

How to use the Months Between Dates

  1. Pick the start date and the end date. The order doesn't matter.
  2. Tick “Include the end date” if both the first and last day count, as with a lease or contract that ends on the last day.
  3. Read the result: whole months and days, plus decimal months and total days.
  4. Open the month-by-month list to see every monthly period and download it as CSV.

How months between dates are counted

  1. Whole months: step forward one calendar month at a time from the start date (15 Jan → 15 Feb → 15 Mar). Stop before you pass the end date.
  2. Remaining days: count the days from the last monthly anniversary to the end date.
  3. Month ends: when the start day doesn't exist in a month (the 29th, 30th or 31st), use that month's last day instead.

Decimal months: calendar = months + remaining days ÷ days in the following month period, or average = total days ÷ 30.436875.

Worked examples

FromToMonths and daysTotal daysAverage-month decimal
Jan 15, 2026Mar 20, 20262 months 5 days642.103
Jan 31, 2026Feb 28, 20261 month 0 days280.920
Feb 1, 2026Mar 1, 20261 month 0 days280.920
Mar 3, 2026Mar 25, 20260 months 22 days220.723
Sep 1, 2025Aug 31, 2026 (end included)12 months 0 days36511.992
Jun 10, 2024Oct 24, 202628 months 14 days86628.452

Where months between dates matter

  • Rent and leases: prorate a partial month using the calendar decimal, or follow the method your agreement specifies.
  • Loans and subscriptions: billing usually runs on monthly anniversaries, which is exactly how whole months are counted here.
  • Baby and pet ages: ages under two years are usually given in months, counted from the birth date the same way.
  • Employment and probation periods: "3 months from 31 May" ends on 31 August, while "1 month from 31 May" is 30 June.

Frequently asked questions

How do you calculate the number of months between two dates?

Count how many times you can add one calendar month to the start date without passing the end date; that is the number of whole months. The days from that last monthly anniversary to the end date are the remaining days. For example, 15 January to 20 March is 2 months and 5 days.

How are months counted when the start date is the 31st?

If a month has no matching day, the anniversary falls on the last day of that month. So 31 January plus one month is 28 February (29 in a leap year), and 31 January to 28 February counts as exactly 1 month.

What is the difference between the two decimal month results?

The calendar method adds the leftover days as a fraction of the month they fall in (5 days in a 31-day month = 0.161). The average-month method divides the total days by 30.436875, the average length of a Gregorian month (365.2425 ÷ 12). Both are common; contracts usually state which to use.

Should I include the end date?

Include it when both the first and last day are covered, such as a lease from 1 September to 31 August, which is exactly 12 months only when the end date counts. Leave it off for simple date differences.

How many months are between two dates in the same month?

Zero whole months; the result is just the number of days. For example, 3 March to 25 March is 0 months and 22 days.

Why don't months between dates equal days divided by 30?

Calendar months have 28 to 31 days, so dividing by 30 drifts. From 1 February to 1 March is exactly 1 month but only 28 days (29 in a leap year).

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Days Between DatesCount days, weeks, months and business days between two dates.Date CalculatorAdd days to a date or count days between dates.Age CalculatorFind your exact age and next birthday countdown.Weekday CounterCount how many Mondays, Fridays or any weekdays fall between two dates and list them.Today's DateWhat is today's date? Live date in every format: ISO, US/EU, week number, Unix, Hijri, Hebrew.Business Days CalculatorCount working days between dates, excluding weekends and holidays.Day of the Week CalculatorFind the weekday of any date, with Zeller and Doomsday steps.Half Birthday CalculatorFind your half birthday date, the countdown to it and your age in halves.Retirement Date CalculatorFind the exact date you reach retirement age, with a live countdown.Age Difference CalculatorFind the exact age gap between two people in years, months and days.Day of the Year CalculatorFind the day number of any date (1–366), days left, ISO week and quarter, or turn a day number into a date.Anniversary CalculatorHow long you've been together, your next anniversary and traditional and modern gifts by year.Time Since CalculatorLive counter of the time since any date: years, months, days, hours, minutes and seconds.Excel Date ConverterConvert Excel serial numbers to dates and times and back, in the 1900 or 1904 date system.Baby Age CalculatorYour baby's exact age in days, weeks and months, plus the next monthly milestone date.Corrected Age CalculatorChronological and corrected (adjusted) age for preemies from the due date or weeks at birth.Date to Roman NumeralsConvert a date into Roman numerals (MM.DD.YYYY or DD.MM.YYYY) for tattoos and engravings.Dog Heat Cycle CalculatorPredict your dog's next heat dates and fertile window from the last heat and cycle length.Egg Incubation CalculatorCandling, lockdown and hatch dates for chicken, duck, quail, goose and turkey eggs.Expiration Date CalculatorGet the expiry date and days left from a manufacture or opening date plus shelf life.Fiscal Year CalculatorFind the fiscal year, quarter, period and week for any date and any fiscal year start.What Generation Am I CalculatorFind your generation from your birth year: Boomer, Gen X, Millennial, Gen Z or Gen Alpha.Harvest Date CalculatorExpected harvest date and window from planting date and days to maturity, with succession.Hebrew Date ConverterConvert Gregorian dates to Hebrew calendar dates and back, with after-sunset option.Nepali Date ConverterConvert AD dates to Bikram Sambat (BS) and back, with Nepali month names and numerals.Notice Period CalculatorFind when a notice period ends: last working day and days remaining from any notice date.Oil Change Due CalculatorFind your next oil change date and odometer reading from your last change and driving.Persian (Jalali) Date ConverterConvert Gregorian dates to the Persian Jalali (Shamsi) calendar and back, with month names.Seed Starting Date CalculatorWhen to start seeds indoors, transplant and direct sow each crop from your last frost date.30 Days From TodayFind the date 30 days from today or any start date, with weekday and business days.60 Days From TodayFind the date 60 days from today or any start date, with weekday, business days and a calendar.90 Days From TodayFind the date 90 days from today or any date, with weekday, business days and a calendar.Animal Gestation CalculatorDue date, birth window and milestones for goats, sheep, pigs, cows, horses, rabbits and more.Horse Foaling Date CalculatorMare due date, foaling window and pregnancy care calendar from the cover date.Full Retirement Age CalculatorYour Social Security full retirement age, earliest claim date, 62 reduction and Medicare date.Maternity Leave CalculatorPlan maternity leave: start date, paid, PTO and unpaid weeks, and your return-to-work date.Medicare Enrollment Period CalculatorFind your Medicare Initial Enrollment Period, coverage start dates and sign-up deadlines.Sobriety CalculatorCount days, weeks, months and years sober from your sober date, with milestones and money saved.100 Days From TodayFind the date 100 days from today or any date, with weekday, business days and a calendar.180 Days From TodayFind the date 180 days from today or any date, with weekday, business days and a calendar.6 Months From TodayFind the date 6 months from today or any date, its weekday, day count and business days.Breast Milk Storage CalculatorUse-by date and time for pumped breast milk at room temp, in the fridge or freezer (CDC).Half Marathon Training Plan Generator10 to 16 week half marathon plan from your race date and level, with long runs, taper, paces and .ics.Horse Age CalculatorConvert horse years to human years, see the life stage, or get exact age from a foaling date.ISO 8601 Duration ConverterParse or build ISO 8601 durations like P1DT2H30M and convert them to seconds and h:m:s.Moving Checklist GeneratorEnter your move date and situation for a week-by-week moving to-do list with real dates.Home Inventory ListRoom-by-room home inventory with values, purchase dates, serial numbers and photos; print or CSV.Wedding Invitation Timeline CalculatorWhen to send save-the-dates and invitations, plus your RSVP deadline and final headcount date.Tax Refund Date EstimatorEstimate when your IRS refund arrives by filing date, e-file or paper, deposit or check.PTO Holiday OptimizerFind the bridge days around US holidays that turn your PTO into the most days off in a row.Age Milestones CalculatorSee when you turn 10,000 days, 1,000 weeks, 500 months or 1 billion seconds old.Baby Leaps CalculatorFind your baby's 10 developmental leap weeks and fussy-period dates from the due date.Birthday Moon PhaseSee the moon phase on the night you were born and which future birthdays fall on a full moon.Chronological Age CalculatorExact age in years, months and days on a test date, using the borrow method for assessments.Day Length CalculatorHours of daylight for any place and date, change vs yesterday and a year chart by latitude.Easter Date CalculatorWestern and Orthodox Easter for any year, with Ash Wednesday, Good Friday and Pentecost.Famous Birthdays by DatePick any date to see famous people born that day, sorted by year, with ages and categories.Length of Service CalculatorYears, months and days of service from hire and end dates, plus your next work anniversary.Who Was President When I Was BornEnter your birth date to see the US president and VP that day, plus every president in your lifetime.Project End Date CalculatorTurn effort hours, team size and workdays into a completion date with a work-day calendar.Working Days Per Month CalculatorWorking days and hours for every month of a year, minus weekends and US federal holidays.What Year Was I Born CalculatorFind your birth year from your age, or from your age on any date, plus an age-by-year table.
See all 62 Date Calculators →