What is a months between dates calculator?
A months between dates calculator measures the gap between two dates in months. Enter a start date and an end date, and it gives you the total months, the number of full calendar months, the leftover days, and the total days. It is the tool for anything measured in months: a loan tenure, a rental agreement, a pregnancy, a course, a child's age in months, or a notice period.
Months are the unit of most contracts and most milestones. Rent is monthly, salaries are monthly, loan EMIs are monthly, and a baby's first year is tracked month by month. If you want the same gap in days only, our date difference calculator gives it. For months, this is the tool.
It runs entirely in your browser. Pick the two dates, read the answer, and nothing is uploaded or stored. Contract dates and family dates are personal, and a counting tool has no business collecting them.
How months between two dates are worked out
The calculation is not a simple division, because calendar months are uneven. The calculator counts full calendar months first: from the 15th of one month to the 15th of a later month is one full month, whatever the months in between. From 15 January 2026 to 1 August 2026 is 6 full months — 15 January to 15 July — plus 17 leftover days, because 1 August is 17 days past 15 July.
The decimal figure is the total days divided by 30.44, the average month length: 198 days is 6.5 months. That figure is approximate by design, and it is shown alongside the exact full-months figure so you can see both. The full-month count is the exact calendar answer; the decimal is the same gap in a single number.
The borrowing rule is what makes calendar months tricky. If the end day is smaller than the start day, you borrow days from the previous month — and months have different lengths, so the borrowed amount changes. From 15 January to 1 August, the day 1 is smaller than 15, so you borrow July's 31 days: 1 + 31 − 15 = 17 days, and the month count drops by one. The calculator handles all of that automatically.
The start and end dates — the inputs people get wrong
Both dates have to be exact, and the most common error is a wrong year on one of them. A rental from 2026 to 2027 typed as ending in 2026 gives a negative gap and a dash instead of an answer. Check the year on both dates first, then the month, then the day. A wrong year is the only error that changes the answer by twelve months at a time.
The second error is the day and month swapped — the old 05/06 problem, where 5 June and 6 May trade places depending on the country. The date picker removes that risk: pick from the calendar and there is nothing to swap. The third error is subtler: picking the wrong start day. A loan that starts on the 15th counts its first full month on the 15th of the next month, not the 1st, and starting from the 1st instead shifts every month boundary by two weeks.
The dates default to 15 January 2026 and 1 August 2026 so the worked example is stable. Change them to your own dates and the answer updates at once. If the end date is before the start date, the calculator shows a dash — swap them around.
A worked example: 6 full months and 17 days
Run the default example. From 15 January 2026 to 1 August 2026 is 198 days in total. The full calendar months are 6: 15 January to 15 February is one, and so on up to 15 July. The leftover days are 17, because 1 August is 17 days past 15 July. The decimal figure is 198 divided by 30.44, which is 6.5 months. So the gap is 6 full months and 17 days, or about 6.5 months.
Now a clean span. From 1 January 2026 to 1 January 2027 is 12 full months, 0 leftover days, and 365 days in total. The decimal figure is 365 divided by 30.44, which is 12.0 months. Notice the two figures agree here, because the start and end days match exactly — the day figure is zero, and the decimal lands on a round number.
And the edge case: if the start date and the end date are the same day, the answer is 0 months, 0 days, 0 full months, 0 total days. That is not an error — it means there is no gap. A one-month gap that starts on the 31st of a month and ends on the 30th of the next is still one full month only if the calendar says so, which is exactly why the borrowing rule exists.
Why counting in months matters
Months are the unit of money. A loan tenure of 6 months, a rent agreement of 11 months, a salary paid monthly — all of them are counted in calendar months, and the exact month count decides the amount. A date difference calculator gives the same gap in days, but a lender or a landlord wants months, and this calculator gives months the way contracts count them. A subscription that runs for 6 months from 15 January ends on 15 July, not at the end of July, and the renewal date is the same day of the month as the start — the calendar-month rule, not a 30-day rule.
Family milestones run in months too. A baby's first year is tracked month by month — 6 months, 9 months, 12 months — and parents use the full-month count to know which milestone has been reached. Pregnancy is tracked in weeks, and a pregnancy due date calculator counts from the last period to the expected date, but the months since birth are counted in full calendar months.
Work uses months for notice periods, probation, and project phases. A three-month notice period starting on the 15th ends on the 15th three months later, not at the end of the third month — and the full-month count is what makes that exact. The decimal figure is for rough talk; the full-month figure is for contracts.
Months between dates vs date difference calculator
These two tools overlap, and the difference is the unit each one leads with. The months between dates calculator leads with months: the decimal month figure, the full calendar months, and the leftover days. The date difference calculator leads with days and gives the gap in days, weeks, months, and years all at once.
If the question is 'how many months is this tenancy', use this calculator. If the question is 'how long between these two dates' in general, use the date difference calculator. They share the same calendar maths — real month lengths, leap years, and exact day counts — and the month figure is the same in both.
For a person's age, an age calculator is the specialist version: it gives years, months, and days from a date of birth, plus the total months lived. Same maths, framed for the question being asked.
Common months between dates mistakes
The most common mistake is treating every month as 30 days. A span of 198 days is 6.5 months by the average, but it is 6 full months and 17 days by the calendar — and for a contract, the calendar figure is the one that counts. Dividing days by 30 gives a slightly wrong answer every time, because real months are 28 to 31 days.
Second: counting from the 1st when the real start day is mid-month. A loan starting on the 15th does not complete its first month on the 1st of the next month; it completes it on the 15th. Starting from the wrong day shifts every month boundary. Third: forgetting the leap day. A span crossing 29 February is a day longer, and the leftover-day figure moves by one.
Fourth: using the decimal figure as if it were exact. 6.5 months is an average-month conversion, useful for rough planning and wrong for exact scheduling — the full-month figure is the exact one. Fifth: swapping the dates. An end date before the start date gives a dash, not a negative month count — swap them and try again.
How to use this months between dates calculator
Using it takes about ten seconds. The start date is set to 15 January 2026 and the end date to 1 August 2026, so the worked example shows at once. Change both dates to your own with the date pickers, and the answer appears — total months, full calendar months, leftover days, and total days.
If the end date is before the start date, the results show a dash. Swap the two dates and the answer appears. If the answer is zero, the two dates are the same day, which means there is no gap to measure.
Everything runs in your browser, so your dates never leave your device. One practical tip: for a contract, use the full-months figure and the leftover days, not the decimal. A tenancy of 11 full months and 16 days is not an 11.5-month tenancy in legal terms — it is 11 months and 16 days, and the exact form is the one that avoids arguments.