Privately

Capital gains tax calculator: what you keep when you sell

Put in the price, what the home cost you and how long you lived in it or let it, and see the capital gains tax, the selling costs and the agent’s commission, and what is left, through an agent or privately.

Worked out in your browser with the same tax engine as our free game, Counter That. Nothing you enter is stored or sent. 2026/27 figures as SARS applies them; the Rates Bill that enacts them was before Parliament in October 2026. Figures last checked 9 October 2026.

Skip to the results
When did you buy the home?
R

R200 000 to R100 000 000.

R

What you paid, plus transfer duty and transfer costs, plus improvements.

R

Nil if there is no bond.

years

Your own home.

years

To tenants.

We use the middle of the band as your income: R460 000 a year.

Who owns the home
How you sell

VAT is added.

What you keep

Selling through an agent at 6.25% plus VAT, after selling costs, your bond and capital gains tax

R2 184 206

Selling price
R2 400 000
Agent's commission at 6.25%, with VAT
-R172 500
Electrical certificate and rates clearance
-R1 750
Capital gains tax
-R41 544
You keep
R2 184 206

How the capital gains tax is worked out

Selling price
R2 400 000
Less the selling costs that count against the gain
-R174 250
Less your base cost
-R1 500 000
Capital gain
R725 750
Less the primary residence part: you lived in it 50% of the years, capped at R3 000 000
-R362 875
Less the yearly exclusion of R50 000
-R50 000
Gain that counts
R312 875
40% of it is added to your taxable income
R125 150
Extra income tax that causes, on your income for the year
R41 544

That is 5.72% of the gain. The most it can be is 18%.

The same sale privately, without an agent

Privately listing
R995
All selling costs
R2 745
Capital gains tax
R53 892
You would keep
R2 343 363

R159 157 more than through an agent at 6.25% plus VAT. Same selling price assumed. Less is set against the gain when selling costs are lower, so some of the difference goes to capital gains tax.

These are the results for the numbers above, not a recommendation. A registered tax practitioner or financial adviser can advise on your own situation.

A worked example

A home sold for R2 400 000 that cost R1 500 000 including transfer costs, lived in for 5 years and let for 5, owned by one person in the 31% tax band. Through an agent at 6.25% plus VAT the selling costs are R174 250, the gain is R725 750, the primary residence part takes off R362 875, the yearly exclusion R50 000, and the capital gains tax is R41 544. The seller keeps R2 184 206. Selling privately instead, the selling costs are R2 745, the tax is R53 892 and the seller keeps R2 343 363.

Assumptions, stated

Questions people ask

How is capital gains tax worked out when I sell my house in South Africa?

The gain is the selling price, less the costs of selling that the law lets you set against it, less your base cost (what you paid plus transfer duty, transfer costs and improvements). If it was your home, the primary residence exclusion of R3 000 000 takes off the part of the gain for the years you lived in it. A yearly exclusion of R50 000 comes off next, and 40% of what remains is added to your taxable income, so the tax is at most 18% of the gain.

How does letting the house for some years change the capital gains tax?

The primary residence exclusion applies to the share of your years in the home that you lived there. If you lived in it for 6 of 10 years and let it for 4, the exclusion covers six tenths of the gain (up to R3 000 000) and the other four tenths is taxed. Only the years since 1 October 2001 are counted. This calculator does not apply the five-year letting rule, so a registered tax practitioner can check whether it helps you.

I bought my home before 1 October 2001. What do I enter?

Choose "Before 1 October 2001" in the calculator. Count the years you lived in the home and the years it was let only from that date, because the years before it are ignored when the primary residence exclusion is shared. Your base cost is not what you paid: for a home bought before that date it is the value on 1 October 2001, plus improvements since. Paragraph 26 lets you fix that value as the market value on that date (which needs a valuation made by 30 September 2004, paragraph 29(4)), as 20% of the proceeds after first deducting what you spent on the home after 1 October 2001, or by time-apportionment. Enter that figure. A registered tax practitioner or financial adviser can advise on your own situation.

Does the estate agent's commission reduce capital gains tax?

Yes. The commission and its VAT, the compliance certificates and the rates clearance are costs of selling that reduce the gain. The bond cancellation attorney and any early-termination charge to your bank do not. Selling privately leaves less to set against the gain, so some of the commission saved goes to capital gains tax (at most 18% of it) and the rest stays with you.

How much does it cost to sell a house with an agent compared with selling privately?

An agent's commission is typically 5 to 7.5% plus VAT of the price. Selling privately through Privately costs up to R199 once and R199 a month while the listing is live, and less for members with a free place (see the pricing page). The calculator shows both side by side for your price, with the electrical certificate and rates clearance and the bond cancellation if you have a bond.

Do I pay capital gains tax if I sell at a loss?

No. A capital loss is not taxed. If it was your home, the part of the loss for the years you lived in it is disregarded; the part for the years it was let, after the R50 000 yearly exclusion takes off first, can be carried forward as an assessed capital loss against later gains. Money you spent on improvements counts towards the base cost.

Does this calculator store or send my numbers?

No. It runs in your browser with the same engine as the Counter That game, and nothing you enter is stored or sent anywhere.

This is general information, not advice. A registered tax practitioner or financial adviser can advise on your own situation.

Go deeper

Sources

Put this calculator on your site

Free to embed on a blog, a property site or a classroom page. The code is a frame and a plain link to this page under it; the frame carries a “Powered by Privately” link too, so please keep both. It stores nothing and sends nothing about your visitors. Make the frame as tall as you like; the calculator scrolls inside it.