Calculate salary sacrifice savings
calculate_salary_sacrificeCompare pay before and after a salary sacrifice for a pension or an electric company car: income tax, National Insurance and student loan saved, employer National Insurance saved and passed back, benefit-in-kind tax for a car, the drop in take-home pay, and for a pension the cost per pound added and the saving against paying in from net pay.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxYear | No | UK tax year, e.g. "2026-27". Defaults to the current one. | |
| grossSalary | Yes | Gross annual salary before the sacrifice | |
| carP11dValue | No | List (P11D) value of the car; electric car only | |
| sacrificeType | Yes | pension, or ev-car for an electric car scheme | |
| sacrificeAmount | Yes | Amount given up from gross pay each year | |
| studentLoanPlan | No | Student loan plans held: one plan or a list of every plan, e.g. ["plan2", "postgrad"]. plan1 (pre-2012), plan2 (2012 onwards), plan4 (Scotland), plan5 (2023 onwards), postgrad (postgraduate loan, repaid alongside any other plan). Omit or "none" for no loan. | |
| scottishTaxpayer | No | True for a Scottish taxpayer (Scottish bands) | |
| employerNIPassback | No | Share (0 to 1) of the employer NI saving added to the pension; pension only |