I started RozKaTool as a small set of free tools for Pakistan — a bijli bill calculator, a salary tax calculator, a few PDF tools. It now has 61 tools, and the most interesting thing that happened along the way is that people from other countries started using it. So I kept going across Asia. This week I added three more calculators, each one built around a law I had to read properly before writing a single line of code.
1. Philippines: 13th month pay
Every rank-and-file private-sector employee in the Philippines who worked at least one month in the year is entitled to 13th month pay under Presidential Decree No. 851. The formula looks simple — total basic salary earned during the year divided by 12 — but the divisor is always 12, never the number of months you worked. That is what makes it pro-rated automatically: six months of service earns half a month's basic pay.
The traps are in the details. Basic salary excludes overtime, allowances, holiday premium and COLA.…