Skip to content
Tax calculator

Capital gains tax calculator

A capital gain is what you sell an asset for, less its base cost. After the exclusions, 40% of it is added to your taxable income.

How the capital gains tax calculator works

A capital gain is what you sell an asset for, less its base cost. After any primary residence exclusion and the annual exclusion, 40% of the net gain is added to your taxable income, so an individual pays at most 18% of the gain.

In 2026/27 the first R3 million of a gain or loss on your home is excluded (R2 million before), and a home sold for no more than that is disregarded altogether; both apply to the whole home, shared between its owners. For a home lived in for only part of the time, or partly used for a business, SARS splits the gain and the exclusion applies in full to the home’s part. The annual exclusion is R50 000 (R40 000 before).

Every answer shows its working, step by step, and links to the SARS pages and documents it comes from. It is an estimate from the figures you enter, on SARS’s published rules for the year, not tax advice.

All calculators
Want it done for you?

Your tax, handled

We prepare and file returns for individuals and businesses, work out what is due, and deal with SARS for you.