Boneyard Tools

Months Between Two Dates

Choose two dates to see how many calendar months lie between them. The result shows the total whole months, the gap as years and months, and any leftover days.

How to count months between two dates

  1. Choose the first date.
  2. Choose the second date.
  3. Read the total months, the years and months breakdown, and leftover days.

Examples

Five whole months

2026-01-15 to 2026-06-15
5 months, 0 days

Five months and a few days

2026-01-15 to 2026-06-20
5 months, 5 days

Frequently asked questions

How are months counted?

Months are calendar based. The tool subtracts whole months first, matching the day of the month, then reports the leftover days. A span like January 15 to June 15 is exactly five months.

What happens at the end of a month?

When the later day is earlier in the month than the start, the partial month is dropped. Advancing the start by the whole months is clamped to the month end, so January 31 plus one month lands on February 28, and the leftover days are measured from there.

Does the order of the dates matter?

No. The earlier date is always treated as the start, so swapping the two dates gives the same totals. Every result is reported as a positive number.

Are leap years handled?

Yes. The tool uses real calendar dates, so February has 29 days in a leap year and the leftover-day count reflects the true length of each month.

Do time zones change the answer?

No. All math runs in UTC and treats each date as a plain calendar date, so daylight saving time and time zones never shift the result.

Related tools