Month Calculator 📅 | Month Counter | Number of months between dates (2024)

Use this month counter to easily calculate the number of months between two dates. Online month calculator, a.k.a. calendar month calculator which doubles as a monthsary calculator. Find how many months are between today and a date in the past or the future.

Quick navigation:

  1. How to use this month calculator / counter
  2. How to calculate the number of months between dates
  3. Use as a monthsary calculator
  4. What calendar is used in the month calculator

How to use this month calculator / counter

Finding out how many months there are between two dates is a common task in time planning and scheduling. For example, it can be used to estimate the number of months available to finish an assignment given some deadline, or to calculate the duration of a long trip or business travel assignment. A month counter can also be useful in analyses that require the calculation of the duration of past events with a known start and end date.

To use the tool, simply enter the start and the end date of the time period. For example, if a work assignment has a deadline on Dec 21, 2024, simply enter the current date in the first field and Dec 21, 2024 and press the button to get an exact count of the number of full months in between, as well as exact duration in months and days.

Similarly, if you are interested in the number of months since a given date in the past, just enter it in the "Start Date" field and select the present date in the second. The months calculator will return the number of full calendar months since, as well as the exact number of months and days since, while accounting for leap years.

How to calculate the number of months between dates

When calculating the number of months between dates separated by a longer period of time, leap year adjustments need to be considered or one can be off by a month or more in certain scenarios. What also makes it difficult is that different months have a different number of days. Some months have 30 days, others 31 days, and February has only 28 days in a typical year and 29 days in a leap year. Using a month counter means you need not worry about these complications.

If calculating the number of months between two dates by hand, the following table can be useful for adjusting the count based on the number of days in any given month:

Number of days in each month
MonthNumber of daysDays in a leap year

Neither difference in number of days in each month, nor leap years play a role when calculating the number of full months between two exact dates. For example, the time period between Mar 1 and Oct 1, 2024 is always 7 full months. Likewise, Feb 1 till Jul 31 is always six full months, regardless of leap years. Therefore, finding how many months between dates does not require leap-year adjustments regardless of the time interval in question.

However, the month count for a given number of days before or after a given date may vary depending both on leap years and on which months are covered by the period exactly. For example, 150 days starting from Jan 1 is May 31, 2022. This period consists of exactly 5 months. However, 150 days from Jan 1, 2024 is May 30, 2024, which is just 4 full months, or 4 months and 30 days to be exact. Such complications do not arise if the period does not include a February, or a leap year. In such cases the same time period in days or weeks always contains the same month count.

Use as a monthsary calculator

Monthsary celebrations and commemorations are becoming increasingly popular, especially romantic ones. A given "End date" would be your monthsary if "Exact time between dates" output says "X months, 0 days". X would be the exact number of months since your relationship began. If the number of days is greater than zero, then the specified "End date" is not your monthsary, but in this case you will see how many days remain until it occurs.

What is a monthsary?

A monthsary, short for "monthly anniversary", is similar to an anniversary but counts the months between an event and present time. Whereas an anniversary marks full years between events, a monthsary is recognized and celebrated when a specific number of months have elapsed, e.g. one month, three months, ten months, etc. Romantic monthsaries are therefore monthly commemorations of the date on which a couple first got together.

What calendar is used in the month calculator

This calendar month calculator is based on the Gregorian calendar. A solar calendar named after Pope Gregory XIII, it was first introduced in Europe in 1582. Today it sees use in most countries in Europe as well as countries settled or ruled by Europeans during the past centuries such as America. The Gregorian calendar contains 365 days in a typical year and adds an extra day every four years for a total of 366 days to align the calendar with astronomical events related to Earth's rotation around the Sun. Those years are called "leap years".

The Gregorian calendar is used by businesses across the world. In certain jurisdictions it coexists with local calendars.


1 Abidin C. (2016) "Happy #monthsary babe! Vernacular readings and practices of monthsaries among young couplings on social media", Networking Knowledge 9(6), DOI: 10.31165/nk.2016.96.483

2 Calendars. (n.d.). In Wikipedia. Available at

Month Calculator 📅 | Month Counter | Number of months between dates (2024)


How to count the number of months between two dates? ›

To calculate the number of months between two dates, you can subtract the start date from the month of the end date and then add 12 times the difference in years between the two dates.

How to use Excel to calculate number of months between two dates? ›

Using DATEDIF Function (Get Number of Completed Months Between Two Dates)
  1. For example, between 1 Jan 2020 and 15 March 2020, there are 2 months and 15 days. ...
  2. Below is the DATEDIF formula that will do that: =DATEDIF(A2,B2,"M")

How to calculate number of months between two dates in SQL Server? ›

The DATEDIFF() function is specifically used to measure the difference between two dates in years, months, weeks, and so on. This function may or may not return the original date. It returns the number of times it crossed the defined date part boundaries between the start and end dates (as a signed integer value).

How to calculate the number of months between two dates in sheet? ›

DATEDIF(A1, A2, "YM") Would return the number of months between the date values in both cells, subtracting years. For instance, if A1 was 1/1/2000 and A2 was 2/1/2010, this function would return 1, for a difference of 1 month between January and February, ignoring the years.

What is the formula for the number of dates between two dates? ›

e.g., start date in cell A1 and end date in cell B1, use the formula =B1 - A1.

What is the formula for month? ›


The MONTH function uses only one argument: Serial_number (required argument) – This is the date that you want to return the month of.

How to calculate days between two months? ›

To calculate the number of days between two dates, you need to subtract the start date from the end date.
  1. If this crosses several years, you should calculate the number of full years.
  2. For the period left over, work out the number of months.
  3. For the leftover period, work out the number of days.
Jan 18, 2024

What is the use of datedif() formula? ›

Calculates the number of days, months, or years between two dates. Warning: Excel provides the DATEDIF function in order to support older workbooks from Lotus 1-2-3. The DATEDIF function may calculate incorrect results under certain scenarios.

How to get month count in SQL? ›

SELECT MONTH(date) as mes, COUNT(*) as count FROM table GROUP BY MONTH(date); This way, the command returns the number of records in each month in the “date” column of the “table” table.

How to find the difference between two dates? ›

Different approaches to compute differences between two dates
  1. Method 1: Subtract the two dates. ...
  2. Method 2: Subtract the years. ...
  3. Method 3: Using the YEARFRAC function. ...
  4. Method 4: Using DATEDIF function.

How do I count between two dates in Excel? ›

To find the number of days between these two dates, you can enter “=B2-B1” (without the quotes into cell B3). Once you hit enter, Excel will automatically calculate the number of days between the two dates entered. Note that Excel recognizes leap years.

What is the formula to count time between dates? ›

The obvious method I have seen with various trainees is to subtract the date of joining from the specified end date and then divide the resultant value by 365 (or 360 for other regions) as shown below. The equivalent of the formula shown in cell E5 above would be = DAYS ($C$2, D6)/365 which would give similar results.

How do you count dates by month in Excel? ›

Consider an Excel sheet where you have list of dates as similar to the below image. First, to count by month, click on an empty cell, in this case cell D2, and enter the formula as =SUMPRODUCT(1*(MONTH(C3:C16)=G2)) and click enter to complete the task. In the formula, C3:C16 is the range of cells, and G2 is the month.

Top Articles
Latest Posts
Article information

Author: Jeremiah Abshire

Last Updated:

Views: 5573

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Jeremiah Abshire

Birthday: 1993-09-14

Address: Apt. 425 92748 Jannie Centers, Port Nikitaville, VT 82110

Phone: +8096210939894

Job: Lead Healthcare Manager

Hobby: Watching movies, Watching movies, Knapping, LARPing, Coffee roasting, Lacemaking, Gaming

Introduction: My name is Jeremiah Abshire, I am a outstanding, kind, clever, hilarious, curious, hilarious, outstanding person who loves writing and wants to share my knowledge and understanding with you.