Omni Calculator logo

Month Calculator | Month Counter

Created by Tibor Pál, PhD candidate
Reviewed by Dominik Czernia, PhD and Jack Bowater
Last updated: Jan 16, 2024


This month calculator, or month counter, is a simple tool to compute the precise number of months between two given dates. In case if the number of months between the two dates is incomplete, the number of days is given instead.

So if you would like to know how many months are between two dates, you are in the right place!

How to use the month calculator? - how many months between two dates?

After entering the start date and the end date, the month calculator will return the number of months and any remaining days.

An essential feature of the calculator is that it takes into account the precise number of days of all of the months, including the effect of leap years.

What is a leap year?

Do you know anyone who has a birthday on the 29th February? If you do, or if by chance you are the "lucky person" in question, you must know what a leap year is.

A leap year (also known as an intercalary year or bissextile year) is a calendar year that has one extra day added to keep the calendar year harmonized with the astronomical year or seasonal year.

Since the complete orbit of the Earth around the Sun takes approximately 365 days, 5 hours, 48 minutes, 45 seconds, a calendar that has only whole days in it will drift over some time. By adding (or intercalating with a technical terminology) an extra day, the difference can be eliminated. A year that is not a leap year is a common year.

Want to find out more? Why don't you check the calendar calculator or the date to date calculator? 📅

When is a leap year?

So when is leap year? In the Gregorian calendar, most years that are divisible by four are leap years. In each leap year, the month of February has 29 days instead of 28. The extra day every four years compensates for the fact that the solar year is lightly longer than 365 days. The duration of a solar year is slightly less than 365.25 days (or, more precisely, it is 365.24219 days long).

However, we must still do some further correction. If a year is exactly divisible by four, it is a leap year, except for years that are precisely divisible by 100. The exceptions are years that are exactly divisible by 400. For instance, the years 1700, 1800, and 1900 are common years, but the years 1600 and 2000 are leap years.

Translating all of the above into an algorithm, which is applied in this calculator as well, the following conditions are required to determine if a year is a leap years:

if (year is not divisible by 4) then (it is a common year)
else if (year is not divisible by 100) then (it is a leap year)
else if (year is not divisible by 400) then (it is a common year)
else (it is a leap year)

Why don't you also check the months to years calculator?

FAQ

How do I find the months between two dates?

To estimate the number of months between two dates:

  1. Write down the earlier date (ED) and later date (LD).
  2. If the dates occur within the same year, add the results of these formulas:
    • LD month - ED month; and
    • (LD days - ED days)/30.44.
  3. Otherwise, if the dates are from different years, add the results of these formulas:
    • (LD years - ED years - 1) * 12;
    • 12 - ED month + LD month; and
    • (LD days - ED days)/30.44.

Which is the shortest month?

February. With only 28 days February is the shortest month of the year. This is also the only month affected by leap years. In leap years, February has 29 days instead of 28.

How many months does a leap year have?

12 months. A leap year has exactly as many months as a normal year. The only difference is that the shortest month (February) has one extra day to synchronize our calendar year with the solar year.

Why is March named March?

The month of March took its name from the Roman calendar's first month, Martius, which at the same time, is derived from Mars, the Roman god of war and father of Romulus and Remus.

Tibor Pál, PhD candidate
Starting date
Ending date
There are 12 month(s) and 1 day(s) between the chosen dates.
Check out 30 similar time and date calculators ⏳
8-hour shiftAdd timeAge… 27 more
People also viewed…

Jacket size

The jacket size calculator will help you pick a jacket or coat that fits you perfectly.

Millionaire

This millionaire calculator will help you determine how long it will take for you to reach a 7-figure saving or any financial goal you have. You can use this calculator even if you are just starting to save or even if you already have savings.

Plant spacing

Planning out your garden? Try the plant spacing calculator.

UK to US shoe size converter

Use our UK to US shoe size converter to switch between those sizing methods.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service