Calculate months of service from a start date to today or any end date, with your exact years, months and days of service and service milestone dates.

Starts as today. Change it to count service up to another date.

Policies differ. Completed months need the monthly anniversary; inclusive counts every calendar month the service touches.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Months of service between two datesCounts the months of service from a start date to an end or as-of dateRequires the service start date, the end / as-of date and a month-count convention
Date a service milestone is reachedFinds the calendar date on which a number of months of service is completedRequires the service start date and the milestone in months
Months remaining to a milestoneFinds the months still to serve before a milestoneRequires the service start date, the end / as-of date and the milestone in months

The end / as-of date starts as today and can be changed to any date on or after the start date. A milestone is a whole number of months up to 1,200, with ready choices from 6 months to 20 years.

Months of Service Formulas

M = (Y₂ − Y₁) × 12 +
(M₂ − M₁)
MMonth difference between the two dates
Y₁Year of the service start date
M₁Month number of the service start date, 1 to 12
Y₂Year of the end / as-of date
M₂Month number of the end / as-of date

The month difference ignores the day of the month. Each convention then adjusts it.

Months of service between two dates

Completed months takes 1 off the month difference when the end date falls before that month’s anniversary of the start day. Inclusive calendar months adds 1, so that every calendar month the service touches is counted. From May 15, 2020 to August 10, 2023 the month difference is 3 × 12 + 3 = 39. August 10 is before the 15th, so the service is 38 completed months, or 40 inclusive calendar months. Ending on August 15 instead gives 39 completed months.

The result also shows the exact length of service in years, months and days, here 3 years, 2 months, 26 days, with the elapsed days and weeks and the next monthly anniversary.

Date a service milestone is reached

The milestone date is the start date moved forward by the milestone’s number of calendar months. 60 months from May 15, 2020 is May 15, 2025. When the start day does not exist in the target month, the date moves to that month’s last day: one month from January 31, 2024 is February 29, 2024.

Months remaining to a milestone

Remaining = N − completed

N is the milestone in months, and the answer stops at 0 once the milestone has passed. With a start of May 15, 2020 and an as-of date of August 10, 2023, a 60-month milestone is 60 − 38 = 22 months away. The result adds the milestone date and the calendar days left until it.

What a Month of Service Means

A month of service is one month of time worked or served, counted from the start date. A completed month runs from the start day to the same day of the next month, so service that began on the 15th gains a month on the 15th of each later month. Some policies instead credit every calendar month in which any service fell, which is the inclusive count. The two counts can differ by up to two months over the same dates.

Limits of This Estimate

  • Employers, pension plans and benefit rules count service in different ways. Use the convention written in the HR, payroll, benefit or service policy that applies.
  • The count runs between two dates without a gap. Unpaid leave, breaks in service and part-time adjustments are not taken off.