How we calculate
Where each tool's numbers come from, how we test them, and when we review them.
Hijri date and date conversion
We use the Umm al-Qura calendar, the official calendar of Saudi Arabia, published by King Abdulaziz City for Science and Technology. The tools use the Umm al-Qura table built into modern browsers, so dates are calculated on your device and never sent to a server.
Whenever the conversion engine changes, an automated test converts every day from 1 Muharram 1318 AH to the end of 1500 AH, more than 64,000 days, from Hijri to Gregorian and back, and checks that it returns the same date. It also checks known dates, such as 1 Muharram 1446 AH, which fell on 7 July 2024.
Ramadan and Eid countdowns
The start of Ramadan, Shawwal and Dhu al-Hijjah comes from the Umm al-Qura calendar, and the time left is counted in Saudi time. The official announcement follows moon sighting and can differ by a day from the calculated calendar, so every page says so.
Age calculator
Age is counted from the date of birth to today in Saudi time, in both calendars, with the same conversion engine.
End-of-service calculator
It applies Articles 84, 85, 87 and 80 of the Labor Law as published by the Ministry of Human Resources and Social Development: half a month's wage for each of the first five years, a month's wage for each year after, then the share due on resignation. Each rule has an automated test, including edge cases such as exactly five years of service.
The result is a guide, not legal advice.
Labor Law: Ministry of Human Resources and Social Development
When we review the pages
We review the pages in these cases, and the date of the last review is shown under every tool:
- Before Ramadan and before Hajj every year, we check the dates against the Umm al-Qura calendar.
- Whenever the Labor Law is amended, we review the end-of-service calculator and its text.
- Whenever someone reports a mistake.
Corrections
If you find a wrong result, write to us with the tool link and what you entered. We check the report against the official source, fix the tool if it is wrong, and record the fix here.
Corrections log
- 25 November 2026, end-of-service calculator: a resignation after exactly five years of service was given two thirds of the reward. Article 85 gives one third. The calculator and the page text were corrected.
Who reviews
Aslam Sarfraz, the software engineer who builds the site. We are not a religious or legal authority, so for religious questions and labour rights we refer you to the relevant authority.