Compare take-home pay in two countries
compare_countriesCompare net take-home pay, income tax, and social contributions for the same gross salary in two countries, converted at the ECB reference rate, with a plain-English summary and cited tax years and sources.
Instructions
The same gross salary in two countries: take-home pay, income tax and contributions on each side, converted at the European Central Bank reference rate, with a plain-English summary. Countries: sg, fr, nl, es, de, us, uk, au, nz, ca, ie, in. Use region_a / region_b for a US state, UK nation, Canadian province or Indian state (defaults apply otherwise and are stated in the answer). Returns each side's tax year and official sources. Not yet supported: equity compensation (RSUs, stock options), bonus and supplemental withholding, and 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_a": "<country_a>",
"country_b": "<country_b>",
"gross_salary": "<gross_salary>"
},
"name": "compare_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Currency of gross_salary: country A's or country B's (ISO code). Default: country A's. | |
| region_a | No | Region in country A: a US state ("ca"), UK nation ("scotland"), Canadian province ("on") or Indian state ("mh"). Defaults: New York, England, Ontario, Maharashtra. | |
| region_b | No | Region in country B: a US state ("ca"), UK nation ("scotland"), Canadian province ("on") or Indian state ("mh"). Defaults: New York, England, Ontario, Maharashtra. | |
| country_a | 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. | |
| country_b | 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. | |
| gross_salary | Yes | Annual gross salary, in `currency`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| salary | Yes | ||
| licence | Yes | ||
| sources | Yes | Official sources for the rates used. | |
| taxYear | Yes | Tax year of each side, e.g. 2026-27 (United Kingdom) / 2026 (Germany). | |
| currency | Yes | ||
| warnings | Yes | ||
| difference | Yes | ||
| disclaimer | Yes | ||
| attribution | Yes | Always "Data by CalcBloc"; show it with the figures. | |
| calcblocUrl | Yes | The calcbloc.com page for this result. | |
| exchangeRate | Yes | ||
| attributionUrl | Yes | ||
| interpretation | Yes |