Length of service calculator
Count the exact years, months and days from joining to leaving, the total days, and the service in years with decimals that gratuity calculators use. Take out unpaid days that do not count. It also works out age from a date of birth.
An estimate, not legal advice. The law and the contract decide which days count as service.
Count the service
Nothing you enter leaves this page.
Length of serviceAge
- Total days
- Unpaid days taken out
- Days counted
- Service in years (days ÷ 365)
- Completed years
- Whole months
- Weeks
How the length of service is counted.
The calculator counts on the calendar, day by day. These are its rules.
- Years, months and days
- Whole years first, then whole months, then the days left, each counted from the first date. Service from 1 January 2020 to 31 December 2024, both days included, is exactly 5 years.
- Both days included
- For service, the first and the last working day both count, as in the end-of-service calculators on this site. For age, the count runs from the date of birth up to the date, so the age goes up on the birthday.
- Month ends
- When a month is shorter, the same date becomes its last day: one month from 31 January is 28 February (29 in a leap year).
- Total days
- Every calendar day in the period, weekends and holidays included.
- Unpaid days
- Days you enter as unpaid are taken out of the days counted and the service in years, not out of the calendar span. Whether unpaid leave counts as service depends on the law and the contract.
- Service in years
- Days counted ÷ 365, to 2 decimals, as the end-of-service calculators on this site count a year of service. 1,000 days is 2.74 years.
- Completed years
- The whole years in the days counted ÷ 365. In the UAE, for example, no gratuity is due for service under one year.
Common questions about length of service.
How do I work out length of service?
Count from the first working day to the last, both included: whole years, then whole months, then the days left. Enter the two dates above and the calculator does it, with the total days and the service in years.
Does the last working day count?
Yes. The employee works that day, so the calculator includes both the first and the last working day, as the end-of-service calculators on this site do.
Why are 5 calendar years of service 5.00 or 5.01 years?
The decimal figure divides the days by 365, so leap days add a little. Five calendar years are 1,826 or 1,827 days, which is 5.00 or 5.01 years.
Does unpaid leave count as service?
It depends on the law and the contract. Under the UAE’s labour law, days of absence without pay do not count as service, and the UAE gratuity calculator on this site takes them out.
Can I use it to work out age?
Yes. Choose Age, then enter the date of birth and the date you need, for example to check a minimum working age or a retirement age. The law where you work sets those ages.
Service counted from each person’s record.
Tempaxis keeps each person’s hire date and last working day on their record. On the Business plan and above, its compliance pack counts service for end-of-service gratuity from the hire date, less approved unpaid leave, and experience letters can state the years of service.
- Service for gratuity counted from the hire date, less unpaid leave
- Leave entitlements that grow with years of service
- Experience letters with the years of service, verifiable online
- A gratuity liability report for the whole team
Related free tools.
- UAE gratuity calculatorEnd-of-service gratuity under the 2021 Labour Law
- Saudi gratuity calculatorEnd-of-service award under the Saudi Labour Law
- Gulf gratuity comparedEnd of service in 8 countries, side by side
- Employee database templateEmployee records, service and document expiry in one sheet
- All free toolsFree calculators and generators that run in your browser.
Questions? Talk to our team.
In Arabic or English. Ask about projects, billing, people and compliance, or about plans, and we will answer.