Capital gains tax estimate (71 countries)
cgt_estimateEstimate capital gains tax on a sale of shares or property for a resident individual in 71 countries, returning a figure or the exact rule with a cited tax authority source.
Instructions
Estimate capital gains tax on one sale of shares or property by a resident individual, for 71 countries (AE, AR, AT, AU, BE, BG, BR, CA, CH, CL, CN, CO, CY, CZ, DE, DK, EE, EG, ES, FI, FR, GB, GH, GR, GT, HK, HR, HU, ID, IE, IL, IN, IS, IT, JM, JP, KE, KR, LI, LK, LT, LU, LV, MT, MU, MX, MY, NG, NL, NO, NZ, PH, PK, PL, PT, QA, RO, RS, RU, SA, SE, SG, SI, SK, TR, TW, TZ, UA, UG, US, ZA). Where the country's rule can be computed the answer is a figure; where it depends on facts the engine cannot model, the answer is the rule itself (rate, holding period, annual exemption, main residence) with the reason — never a borrowed number. Any other country returns 'not covered'. Pass income (other taxable income for the year) where the gain is taxed at marginal rates, and heldMoreThan12Months or holdingMonths where the holding period matters (the Australian 50% discount, the US long-term rate). capitalLosses apply before any discount. Finland (FI) adds its own detail: the better of the actual cost or the deemed acquisition cost (hankintameno-olettama: 20% of the price, 40% after 10 years), the 1 000 € small-disposals rule and 30%/34% capital income tax — pass yearsHeld, and otherCapitalIncome if there is any; costBase may be omitted there. Each answer cites the capital-gains source and date for that country — not the GST/VAT one. For pay without an asset sale use income_tax_estimate. Non-resident rules are out of scope. Results may include one sourced background fact (relatedFact); the figures do not depend on it.
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": {
"proceeds": "<proceeds>"
},
"name": "cgt_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | What was sold: 'shares' (shares and funds) or 'property' (real estate). Rules differ by asset in many countries | shares |
| income | No | Other taxable income for the year, in local currency — sets the marginal rate where the gain is taxed as income (e.g. AU, US short-term). Required where the rule needs it; the answer says so | |
| country | No | 2-letter ISO code of a covered country (upper case); defaults to AU | AU |
| taxYear | No | FI: calendar tax year like '2026'; omit for the current year | |
| costBase | No | What the asset cost, in local currency, including eligible incidental costs. Required except for FI, where omitting it uses the deemed acquisition cost (pass FI buying and selling costs as saleExpenses) | |
| proceeds | Yes | Sale price of the asset, in local currency | |
| yearsHeld | No | FI: whole years owned — 10 or more raises the deemed acquisition cost from 20% to 40% of the price | |
| saleExpenses | No | FI: brokerage, fees and other costs of buying and selling | |
| capitalLosses | No | Capital losses to offset — applied before any discount; FI: from this year or carried forward (five years) | |
| holdingMonths | No | Whole months the asset was held; overrides heldMoreThan12Months | |
| otherCapitalIncome | No | FI: other capital income this year (dividends, rent, other gains) — decides how much of the gain falls above the 30 000 € threshold | |
| heldMoreThan12Months | No | True when the asset was held at least 12 months (e.g. the AU 50% discount, the US long-term rate). Shorthand for holdingMonths: true = 12, false = 0 | |
| totalProceedsThisYear | No | FI: the year's total sale prices, this sale included, for the 1 000 € small-disposals rule; omit when this is the only sale |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loss | No | FI: the loss on this sale, if any (only ever from the actual cost) | |
| rule | No | The country's rule as written, for relaying — especially when status is rule-only | |
| step | No | Which holding-period step applied, when the rule has steps | |
| notes | No | FI: rules that decided the answer, in plain words | |
| method | No | FI: whether the actual cost or the deemed acquisition cost was deducted | |
| reason | No | Why no figure was computed (rule-only), in plain words | |
| source | Yes | The national tax authority the figures were verified against (e.g. 'ATO — ato.gov.au') | |
| status | Yes | 'computed' = a figure; 'rule-only' = the rule text and the reason no figure is given (cgtPayable and taxableGain are then null) | |
| country | Yes | Country estimated (2-letter ISO code) | |
| taxYear | Yes | Tax year whose rules were used, when the rule is year-based | |
| currency | No | Currency of every monetary field | |
| grossGain | Yes | Proceeds minus cost (FI: minus the larger of actual or deemed cost). Floored at 0, local currency | |
| sourceUrl | No | https link to the authority page the rate was verified against. Present only on rate answers backed by a verified ledger row — absent (never empty) otherwise, so its presence is itself the claim | |
| cgtPayable | Yes | Extra tax caused by the gain, in local currency; null when rule-only | |
| disclaimer | Yes | General-information note that must accompany any figure shown to a person | |
| lossOffset | Yes | Capital losses actually applied | |
| mayBeStale | Yes | True once the verification date is over a year old — re-confirm with the authority | |
| assumptions | No | Assumptions the answer depends on — relay them with the figure | |
| relatedFact | No | One sourced background fact about the country's capital gains tax; the figures do not depend on it. Absent when no sourced fact fits. | |
| taxableGain | Yes | Gain the tax was charged on; null when rule-only | |
| costDeducted | No | FI: the cost deducted from the price | |
| dataVerifiedOn | Yes | ISO date the rate data was last confirmed against the authority | |
| lossDeductible | No | FI: whether that loss can be deducted | |
| discountApplied | Yes | Whether a discount or inclusion rate reduced the taxable gain (e.g. the AU 50% discount). Always false for FI | |
| exemptionApplied | No | Annual exempt amount or allowance used, where there is one | |
| smallDisposalsExempt | No | FI: true when the year's sale prices total 1 000 € or less, making every gain tax-free |