Last updated
About the code
PinaSweldo’s source code is private. It’s written and maintained by one person, John Nazarene Dela Pisa, and isn’t published. Here is what’s in it, plainly, so you know what you’re trusting.
PinaSweldo gives estimates for planning only. It is not legal, tax or accounting advice, and it has not been reviewed by a CPA, lawyer or any government agency. Your employer's payroll, BIR, SSS, PhilHealth, Pag-IBIG and DOLE have the final word. If something looks off, check with your HR or a professional.
What runs where
- The calculator runs in your browser. Your salary, allowances and loans are worked out on your device; nothing about them is sent to work out your pay.
- Finding your region by place runs in your browser too. The minimum wage sheet can search for a city, town or province, or use your location. Either way it loads one list of the country’s 1,642 cities and municipalities (about 21 KB over the network, the same file for everyone) and matches on your device. Your location goes to no server, no map service and no link; it is used once and forgotten. The towns, provinces and regions are the Philippine Statistics Authority’s Philippine Standard Geographic Code (Q1 2026 release). Each town’s center point is from the OCHA administrative boundaries, drawn from PSA and NAMRIA data (November 2023, CC BY-IGO), as compiled in the open psgc package (MIT). A location is matched to the nearest town’s center, which can pick the neighboring town near a border, so the sheet names the town it found and offers the other one when it would change the rate.
- Three small server functions run on Cloudflare: one stores survey answers, one stores replies to “Did we get it right?”, and one serves daily exchange rates. None of them can read data back out.
- The survey database is Cloudflare D1. Answers and optional contact details sit in separate tables; see the privacy policy for what’s kept and for how long.
What it’s built with
Next.js and React, written in TypeScript, exported as static pages. Base UI for the controls, Tailwind CSS for styling, Inter for type, and Cloudflare Pages for hosting. There are no ad or tracking scripts in it. Page views are counted with Cloudflare Web Analytics, which Cloudflare adds when it serves the site; it sets no cookies and shows us only totals.
How the numbers are worked out
The payroll engine is separate from the screens, so it can be tested on its own. Every rate and cap in it carries the law or circular it comes from:
- Income tax: the TRAIN table under Republic Act 10963.
- SSS: 15% under Republic Act 11199, including the Mandatory Provident Fund.
- PhilHealth: 5% under Republic Act 11223 (Universal Health Care).
- Pag-IBIG: HDMF Circular 460.
- GSIS: Republic Act 8291. Kasambahay: Republic Act 10361.
- 13th month pay: Presidential Decree 851 and DOLE’s implementing guidelines.
The “How we got your number” section on the home page walks through the same steps with your own figures, so you can check any of them by hand.
Sources
Every law, regulation, circular and wage order the calculator uses, with a link to the official text. Each link was opened and read when the rules were last checked (28 October 2026). Where an agency’s site blocks automated reading, the link is a faithful copy and says so.
Income tax
- RA 10963 (TRAIN Law) (opens in a new tab): The income tax table, the 8% option for freelancers, the minimum wage earner exemption and the ₱90,000 limit on the 13th month and other benefits. Applies from 1 January 2018; today's tax table from 1 January 2023.
- NIRC (RA 8424), Sec. 32(B)(6) (opens in a new tab): Retirement pay under RA 7641 or a qualified plan, and separation for causes beyond your control, are not taxed. Applies from 1 January 1998.
- RR 11-2018 (opens in a new tab): How employers withhold tax on pay, the minimum wage earner rules (Sec. 2.78.1(B)(13)), the year-end adjustment and the withholding on professional fees. Applies from 1 January 2018.
- RR 11-2018, Annex E (opens in a new tab): BIR's withholding tax tables for daily, weekly, twice-a-month and monthly pay. Applies from 1 January 2023.
- RR 8-2018 (opens in a new tab): Taxable compensation is pay less the contributions and union dues (Sec. 3(B)); compensation earners get no other deductions (Sec. 8). Applies from 1 January 2018.
- NIRC (RA 8424), Sec. 32(B)(7)(f) (opens in a new tab): Union dues, like the SSS, GSIS, PhilHealth and Pag-IBIG shares, are left out of taxable income. Applies from 1 January 1998.
- RR 29-2025 (opens in a new tab): The de minimis limits: rice, laundry, medical, uniform, gifts, awards, CBA incentives, overtime meals, and 12 days of monetized leave (government leave in full). Applies from 15 days after publication (6 January 2026).
- RMC 13-2024 (opens in a new tab): BIR's note on retirement benefits under RA 7641 and RA 4917. Applies from 22 January 2024.
- RA 11534 (CREATE), Sec. 13 (opens in a new tab): Percentage tax at 1% from 1 July 2020 to 30 June 2023, back to 3% after. Applies from 1 July 2023 (3%).
- Soriano v. Secretary of Finance, G.R. No. 184450 (opens in a new tab): A minimum wage earner keeps the exemption on the wage even when other pay is taxed. Applies from 24 January 2017.
- CIR v. Court of Appeals and Castaneda, G.R. No. 96016 (opens in a new tab): Terminal leave pay of a government employee who retires is not taxed. Applies from 17 October 1991.
SSS, PhilHealth, Pag-IBIG and GSIS
- RA 11199 (Social Security Act of 2018) (opens in a new tab): SSS rates by year, the salary credit range and the benefits. Applies from 2019; 15% from January 2025.
- RA 11199 IRR, Rule 12 (opens in a new tab): What pay SSS counts: all pay for work except the 13th month and Christmas bonus. Applies from 2019.
- SSS Circular 2024-006 (opens in a new tab): The SSS table for employers and employees: 15%, salary credit ₱5,000 to ₱35,000, EC ₱10 or ₱30, the MySSS Pension Booster above ₱20,000. Applies from January 2025.
- SSS Circular 2024-007 (opens in a new tab): The SSS table for household employers and kasambahay: salary credit from ₱1,000; the employer pays all below ₱5,000. Applies from January 2025.
- RA 11223 (Universal Health Care Act), Sec. 10 (opens in a new tab): PhilHealth's premium schedule, up to 5%. Applies from 2019; 5% from 2024.
- PhilHealth Advisory 2025-0002 (opens in a new tab): PhilHealth at 5% of the monthly basic salary, floor ₱10,000, ceiling ₱100,000. Applies from January 2025.
- PhilHealth Circular 2020-0005 (opens in a new tab): The premium schedule and the monthly basic salary it is worked out on. Applies from 2020.
- DBM Circular Letter 2024-2 (on HDMF Circular 460) (opens in a new tab): Pag-IBIG on a Fund Salary of up to ₱10,000: 1% or 2% from you, 2% from your employer. Applies from February 2024.
- RA 9679 (HDMF Law of 2009) (opens in a new tab): Pag-IBIG membership, contributions and loans, which employers deduct and remit. Applies from 21 July 2009.
- RA 8291 (GSIS Act) (opens in a new tab): GSIS at 9% from you and 12% from your agency. Applies from 1997.
- SSS: Salary Loan (opens in a new tab): The SSS salary loan: 24 equal monthly amortizations, 8% a year on the diminishing balance for a first loan, collected by the employer through payroll. Applies from SSS Circular 2025-004.
Labor, leave and leaving a job
- Labor Code (PD 442), as renumbered (opens in a new tab): Overtime (Art. 87), night shift (Art. 86), rest day and special day (Art. 93), holiday pay (Art. 94), service incentive leave (Art. 95), wage intervals (Art. 103), separation pay (Arts. 298, 299) and money claims (Art. 306). Applies from 1974, as amended.
- PD 851 (13th Month Pay Law) (opens in a new tab): The 13th month: a twelfth of the basic salary earned in the year, paid by 24 December. Applies from 1975.
- RA 7641 (Retirement Pay Law) (opens in a new tab): Retirement pay of 22.5 days a year at 60 to 65 with 5 years of service, when there is no better plan. Applies from 1993.
- RA 10361 (Batas Kasambahay) (opens in a new tab): Kasambahay pay and benefits: the employer pays all contributions below ₱5,000 a month (Sec. 30); unused leave isn't converted to cash (Sec. 29). Applies from 2013.
- RA 9520 (Philippine Cooperative Code of 2008), Art. 58 (opens in a new tab): On a member's written instrument, the employer deducts what the member owes the coop and remits it within 10 days after the payroll month. Applies from 17 February 2009.
- RA 10396 (SEnA) (opens in a new tab): The 30-day conciliation at DOLE before a labor case. Applies from 2013.
- DOLE Handbook on Workers' Statutory Monetary Benefits, 2023 (opens in a new tab): DOLE's guide computations: the 261 and 313 day factors, holiday and premium pay, night shift, and converting unused service incentive leave to cash. Applies from 2023 edition. A copy of the Handbook; DOLE's own link (bwc.dole.gov.ph) blocks automated reading.
Holidays
- Proclamation 1006 s.2025 (opens in a new tab): The 2026 regular holidays and special days. Applies from 2026.
- Proclamation 1189 s.2026 (opens in a new tab): Eid'l Fitr, 20 March 2026, a regular holiday. Applies from 20 March 2026.
- Proclamation 1264 s.2026 (opens in a new tab): Eid'l Adha, 27 May 2026, a regular holiday. Applies from 27 May 2026.
- Proclamation 1447 s.2026 (opens in a new tab): 16 to 18 November 2026, special days in Metro Manila only. Applies from 16 November 2026.
- Proclamation 1427 s.2026 (opens in a new tab): The 2027 regular holidays and special days; the Eid days follow in later proclamations. Applies from 2027.
Government employees, COS and JO
- EO 64 s.2024 (SSL VI) (opens in a new tab): The government salary schedule from 2024 to 2027, and the LGU shares by income class. Applies from 1 January 2024.
- DBM National Budget Circular 601 (opens in a new tab): The 2026 salary schedule (EO 64's third tranche). Applies from 1 January 2026.
- EO 61 s.2024 (opens in a new tab): The Performance-Based Bonus and the Productivity Enhancement Incentive. Applies from 2024.
- AO 40 s.2025 (opens in a new tab): The 2025 Service Recognition Incentive. Applies from December 2025.
- RA 11997 (Kabalikat sa Pagtuturo Act) (opens in a new tab): The ₱10,000 teaching allowance, tax-free. Applies from School Year 2025 to 2026.
- CSC MC 41 s.1998 (Omnibus Rules on Leave) (opens in a new tab): Government leave: monetizing at least 10 days with 15 days of vacation leave (Sec. 22), up to 50% for valid reasons (Sec. 23), and terminal leave (Secs. 35 to 40). Applies from 1998. A copy kept by UP Los Baños' legal office.
- CSC MC 2 s.2016 (opens in a new tab): The constant factor 12 ÷ 249 = 0.0481927 for monetized and terminal leave. Applies from January 2016.
- AO 43 s.2026 (opens in a new tab): COS and JO workers: voluntary SSS, PhilHealth and Pag-IBIG by payroll deduction, and the premium of up to 20%. Applies from 3 June 2026.
- AO 39 s.2025 (opens in a new tab): The 2025 gratuity for COS and JO workers. Applies from 15 December 2025.
Minimum wages
- Wage Order NCR-28 (opens in a new tab): The daily minimum wage in Metro Manila. Applies from 26 September 2026.
- Wage Order CAR-24 (opens in a new tab): The daily minimum wage in Cordillera. Applies from 30 December 2025.
- Wage Order RB 1-24 (opens in a new tab): The daily minimum wage in Ilocos. Applies from 19 November 2025.
- Wage Order RTWPB 2-24 (opens in a new tab): The daily minimum wage in Cagayan Valley. Applies from 5 November 2025.
- Wage Order RBIII-26 (opens in a new tab): The daily minimum wage in Central Luzon. Applies from 30 October 2025, then 16 April 2026.
- Wage Order IVA-23 (opens in a new tab): The daily minimum wage in CALABARZON. Applies from 26 October 2026.
- Wage Order RB-MIMAROPA-13 (opens in a new tab): The daily minimum wage in MIMAROPA. Applies from 1 January 2026.
- Wage Order RBV-23 (opens in a new tab): The daily minimum wage in Bicol. Applies from 8 April 2026, then 1 December 2026.
- Wage Order RBVI-29 (opens in a new tab): The daily minimum wage in Western Visayas and Negros Occidental. Applies from 19 November 2025.
- Wage Order ROVII-27 (opens in a new tab): The daily minimum wage in Central Visayas, Negros Oriental and Siquijor. Applies from 14 October 2026.
- Wage Order RB VIII-25 (opens in a new tab): The daily minimum wage in Eastern Visayas. Applies from 8 December 2025, then 1 June 2026.
- Wage Order RIX-24 (opens in a new tab): The daily minimum wage in Zamboanga Peninsula. Applies from 1 January 2026, then 1 June 2026.
- Wage Order RX-24 (opens in a new tab): The daily minimum wage in Northern Mindanao. Applies from 16 January 2026, then 1 May 2026.
- Wage Order RB XI-24 (opens in a new tab): The daily minimum wage in Davao. Applies from 13 March 2026, then 1 September 2026.
- Wage Order RB XII-25 (opens in a new tab): The daily minimum wage in SOCCSKSARGEN. Applies from 2 November 2025, then 15 December 2025.
- Wage Order RXIII-20 (opens in a new tab): The daily minimum wage in Caraga. Applies from 3 January 2026, then 1 May 2026.
- Wage Order BARMM-05 (opens in a new tab): The daily minimum wage in Bangsamoro. Applies from 6 August 2026, then 1 December 2026.
How it’s checked
Automated tests cover the tax and contribution engine, the 13th month calculator, currency conversion, how typed and pasted amounts are read, how survey answers are validated, and how the server functions turn away requests from other sites, oversized ones and anything that isn’t plain JSON. They run on every change, together with type checks and a check that every language has every string, before anything is published.
Some cases are simplified on purpose, such as mixed-income freelancers or holiday-pay eligibility. Each simplification is written down in the project, and the FAQ covers the ones people ask about most.
Why it’s private
It’s a personal project, and keeping the code private lets one person maintain it carefully without managing outside contributions. That’s a choice about the code, not about you: the parts that touch your data are described above and in the privacy policy.
Found a mistake?
If a figure looks wrong, a rate has changed, or you’re a researcher, journalist or employer who’d like to look at how something is calculated, write to [email protected]. Corrections are welcome.