Calculate capital gains tax
calculate_capital_gains_taxEstimates UK capital gains tax on selling a rental property, shares or another asset: gain after allowable costs, private residence relief where it applied, the annual exempt amount, tax at basic and higher rates based on the seller's income, and how much a joint sale with a spouse or civil partner would save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdltPaid | No | Stamp duty paid on purchase in GBP. | |
| assetType | No | What is being sold. | residential_property |
| salePrice | Yes | Sale price in GBP. | |
| annualIncome | No | The seller's gross annual income in GBP, which sets the CGT rate. | |
| sellingCosts | No | Agent and legal selling costs in GBP. | |
| ownershipType | No | Owned by one person or jointly with a spouse or civil partner. | single |
| purchaseCosts | No | Legal, survey and other buying costs in GBP. | |
| purchasePrice | Yes | Original purchase price in GBP. | |
| isMainResidence | No | Whether the property was ever the seller's main home. | |
| improvementCosts | No | Capital improvements in GBP (not repairs). | |
| totalMonthsOwned | No | Total months owned, for partial private residence relief. | |
| otherGainsThisYear | No | Other capital gains already made this tax year in GBP. | |
| monthsAsMainResidence | No | Months lived in as main home, for partial private residence relief. |