About the Months Between Dates Calculator
Rent agreements, loan terms, subscriptions, employment periods and pregnancy are often counted in months, but months vary from 28 to 31 days, so dividing days by 30 gives the wrong answer. This months between dates calculator counts whole calendar months and leftover days: from 15 January to 26 October 2026 is 9 months and 11 days. It also gives decimal months, by the calendar and by average month length, so you can match whichever method a contract or system uses. Notice periods, probation periods and warranty terms are common reasons to check this carefully, since a day's difference can matter.
Whole months are counted by stepping forward one calendar month at a time from the start date, so 15 January to 15 February is exactly one month, and a month after 31 January is the last day of February. For the calendar decimal, the leftover days are divided by the length of the month they fall in: 23 days into a 30-day month adds 0.77. The average method divides total days by 30.436875, the mean length of a Gregorian month, which suits long periods and statistics.
Example: from 15 January 2026 to 8 October 2026 is 8 months and 23 days. As decimals that is 8.77 months by the calendar method or 8.74 months by the average month, out of 266 days in total. Spreadsheets give the whole months with =DATEDIF(start, end, "m").
Contracts sometimes count part months as whole months, so read the agreement for the exact rule. For days use the days between dates calculator, for weeks the weeks between dates calculator, and to add months to a date the date calculator.
How to use the Months Between Dates Calculator
- Pick the start dateThe first day of the period.
- Pick the end dateThe dates are swapped if the end comes first.
- Choose whether to include the end dateTick it to count the last day as well.
- Read the monthsWhole months and days, decimal months, days and weeks.
Months Between Dates Calculator features
- Whole calendar months and days
- Decimal months by the calendar
- Decimal months by average length
- Total days and weeks
- Option to include the end date
- End-of-month dates handled
- Dates swapped automatically
Common uses
- Rent and lease periods
- Loan and subscription terms
- Employment and probation periods
- Project and contract durations
- Baby's age in months
Months between dates in practice: work experience, leases, babies' ages, loans and billing
Many everyday rules are stated in months: years of experience for a job, the length of a lease, a baby's age, a loan term or a subscription. Because months vary in length, counting them correctly takes care. This guide works through work experience and a lease, explains how employers and landlords usually count, covers babies' developmental ages and shows how months matter for loans, billing and probation.
A worked example: work experience
A job advertisement asks for at least 36 months of experience. An applicant who started their current job on 10 July 2023 has, on 25 October 2026, 3 years, 3 months and 15 days of experience, which is 39 months and 15 days. They meet the requirement with three months to spare.
Employers usually count experience from the joining date in an appointment letter to the relieving date or the application deadline, so keeping those letters makes it easy to prove your experience.
A worked example: a lease
A rental agreement runs from 1 March 2026 to 31 August 2027. Counted by the calendar, that is 1 year, 5 months and 30 days, which most people would describe as 18 months, because the end date is the last day of the 18th month. Leases, like many contracts, usually include the final day, so the agreed term is 18 months.
Babies' ages
For babies, age in months matters for milestones and health checks. Many babies sit without support at around six months and take first steps around their first birthday, though healthy children vary widely. Doctors use months, and weeks in the first months, when checking development and planning vaccinations, so counting a baby's age correctly helps prepare for appointments.
Loans and instalments
Loan terms are almost always set in months: a 36-month car loan or a 240-month home loan. The number of months remaining tells you how many payments are left. If you took a loan on 15 January 2025 for 36 months, the final payment would usually be due around December 2027 or January 2028, depending on when the first instalment was collected.
Subscriptions and billing
Monthly subscriptions renew on the same day each month, with adjustments for short months. A subscription started on 31 January usually renews at the end of February and then on 31 March or the last day of each month. Knowing the renewal date helps cancel in time if you no longer need the service.
Probation and notice periods
Employment contracts often set probation at three or six months and notice periods in months. A three-month probation starting on 20 November ends around 19 or 20 February, depending on whether the contract counts the start date. Asking HR for the exact end date avoids uncertainty about when confirmation is due.
Experience across several jobs
Experience from several jobs can be added month by month, as long as periods do not overlap. Part-time or freelance work may count differently, so check how an employer or professional body treats it. Writing exact start and end dates on a CV makes the total easy to verify.
Common mistakes
- Dividing days by 30 to get months.
- Forgetting that contracts often include the end date.
- Counting overlapping jobs twice when adding experience.
- Assuming a subscription renews on the same date in short months.
Related tools
To count days, use Days Between Dates Calculator. For weeks, try Weeks Between Dates Calculator, and to add months to a date, Date Calculator.
Visa and residence periods
Visas, residence permits and work permits are often granted for a number of months. A six-month visa issued on 15 April usually expires around 14 or 15 October, depending on the issuing country's rules. Checking the exact expiry date printed on the visa, rather than calculating it, is the safest approach.
Pregnancy in months
Pregnancy is often described as nine months, but doctors count it in weeks: about 40 weeks from the first day of the last period, a little over nine calendar months. Describing the stage of a pregnancy in months can mislead, because months vary in length and people count them differently.
Gaps on a CV
Employers sometimes ask about gaps between jobs. Calculating the months between leaving one job and starting the next lets you describe a gap accurately and explain it briefly, for example time spent studying, caring for family or relocating. Honest, precise dates build trust with employers.
Insurance and warranties
Insurance policies and product warranties often run for a set number of months from the start date. Knowing exactly when cover ends helps you renew without a gap, or make a warranty claim before it expires. Setting a reminder a month before the end date gives time to compare renewal offers.
Limits
The calculator counts calendar months. Contracts and employers may define months and part months differently, so check the wording for anything important.
Further reading: How to Calculate Age, Date Differences and Working Days.
Frequently asked questions
How do I calculate the number of months between two dates?
Count the whole calendar months from the start date, then the days left over. From 10 March to 25 July is 4 months and 15 days. The calculator also gives decimal months.
How do I calculate months between dates in Excel?
Use =DATEDIF(A1, B1, "m") for whole months and =DATEDIF(A1, B1, "md") for the leftover days. For a decimal, use =YEARFRAC(A1, B1) × 12.
How many days are in a month on average?
30.436875 days in the Gregorian calendar, which is 365.2425 ÷ 12. Using 30 days per month is a common shortcut but drifts over long periods.
What is one month after 31 January?
28 February, or 29 February in a leap year, because February has no 31st. This calculator follows that convention, used by banks and most software.
How do I convert days to months?
Divide by 30.44 for an average figure: 90 days is about 2.96 months. For an exact calendar count, use the start and end dates instead, because months vary in length.
Why do the two decimal figures differ?
The calendar method measures the leftover days against the length of the month they fall in, while the average method uses 30.44 days for every month. They usually agree to within a few hundredths.
Does the calculator count partial months?
Yes. It shows whole months plus the remaining days, and both decimal figures include the partial month. Contracts may round partial months up or down, so check yours.
How many months are between today and a date?
Leave the start date as today and pick the end date. The result shows the months remaining, which is useful for counting down to a move, a wedding or a due date.