Calculate tax on RSUs and stock options
calculate_equity_taxCalculate income tax, social security, employer withholding, and capital gains on equity compensation (RSUs, options) at vesting, exercise, and sale for multiple countries.
Instructions
Tax on equity compensation: income tax, social security and employer withholding when RSUs vest or stock options are exercised, and capital gains tax on a later sale (give sale_price and sale_date), with flags (such as AMT exposure) and the alternative outcomes the law allows (such as qualifying vs disqualifying disposition). Countries and instruments: us (rsu, nso, iso), uk (rsu, emi, csop, unapproved_option), au (ess_upfront, ess_deferred, rsu), ca (stock_option), in (esop, rsu). Required: country, instrument, units, grant_date, event_date, fmv_event, gross_salary; options also need exercise_price. region is REQUIRED for: ca; optional for: us, uk. Other countries return the list of supported ones. Returns the tax year, official source URLs and the calcbloc.com page. 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>",
"instrument": "<instrument>",
"units": "<units>",
"grant_date": "<grant_date>",
"event_date": "<event_date>",
"fmv_event": "<fmv_event>",
"gross_salary": "<gross_salary>"
},
"name": "calculate_equity_tax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | Number of shares vesting or options exercised. | |
| region | No | Region code or name. Required for: ca; optional for: us, uk. Examples: Canada "on" or "Ontario", US "ca" (state withholding; omit for federal only), UK "scotland". | |
| 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"}, UK {"readily_convertible":false,"emi_exercise_period_years":"10"}, Canada {"employer_type":"ccpc"}, India {"regime":"old","listed":true}. Call list_countries with the country to see every option, its allowed values and its default. | |
| fmv_event | Yes | Market value per share at vest or exercise, in the country's currency (India: FMV under rule 15(6)). | |
| fmv_grant | No | Market value per share at grant (UK EMI discount and CSOP limit, Canada 110(1)(d) and the vesting limit). | |
| sale_date | No | Sale date (YYYY-MM-DD), with sale_price. | |
| event_date | Yes | Vest date (RSUs), exercise date (options), or the acquisition or deferred taxing point (Australia ESS) (YYYY-MM-DD). | |
| grant_date | Yes | Grant date (YYYY-MM-DD). | |
| instrument | Yes | Equity instrument; each country has its own: us (rsu, nso, iso), uk (rsu, emi, csop, unapproved_option), au (ess_upfront, ess_deferred, rsu), ca (stock_option), in (esop, rsu). | |
| sale_price | No | Sale price per share; with sale_date it adds the tax on the sale. | |
| gross_salary | Yes | Regular annual gross salary in the country's currency (for the marginal rates and contribution ceilings). | |
| exercise_price | No | Exercise price per share (required for options; RSUs: any amount paid, default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | Yes | E.g. "AMT exposure", "Scheme conditions assumed met". | |
| lines | Yes | ||
| notes | Yes | ||
| units | Yes | ||
| inputs | Yes | ||
| region | Yes | ||
| country | Yes | ||
| licence | Yes | ||
| sources | Yes | Official sources for the rates used. | |
| taxYear | Yes | ||
| currency | Yes | ||
| warnings | Yes | ||
| scenarios | Yes | ||
| disclaimer | Yes | ||
| instrument | Yes | ||
| attribution | Yes | Always "Data by CalcBloc"; show it with the figures. | |
| calcblocUrl | Yes | The calcbloc.com page for this result. | |
| countryName | Yes | ||
| taxTablesUrl | Yes | ||
| attributionUrl | Yes | ||
| instrumentName | Yes | ||
| taxableAtEvent | Yes | Taxable amount at vest / exercise, as the country defines it. | |
| totalTaxAtSale | Yes | Null when no sale was given or it cannot be computed. | |
| totalTaxAtEvent | Yes |