How to calculate length of service between dates

Last Updated: September 22, 2026

Count elapsed days and calendar years, months and days between two dates, with clear endpoint and leap-year conventions.

Open the length of service calculator · More Miscellaneous videos

The calculation

Elapsed service = end date − start date; calendar components require a stated counting convention

Worked example

From March 15, 2022 to June 20, 2025: three full years, then three months, then five days. Standard elapsed-date subtraction gives 1,193 days; counting both endpoint dates gives 1,194 calendar dates.

This teaches calendar arithmetic, not benefit eligibility. Employer rules may treat breaks, part-time work, end-of-month dates and inclusive service differently.

Video chapters

  • 0:00 — A date interval needs a counting rule
  • 0:18 — Count complete anniversaries first
  • 0:34 — Then count months and remaining days
  • 0:50 — Total days use the real calendar
  • 1:11 — Including both dates adds one
  • 1:29 — Months do not have a fixed day length
  • 1:50 — Separate elapsed time from credited service
  • 2:11 — Dates → convention → checked interval
Read the full transcript

How long is the service from March fifteenth, twenty twenty-two, to June twentieth, twenty twenty-five? We can describe the interval in total days, or in calendar years, months, and days. Those are different representations. Before calculating, decide whether you want elapsed time or a count including both endpoint dates.

Starting on March fifteenth, twenty twenty-two, move forward one year at a time. March fifteenth, twenty twenty-five, completes three calendar years. Stop at the last anniversary that does not pass the end date. The remaining interval starts from that anniversary, not from January first.

From March fifteenth to June fifteenth is three complete calendar months. From June fifteenth to June twentieth is five elapsed days. Put the parts together: three years, three months, and five days. Check by adding those parts back to the original start date; you arrive at the stated end date.

For a total-day answer, subtract the actual calendar dates. This interval contains a leap day in twenty twenty-four. Three anniversary years contribute one thousand ninety-six days, and the remaining interval contributes ninety-seven. The total is one thousand one hundred ninety-three elapsed days. Calendar years are not always three hundred sixty-five days long.

From Monday to Tuesday, one day elapses, even though two named calendar dates are included. That small example explains the endpoint difference. If the service rule counts both the start date and the end date, add one to the elapsed-day count. Our example would then include one thousand one hundred ninety-four dates.

Do not turn calendar months into thirty-day blocks unless that is the required convention. February and other months have different lengths. End-of-month starts, such as January thirty-first, can also require a specific rule for adding months. A decimal number of years is not automatically the same as a calendar years-and-months answer.

An employment or benefit policy may count service differently from uninterrupted calendar time. Breaks, excluded periods, and other rules can change credited service. First calculate the date interval clearly. Then apply the actual policy separately. The calendar result alone does not decide an entitlement or benefit amount.

Record the start and end dates, state the endpoint convention, and use real calendar lengths. For calendar components, count full years, then months, then days, and add them back to check. Our example is three years, three months, five days, or one thousand one hundred ninety-three elapsed days.

Sources

Keep learning

Browse Miscellaneous videos · All calculator videos