PPh 21 TER in payroll software: how it is calculated automatically every month
The average effective rate has applied since 2024. Here is how payroll software determines the TER category and calculates employee withholding without manual tables.
Tim W2NStudio
7 min read

Table of contents
PPh 21 TER is a way of calculating monthly income tax withholding by multiplying a month's gross income by an average effective rate. The rate is chosen from category A, B, or C based on the employee's PTKP status. In December, the annual tax is recalculated with the progressive Article 17 rates, then reduced by the January to November withholdings.
What is PPh 21 TER?
TER (average effective rate) is set out in Government Regulation 58 of 2023 (PP 58/2023) and Finance Ministry Regulation 168 of 2023 (PMK 168/2023). Its purpose is to simplify monthly withholding: a company no longer has to calculate the annual net income every month, it only looks up the matching rate in a table.
| Category | PTKP status |
|---|---|
| TER A | TK/0, TK/1, K/0 |
| TER B | TK/2, TK/3, K/1, K/2 |
| TER C | K/3 |
How payroll software calculates it
Payroll software stores each employee's PTKP status, then runs the following three steps automatically in every pay period.
- 1
Add up gross income
Add up the gross income for the month: base salary, allowances, overtime, bonuses, and the JKK (work accident), JKM (death), and BPJS Kesehatan (health insurance) contributions paid by the company (PMK 168/2023).
- 2
Determine the TER category and rate
Determine the TER category from the PTKP status, then look up the rate for the income range.
- 3
Calculate and print on the payslip
Multiply gross income by the rate, then print the result on the payslip.
December, or the month an employee stops working, still uses the Article 17 rates to calculate the annual tax. Make sure your payroll software handles this recalculation.
Why December is different
From January to November, monthly withholding uses the average effective rate. In December, the annual tax is recalculated with the progressive Article 17 rates, then reduced by the January to November withholdings already paid. The same recalculation is done in the month an employee stops working, not only in December. That is why the withholding in that month can differ from earlier months, and why a company needs to make sure this recalculation is not missed.
What to check in payroll software
Before choosing or replacing payroll software, make sure the following are available, so that PPh 21 withholding no longer depends on tables and manual calculation.
- PTKP status is stored for every employee and can be updated when it changes.
- The TER category is chosen automatically from the PTKP status, with no manual table lookup.
- The rate table can be updated when the rules change, without changing employee data.
- December is recalculated with the Article 17 rates and reduced by the January to November withholdings.
- The withholding result appears on the payslip, and every data change is recorded in a log.
Data the HR team needs to prepare
Automatic calculation is only as good as the data that goes in. Before payroll software is used for the first period, the HR team should prepare the following data and check it together.
- The full list of employees with their PTKP status.
- Each employee's salary components: base salary, fixed allowances, and any other applicable components.
- The overtime and incentive rules the company uses, including targets.
- Year-to-date PPh 21 withholdings if the software is adopted mid-year.
Employee data from Excel can usually be migrated into the software, then checked together with the HR team before the first payroll run. For unusual special cases, it is best to confirm with your company's tax consultant.
The flow of one pay period
Within a single period the flow is simple. Attendance, overtime, and bonus data are collected first. The software then calculates each employee's gross income, picks the TER category from the PTKP status, looks up the rate, and calculates the withholding. After HR reviews the result, payslips are issued to employees. With this flow, the HR team's manual work shifts from calculating to checking.
When manual tables start to hurt
For a small company with few employees, looking up rates in a table is still manageable. Problems appear when headcount grows and PTKP statuses vary: every month brings dozens of rate lookups, overtime and bonuses change gross income, and a single wrong category immediately changes an employee's withholding. At that point, handing the calculation to payroll software saves the HR team time and reduces the risk of miscalculation.
Common mistakes
Three mistakes show up most often when PPh 21 TER is still calculated by hand. First, an employee's PTKP status in the data does not match their situation at the start of the tax year, so the wrong TER category is chosen. Second, overtime, bonuses, and the BPJS contributions paid by the company are left out of gross income, so the rate used does not match the right income range; the contribution details are in BPJS on the payslip. Third, the December recalculation is missed. All three are easy to prevent when payroll software stores the PTKP status and runs the year-end recalculation automatically. For the latest rules, check the official website of the Directorate General of Taxes.
Frequently asked questions
Does TER change the total tax for the year?
What if an employee's PTKP status changes mid-year?
When did PPh 21 TER start to apply?
RELATED SERVICE
Need Payroll & HRIS for your business?


