sg-cpf

Calculate Singapore CPF employee and employer contributions with wage ceilings.

59|14|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/vobase/vobase --skill sg-cpf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sg-cpf
Source: https://github.com/vobase/vobase/tree/main/packages/cli/skills/sg-cpf
Command: npx skills add https://github.com/vobase/vobase --skill sg-cpf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Payroll teams need a reliable, auditable way to compute mandatory Singapore CPF deductions and employer contributions while avoiding common ceiling and age-band mistakes that lead to underpayments, penalties, and reconciliation work. This Skill codifies age-banded and residency-specific rate selection, monthly ordinary wage capping, and annual additional wage ceiling logic to reduce payroll defects and audit findings.

Core Features & Use Cases

  • Age and residency rate selection: Selects employee and employer contribution rates by pay month using age bands and PR year tables.
  • Wage ceiling handling: Caps ordinary wages at S$6,000 per month and enforces an annual additional wage ceiling of S$102,000 minus year-to-date ordinary wages.
  • Integer-cent arithmetic and schema guidance: Recommends storing wages and contributions as integer cents and provides validation test patterns for payroll runs.
  • Use Case: Run monthly payroll for Singapore employees, apply OW and AW ceilings, compute employee and employer contribution cents, and persist reasons for exemptions.

Quick Start

Calculate Singapore CPF contributions for an employee for a given pay month using provided ordinary and additional wages and return employee and employer contribution amounts in integer cents.

Frequently Asked Questions about sg-cpf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate Singapore CPF contributions for monthly payroll?

To calculate Singapore CPF contributions, apply age-banded and PR residency year-specific rates to monthly wages, cap ordinary wages at S$6,000, and compute annual additional wage ceilings. The calculation returns employee and employer shares in integer cents.

What is the ordinary wage ceiling for Singapore CPF calculations?

The ordinary wage ceiling for Singapore CPF calculations is S$6,000 per month. Ordinary wages are capped at this amount before applying age-banded contribution rates to determine employee and employer shares.

How does the annual additional wage ceiling work for CPF?

The annual additional wage ceiling for CPF is computed as S$102,000 minus year-to-date ordinary wages. This limits the total amount of additional wages subject to CPF contributions within a calendar year.

Can I use this CPF calculator for different employee age bands and PR years?

Yes, this CPF calculator selects employee and employer contribution rates based on pay month, age bands, and PR residency year-specific tables. It handles the rate variations automatically for accurate monthly payroll processing.

Why use integer-cent arithmetic for CPF payroll calculations?

Integer-cent arithmetic is used for CPF payroll calculations to prevent floating-point rounding errors. Storing wages and contributions as integer cents ensures precise, auditable deductions and employer contributions across monthly payroll runs.