Calculate employer cost
calculate_employer_costCompute the total cost of employing someone from a gross salary, including employer social security, payroll taxes, pension and other on-costs, with a tax-year breakdown and official source citations.
Instructions
Total cost of employing someone on a gross salary: the salary plus employer social security, payroll taxes, pension and other on-costs, with a breakdown, for the current tax year. Countries: sg, nl, es, de, us, uk, au, nz, ca, ie, in. region is REQUIRED for: us, au, ca; optional for: es, de, in; a missing or unknown region returns the valid codes. Returns the tax year, official source URLs and the calcbloc.com page. Bonus and other supplemental pay (withholding vs final tax): calculate_supplemental_withholding (sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in). Equity compensation (RSUs, stock options): calculate_equity_tax (us, uk, au, ca, in). Not yet supported: cross-border (multi-country) withholding.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>",
"gross_salary": "<gross_salary>"
},
"name": "calculate_employer_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Tax year, e.g. "2026" or "2026-27". Default: the current year. Calculations use the current year only. | |
| region | No | Region code or name. Required for: us, au, ca. Examples: US "ca", Australia "nsw", Canada "on". list_countries with the country lists every code. | |
| country | Yes | Country short code (ISO 3166-1 alpha-2 in lower case; the UK is "uk", "gb" also works), e.g. "us", "uk", "ca", "de", "in", "au", "nz", or the English name. Older keys such as "new-zealand" also work. See list_countries. | |
| options | No | Country-specific options. Examples: US {"filing_status":"mfj","children":2} (filing_status: single | mfj | hoh; "married" and "head_of_household" are accepted too), UK {"pension_pct":5,"student_loan":"plan2"} (student_loan: none | plan1 | plan2 | plan4 | plan5), Germany {"tax_class":3,"church":true}. Call list_countries with the country to see every option, its allowed values and its default. | |
| gross_salary | Yes | Gross salary before tax in the country's currency. Annual for every country except Singapore (monthly); India: annual CTC/gross as described by list_countries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| inputs | Yes | ||
| region | Yes | ||
| country | Yes | ||
| licence | Yes | ||
| results | Yes | ||
| sources | Yes | Official sources for the rates used. | |
| taxYear | Yes | ||
| currency | Yes | ||
| warnings | Yes | ||
| breakdown | Yes | ||
| totalCost | Yes | ||
| disclaimer | Yes | ||
| multiplier | Yes | ||
| attribution | Yes | Always "Data by CalcBloc"; show it with the figures. | |
| calcblocUrl | Yes | The calcbloc.com page for this result. | |
| countryName | Yes | ||
| grossSalary | Yes | ||
| monthlyCost | Yes | ||
| taxTablesUrl | Yes | ||
| salaryMeaning | Yes | ||
| attributionUrl | Yes |