Free tool
Length of service calculator
- No sign-up, no email
- Nothing stored
In short
Length of service is the time from a hire date to a date, written as whole years, then whole months, then the days left. Enter a hire date and the date to count to and the calculator gives that, the decimal years, the next work anniversary and the milestone dates. You can also paste a whole team and download the list.
One employee
Example numbers are filled in so you can see how it works. Replace them with yours. Nothing you type leaves this page.
Fill in both dates.
A whole team at once
Team
Counted up to the same date as above. Type each date as year-month-day, like 2021-01-04.
| Name | Hire date (YYYY-MM-DD) | Remove |
|---|---|---|
| Name | Length of service | Years (decimal) | Next anniversary |
|---|---|---|---|
| Amira Hassan | Enter the date to count to. | ||
| Tomas Reyes | Enter the date to count to. | ||
| Daniel Okafor | Enter the date to count to. | ||
How it is calculated
- Years, months and days
- Whole years first, then whole months, then the days left. A month is added to the hire date, and a day that does not exist is moved back to the last day of that month.
- Decimal years
- Total days between the two dates divided by 365.25.
- Next anniversary
- The hire date plus the next whole number of years. On an anniversary, the next one is today.
- Milestones
- The hire date plus 1, 3, 5, 10, 15, 20 and 25 years, marked reached once the date has passed.
Worked example
- Hired 4 January 2021, counted to 30 November 2026: 5 years, 10 months and 26 days. In decimal years that is 5.9, from 2,156 days.
- The next anniversary is 4 January 2027, in 35 days, which is year 6. The 5-year milestone was on 4 January 2026, and the 10-year milestone is on 4 January 2031.
- Hired on 31 January: one month later is 28 February (29 in a leap year), the last day of the shorter month.
What it assumes
- The calculator counts calendar time from the hire date. Unpaid leave, breaks in service and a probation period are not taken out.
- If your policy or contract counts service differently, for example from a continuous-service date, type that date as the hire date.
- Decimal years use 365.25 days a year. Dates are plain calendar dates, so there are no time zone effects.
- Nothing you type is saved or sent. Download the team list before you leave the page.
These results are estimates for planning. Check them against your own records and policies before you use them in a bid, a payroll run or an employee's balance.
Questions
How do I calculate years of service?
Count the whole years from the hire date to the date you want, then the whole months left over, then the days. From 4 January 2021 to 30 November 2026 that is 5 years, 10 months and 26 days. The calculator does the counting, including months of different lengths.
Why use 365.25 for decimal years?
A year has 365 days, or 366 in a leap year. Dividing by 365.25 averages that out, so 1,826 days (a five-year span that includes one leap day) comes out at 5.0 years, not 5.003.
How does it handle someone hired on the 31st?
A month is added to the hire date and, if the later month is shorter, the date moves back to its last day. Hired on 31 January, one month is 28 February (29 in a leap year) and two months is 31 March.
Can I do many employees at once?
Yes. Add one row per person with a name and a hire date in year-month-day form. Every row is counted up to the same date, and you can download the list as a CSV file.
Nagi HR Suite
Nagi HR Suite keeps each employee's hire date and records on your own computer, so length of service is always one click from the file.
Read more
Related free tools
- Gratuity calculator (UAE and Saudi Arabia)
Estimate end-of-service gratuity for the UAE or Saudi Arabia from the dates and pay, with the working line by line and a printable result.
- Kuwait end of service calculator (gratuity and indemnity)
Estimate the end-of-service indemnity in Kuwait from the dates and wage, with the cap and the resignation share worked line by line and a printable result.
- Qatar end of service calculator (gratuity)
Estimate the end-of-service gratuity in Qatar from the dates and last basic wage, with the working line by line and a printable result.
- Bahrain end of service calculator (gratuity and leaving indemnity)
Estimate the leaving indemnity in Bahrain from the dates and last basic wage, with the working line by line and a printable result.