Learn how to calculate capital gains tax on the sale of your flat. Understand cost basis, selling price, exemptions, and tax rates for informed decisions.