Not every month has the same length, so counting months between two dates takes more than simple subtraction. Enter a start and end date - get the exact difference in years, months and days, plus total months, weeks and days.
Months Calculator - How Many Months Between Two Dates
Not every month has the same length, so counting months between two dates takes more than simple subtraction. Enter a start and end date - get the exact difference in years, months and days, plus total months, weeks and days.
Parameters
Enter data for calculations
💡 Fill in all required fields to unlock the calculate button
Why months are harder to count than you think
January has 31 days. February has 28 (or 29). A "month" is not a fixed unit of time, which makes the question "how many months between X and Y?" trickier than it sounds. This calculator handles the uneven lengths for you. Enter two dates, get the exact gap in years, months and leftover days - plus the total in weeks and raw days.
How to use - step by step
- Start date - enter the earlier date (contract start, pregnancy start, move-in date).
- End date - enter the later date (deadline, due date, lease expiry).
- Full breakdown - check the box to split the result into years, months and remaining days. Uncheck to see only total months.
- Read the results - the top card shows total months. Below: years/months/days grid, other units (weeks, days), and formatted dates.
Worked examples
Exactly 9 months, 0 days. (273 days, 39 weeks.)
12 months, 0 days - one full year regardless of leap status.
0 months and 28 days. February is shorter, so the month boundary never fully crosses.
5 years, 0 months. That is 60 months or 1,827 days (includes a leap day).
0 months, 16 days. The year boundary does not add an extra month.
How the calculation works
The calculator subtracts years first, then months, then days. If the day component goes negative (e.g. from the 31st to a month with only 30 days), it borrows one month and adds back the number of days in the previous month. This matches how most legal and financial systems count contract durations.
| Step | Example: Jan 15 to Oct 3 |
|---|---|
| Subtract years | 0 (same year) |
| Subtract months | Oct - Jan = 9 |
| Subtract days | 3 - 15 = -12 (negative) |
| Borrow 1 month | 9 - 1 = 8 months |
| Add days of September (30) | -12 + 30 = 18 days |
Result: 8 months and 18 days (261 total days).
Common durations people look up
| Duration | Months | Approx. days | Common context |
|---|---|---|---|
| 1 quarter | 3 | 90-92 | Fiscal reporting, probation |
| Half year | 6 | 181-184 | Lease terms, visa validity |
| Pregnancy | 9 | ~280 | Due date planning |
| 1 year | 12 | 365-366 | Annual contracts, subscriptions |
| Car loan | 48-72 | ~1,461-2,192 | Auto financing |
| Mortgage | 180-360 | ~5,475-10,950 | 15 or 30 year home loans |
Related tools
Hours Calculator
Calculate work hours from clock-in to clock-out, convert hours to days, or estimate earnings - Open calculator
Business Days Calculator
Count only working days between two dates, excluding weekends and holidays - Open calculator
Weeks Calculator
Convert a date range into complete and partial weeks - Open calculator
Date Difference Calculator
Full breakdown of years, months, weeks and days between two dates - Open calculator
Age Calculator
Find your exact age in years, months, days and even hours - Open calculator