Calculate length of service from start and end dates, or as of a reference date, in days or years, months and days for any date range.

Optional settings


Related Calculators

Length of Service Formula

The following formula is used to calculate the length of service.

LOS = E - S

Variables:

  • LOS is the length of service (in years, months, days, etc.)
  • E is the end date of service (date)
  • S is the start date of service (date)

To calculate the length of service, subtract the start date of service from the end date of service. The result is elapsed calendar days, excluding the end date; same-day service is zero days. The calendar summary counts whole months with month-end clamping, then remaining days. Employer benefit-credit rules may differ.

What is a Length of Service?

Length of Service (LOS) refers to the total duration of time that an employee has been employed by a specific company or organization. It is often used to determine eligibility for certain benefits, calculate pension or retirement plans, and sometimes to determine the amount of vacation or sick leave an employee can accrue. It can also be a factor in decisions about promotions or layoffs, with longer-serving employees often having more job security.

How do I count length of service with a break?

For a calendar-day total across separate periods of employment, calculate each period separately and add the total days. Count each date once if periods overlap. This calculator’s elapsed-day count excludes the end date. Add one day per period only if both endpoint dates count and you have already combined any overlapping periods. For qualifying or creditable service, check with your employer or plan administrator which periods count, how leave or breaks are treated, and how to count the final date. Use the plan’s counting method for an official total.

How to Calculate Length of Service?

The following steps outline how to calculate the Length Of Service (LOS).


  1. First, determine the end date of service (E).
  2. Next, determine the start date of service (S).
  3. Next, gather the formula from above: LOS = E – S.
  4. Finally, calculate the Length Of Service.
  5. After inserting the variables and calculating the result, check your answer with the calculator above.

Example Problem : 

Use the following variables as an example problem to test your knowledge.

End date of service (E) = June 30, 2022

Start date of service (S) = January 1, 2018