Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Money 3 min read

How much tax you owe when an investment pays off

You are taxed on the gain, not the whole sale — and the rate depends on how long you held it.

Sell an investment for more than you paid and the profit is a capital gain. Tax applies only to that gain, and in many countries holding longer earns a lower rate — rewarding patience.

Tax the gain, not the sale

Subtract what you paid (the cost basis) from the sale price to get the gain, then apply the capital-gains rate to that gain alone.

tax=(sale−basis)×rate\text{tax} = (\text{sale} - \text{basis}) \times \text{rate}

Tax on the profit only

Buy at $10k, sell at $15k

Assume a 15% long-term rate.

Tax on the profit

  1. 1

    The gain

    15000−10000=500015000 - 10000 = 5000
  2. 2

    Apply 15%

    5000×0.15=7505000 \times 0.15 = 750
Answer

You owe $750 — tax on the $5,000 gain, not on the full $15,000.

The formula behind it

Capital Gains Tax

(sale−basis)×rate(\text{sale} - \text{basis}) \times \text{rate}

The takeaway

Capital-gains tax hits only your profit, and holding longer often cuts the rate. Factor it in before you sell.

Back to all stories