Home › Unit Converters › Months Between Dates Calculator

Months Between Dates Calculator

This months between dates calculator finds the exact time between any two dates. It gives you the answer in full calendar months plus remaining days, and it also shows the same gap as total days, weeks, and hours, so you can use whichever unit fits the job. Pick a start date and an end date and the result updates straight away — handy for working out how long until a deadline, how old something is in months, or how much time has passed between two events.

2 months
2 months, 0 days · 59 days in total

The end date is not counted itself: January 1 to January 2 is 1 day. Months are whole calendar months, so the length of each month is taken into account.

January — MarchSMTWT1457811121314151819201Jan 1 → Mar 1 = 2 months
Two whole calendar months from January 1 to March 1.

How it works

Counting months between dates is trickier than it looks, because months are not all the same length. January has 31 days, February has 28 (or 29 in a leap year), April has 30, and so on. A simple trick like dividing the total days by 30 gives a rough answer, but it is usually off by a day or two — and it can be off by more when the gap crosses February. This calculator does the job properly: it counts whole calendar months first, then counts the days left over.

Here is the method. Start at the start date and step forward one calendar month at a time — January 15 to February 15 is one month, February 15 to March 15 is the second, and so on. Keep stepping while the next step still lands on or before the end date. The number of steps you managed is the number of full months. Whatever time is left between the last step and the end date is the remaining days. So from January 15 to April 10, the steps reach March 15 (2 full months), and the days from March 15 to April 10 give 26 remaining days.

Full months = whole calendar months from start to end  ·  Total days = (end − start) in days  ·  Hours = total days × 24  ·  Weeks = total days ÷ 7

Once the full months and remaining days are known, the rest is simple arithmetic. Total days is the plain difference between the two dates. Weeks is total days divided by 7. Hours is total days multiplied by 24, and minutes and seconds follow by multiplying by 60 again. The breakdown table shows all of these at once, so whether you need the gap in months for a contract, in weeks for a project plan, or in hours for a timesheet, the number is right there.

A few details are worth knowing. The end date itself is not counted: the gap runs from the start date up to, but not including, the end date, which is the standard way date differences are measured. If the start date is the 31st and a later month has only 30 days, the step lands on the last day of that shorter month — January 31 to February 28 counts as one full month. Leap years are handled automatically, so February 29 is a real date in leap years and the day counts stay exact.

Worked example

A shopkeeper wants to know how long it is from January 1, 2026 to March 1, 2026 — the length of a two-month supplier contract. Here is how the calculator works it out.

Step 1: Enter January 1, 2026 as the start date and March 1, 2026 as the end date.
Step 2: Step forward one calendar month: January 1 to February 1 is 1 full month.
Step 3: Step forward again: February 1 to March 1 is the 2nd full month, landing exactly on the end date, so there are 0 remaining days.
Step 4: Count the total days: January has 31 days and February 2026 has 28 days, so 31 + 28 = 59 days.
Step 5: Convert the days: 59 ÷ 7 = 8.43 weeks, and 59 × 24 = 1,416 hours.

The tool gives exactly this result: 2 months — 2 months, 0 days, with 59 days, 8.43 weeks, and 1,416 hours in total. Try a second pair: January 15, 2026 to April 10, 2026 gives 2 months, 26 days — 85 days, 12.14 weeks, and 2,040 hours.

FAQ

How do you count months between two dates?

Count whole calendar months first: from the start date, step forward month by month until the next step would pass the end date. Whatever days are left over after the last whole month are the remaining days. For example, from January 15 to April 10 there are 2 whole months (January 15 to March 15) plus 26 remaining days (March 15 to April 10).

Why is the number of days in a month not fixed?

Because calendar months have different lengths — 28, 29, 30 or 31 days — a month is not a fixed number of days. That is why this calculator counts whole calendar months and then counts the leftover days separately, instead of dividing the total days by 30. Dividing by 30 would give a rough answer that is off by a day or two in most cases.

How many hours are between two dates?

Multiply the total number of days between the dates by 24. The breakdown table on this page shows hours, minutes and seconds as well as days and weeks, so you can see the gap in whichever unit fits your purpose. For example, 59 days is 1,416 hours, which is 84,960 minutes.

Does the calculator include the end date?

No. The result counts the time from the start date up to, but not including, the end date. So from January 1 to January 2 is 1 day, not 2. If you need to count both the first and the last day — for example, a holiday that runs from Monday to Friday inclusive — add one day to the total days shown.

Can I use this to work out someone's age in months?

Yes. Enter the date of birth as the start date and today's date as the end date, and the full months figure is the age in whole months. A baby born on March 10, 2026, is 8 months old on November 10, 2026. For an age in years and months, divide the whole months by 12: 26 months is 2 years and 2 months.