· Built around the Capital gains tax calculator
Photo: Binyamin Mellish on Pexels (free licence)
Selling shares or a property at a profit does not trigger a separate flat tax. The gain is trimmed by exclusions, 40% of what is left is added to your income for the year, and you pay your normal rate on that slice. The result is far lower than most people expect.
How the tax is worked out
- Gain = selling price less base cost. Selling costs such as agent commission come off the price, and the purchase price, transfer costs and improvements go into the cost.
- The first R50 000 of net gain each tax year is excluded for individuals. It is per year, so it is not used up by one sale.
- Your primary residence gets R3 000 000 off the gain. It does not apply to a second property, a holiday home or a rented-out house.
- 40% of the remaining gain is added to your taxable income. That slice is taxed at your marginal rate, which tops out at 18% of the gain for an individual.
The capital gains tax calculator does these steps. Try the share example:
Three worked examples (under 65, 2026/27 tables)
- Example 1, shares sold for R400 000 that cost R250 000, on R360 000 income: gain R150 000, less R50 000 = R100 000, 40% = R40 000 added to income. R23 100 of it falls at 26% and R16 900 at 31%, so the tax is R11 245 and you keep R138 755.
- Example 2, a second property sold for R2 100 000 that cost R1 500 000, on R300 000 income: gain R600 000, less R50 000 = R550 000, 40% = R220 000 added. R83 100 is taxed at 26% and R136 900 at 31%, so the tax is R64 045 and you keep R535 955.
- Example 3, your home sold for R4 500 000 that cost R1 200 000, on R500 000 income: gain R3 300 000, less R3 000 000 and R50 000 = R250 000, 40% = R100 000 added. R30 200 is taxed at 31% and R69 800 at 36%, so the tax is R34 490 and you keep R3 265 510.
Try it: how long you hold it changes the gain
Set what you paid, how fast the asset grows and your other income. The chart shows the gain and the tax for each year you could sell, for a share or second property, and for your own home. It ignores selling costs and assumes your income stays the same.
What to keep in mind
- A loss is not wasted. A capital loss can be set off against other gains, so it can lower the bill on a later sale.
- Selling costs and the buying side count. See what it costs to sell a home for commission and other costs, and the transfer duty calculator for a purchase cost you can add to the base cost.
- Improvements add to the base cost, repairs do not. A new kitchen counts, repainting does not; see our buy-to-let post.
- Shares in a TFSA have no CGT. Check the tax-free savings calculator before selling shares held elsewhere. Dividends are a separate tax, covered in dividends versus interest.
- A big sale can push you into a higher bracket for the year. Use the PAYE calculator to see where your income sits, and the provisional tax calculator if you must pay it in.
- Other rules exist. There is a bigger exclusion in the year of death (R440 000) and a R2.7 million small business exclusion for people 55 and older, both set out by SARS.
Not verified from a primary source: the 40% inclusion rate (SARS states the 18% maximum effective rate for individuals, which is what 40% of a 45% top rate gives). Your real bill also depends on base cost records, part-year residence, rented periods and assets bought before 1 October 2001. Check with a registered tax practitioner before selling.
Checked against a published example
- We did not find a SARS worked example for 2026/27. The three examples were calculated by hand on the SARS bands, using the same method as the CGT calculator: tax on (income + taxable gain) less tax on income.
Sources
- Annual exclusion R50 000, primary residence R3 000 000, R440 000 in the year of death, small business exclusion R2.7 million at 55 and older, maximum rate 18% for individuals (changes effective 25 February 2026, page updated 26 February 2026): SARS capital gains tax. Checked 17 November 2026.
- Income tax rates 2026/27 (18% to R245 100, 26% to R383 100, 31% to R530 200, 36% above): SARS rates of tax for individuals.
Calculators used in this post
← All posts · Open the Capital gains tax calculator