Free tool

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.

For service, both days count; for someone still employed, use today. For age, the date is today or the day the age is needed for.

Days of unpaid leave or absence that do not count as service.

How it works

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.

Spot a mistake? Tell us

Questions

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.

In Tempaxis

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
See payroll and WPS
Free tools

Add this calculator to your website

Copy this code into your page. The calculator runs in a frame with a link to this page; nothing your visitors enter is sent anywhere.

Use and share this page

Free to use. If you quote it in an article, a report or a class, please credit Tempaxis with a link. Copy this line:

Questions? Talk to our team.

In Arabic or English. Ask about projects, billing, people and compliance, or about plans, and we will answer.

Keyboard shortcuts

These keys work on every page. Single-key shortcuts do nothing while you type in a field.

Keyboard shortcuts
/Open search
Ctrl KOpen or close search (⌘ K on a Mac)
?Show this list
g then hGo to the home page
g then tGo to the free tools
↑ ↓In search: move between the box and the results
EnterIn search: open the first result
EscClose search, this list, the menus and the language menu
← →On a row of tabs: the previous or next tab

Turn them off if they get in the way of a screen reader or speech software. Ctrl K keeps working. The choice is kept in this browser only.