How to Calculate Months Between Dates: A Step-by-Step Guide

Updated 5 Oct 2026 in Date & Time

Counts complete calendar months between two dates.

Dates and durations matter for notice periods, leave planning, project deadlines and contracts. Counting days on a calendar is slow and easy to get wrong, especially across months of different lengths.

What you need

Step by step

  1. Enter the start date.
  2. Enter the end date.
  3. The results update as you type, or press Calculate.
  4. Read the complete months first, then the supporting figures below it.

The formula

Months = year difference × 12 + month difference, minus 1 if the end day is earlier.

Worked example

For example, with these inputs:

the calculator returns:

Practical tips

Background

Singapore has 11 gazetted public holidays a year, and when one falls on a Sunday the following Monday is a holiday. Working-day calculations therefore need holidays removed separately from weekends.

When sharing dates internationally, write the month as a word to avoid confusion between day-month and month-day formats.

Time durations are easier to handle in minutes. Convert each time to minutes after midnight, subtract, then convert back to hours and minutes, adding 24 hours for shifts that run past midnight.

Related calculations

Want to skip the arithmetic? The free Months Between Dates Calculator does all of this instantly and updates as you type.

Run your own numbers: Months Between Dates Calculator

Related guides