Months Between Dates Calculator
Find the total months, years and days between two dates.
What the calculator reports
Enter two dates and the tool returns three linked outputs: the total whole months between them, that total split into years plus remaining months, and the exact day count. At the defaults — 1 January 2026 to 1 March 2026 — the results are 2 total months, expressed as 0 years and 2 months, and 59 total days. The month figure counts calendar positions; the day figure counts real calendar days, and the two measure different things.
How months between dates are counted
The total month count is the difference in calendar months — year difference times 12 plus month difference — adjusted down by one if the end day-of-month has not yet reached the start day-of-month. That adjustment is what keeps the count honest when day numbers do not align.
Worked example at the defaults
Start 2026-01-01, end 2026-03-01. The month arithmetic gives (2026 − 2026) × 12 + (3 − 1) = 2. The day-of-month check passes because 1 ≥ 1, so no adjustment fires and the total stays 2 months, or 0 years and 2 months. The exact day count is 31 (January) + 28 (February) = 59 days, since 2026 is a common year. Notice the asymmetry: the months answer is 2 regardless of leap years, while the days answer would have been 60 in 2028.
The day-of-month adjustment
Shift the end date one day earlier and the adjustment appears: 15 January 2026 to 14 March 2026 computes a raw 2 months, but day 14 has not reached day 15, so the calculator reports 1 month (plus 29 days). The same logic clamps month-end starts: 31 January 2026 to 28 February 2026 gives a raw 1, the day check sees 28 < 31, and the verdict is 0 whole months, or simply 28 days. Whole months require the start’s day number to be reached.
Two months, four different lengths
| Start | End | Total months | Total days |
|---|---|---|---|
| 1 Jan 2026 | 1 Mar 2026 | 2 | 59 |
| 1 Feb 2028 | 1 Apr 2028 | 2 | 60 |
| 1 Apr 2026 | 1 Jun 2026 | 2 | 61 |
| 1 Jul 2026 | 1 Sep 2026 | 2 | 62 |
Why two months is not a fixed span
Two calendar months can be 59, 60, 61 or 62 days depending on which months they are and whether a leap day falls inside. A subscription billed “every two months” from 1 July covers 62 days, but the same plan started 1 January covers 59 — a 5% swing in billing days per period. Contracts and subscriptions that say “two months” usually mean “the same day number two months later”, not a fixed day count, which is why this tool keeps the two answers separate.
Whole months versus average months
A second way to express a span is to divide its days by the 30.44-day average month. The default 59 days becomes 1.94 average months — close to, but not the same as, the calendar answer of exactly 2. The gap grows on short spans and on month boundaries: 28 days is 0.92 average months but can be 1 calendar month (31 January to 28 February under month-end conventions). Use the calendar count for tenancies, notice periods and age; use the average only when comparing spans of wildly different lengths on one scale.
Tenancies, subscriptions and billing
Real agreements use whole calendar months, which is why this calculator’s month-first design matters. A 12-month lease starting 15 March 2026 ends 14 March 2027 — the day-of-month rule keeps the end date pinned to the day before the anniversary, not to a 365-day count that drifts across leap years. Streaming subscriptions renew on the same day number each month, so a plan started 31 January bills on 28 February and then 31 March; the billing system, like this tool, tracks positions rather than averaging 30.44 days. When a dispute hinges on the exact wording “within two months”, the whole-month reading with the day check is the interpretation courts most often apply.
Common mistakes
- Trusting the raw month difference. January 15 to March 14 is not 2 whole months; the day check reduces it to 1.
- Mixing the two outputs. The 59-day default span is 1.94 average months but exactly 2 calendar months; quoting either figure as the other misstates the span.
- Ignoring leap years in the day count. 1 February to 1 April is 60 days in 2028 and 59 days in 2026, even though both are “2 months”.
- Counting the end date inclusively in the months figure. Whole months measure elapsed positions; adding a day for inclusivity belongs to the day count, not the month count.
Frequently asked questions
How do I calculate months between two dates?
Multiply the year difference by 12, add the month difference, and subtract one if the end day-of-month falls short of the start day-of-month. For the defaults, 1 January to 1 March 2026, that is exactly 2 months.
How many days are in two months?
It varies: two calendar months span 59 days (January–February 2026), 60 (February–March 2028), 61 (April–May 2026) or 62 (July–August 2026).
What is 1 January to 1 March 2026 in days?
59 days: 31 in January plus 28 in February, since 2026 is a common year. In leap year 2028 the same calendar span is 60 days.
Why is 31 January to 28 February counted as 0 months?
Because a whole month requires the start’s day number to be reached, and 28 is short of 31. The calculator reports 0 months plus 28 days instead of rounding up.
What is the difference between calendar months and average months?
Calendar months count positions (1 January to 1 March is exactly 2), while average months divide days by 30.44. The default span reads as 2 calendar months but 1.94 average months.
How do I express a span as years and months?
Divide total months by 12; the quotient is years and the remainder is months. A 30-month span is 2 years and 6 months, matching how tenancies and loans describe terms.
How many months are in 15 January to 14 March 2026?
1 whole month. The raw difference is 2, but day 14 falls short of day 15, so the day-of-month adjustment subtracts one; the span also holds 58 days.
Does a leap year change the months figure?
No. Month counting uses calendar positions and is blind to month lengths. Only the total-days output moves — by one day whenever February sits inside the span of a leap year.
How many months is 90 days?
About 2.96 average months (90 ÷ 30.44), but as whole calendar months it depends on the dates: 1 March to 1 June 2026 is exactly 3 months and holds 92 days, while 1 January to 1 March holds 59 days for its 2.
Method and sources
- Calendar month counting (Gregorian).