Inside the exemption zone
- Input
- R$ 4.800,00 bruto + 1 dependente
- Expected output
- INSS R$ 473,51, IRRF R$ 0,00, líquido R$ 4.326,49
Even with an INSS deduction of nearly R$ 474, IRRF zeroes out because gross pay stays below the R$ 5,000.00 full-exemption threshold.
Above the INSS ceiling, with PGBL
- Input
- R$ 9.500,00 bruto + R$ 1.000,00 de previdência privada
- Expected output
- INSS R$ 988,09, IRRF R$ 1.157,05, líquido R$ 7.354,86
INSS already hit the R$ 8,475.55 ceiling before the calculation, so the R$ 988.09 deduction stops growing even as gross pay rises; the R$ 1,000.00 PGBL is fully deductible because it does not exceed 12% of R$ 9,500.00.
One real above the exemption
- Input
- R$ 5.000,00 bruto vs. R$ 5.001,00 bruto, sem dependentes
- Expected output
- Líquido de R$ 4.498,49 cai para R$ 4.475,25
Moving gross pay from R$ 5,000.00 to R$ 5,001.00 makes IRRF jump from R$ 0.00 to R$ 24.10, so R$ 1.00 more in salary actually lowers net pay by R$ 23.24 once the transition bracket kicks in.